jun-zhang / libfetion-gui

Automatically exported from code.google.com/p/libfetion-gui
0 stars 0 forks source link

[v1.1]linux: 普通用户登录失败,root用户没问题 #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
BUG REPRODUCE STEPS:
run linux-fetion  with 普通用户

EXPECTED OUTCOME:
No Segmentation fault

ACTUAL OUTCOME:
[duoer@qt4_src]$ ./linux-fetion
00:05:00.877  DEBUG [FxMain] FxMain::FxMain()
00:05:00.878  DEBUG [fxgui::FxWidget] fxgui::FxWidget::FxWidget(QWidget*, 
Qt::WindowFlags)
00:05:00.878  DEBUG [fxgui::FxWidgetTitleBar] 
fxgui::FxWidgetTitleBar::FxWidgetTitleBar(fxgui::FxWidget*)
QMetaObject::connectSlotsByName: No matching signal for 
on_btnMaximize_clicked(bool)
00:05:00.887  DEBUG [fxgui::FxWidget] void 
fxgui::FxWidget::updateWindowPositionType()
00:05:00.888  DEBUG [FxLoginWindow] FxLoginWindow::FxLoginWindow(QWidget*)
00:05:00.905  DEBUG [FxProxy] FxProxy::FxProxy(QWidget*)
00:05:00.911  DEBUG [FxProxy] void FxProxy::setDisableEdit(bool)
00:05:00.911  DEBUG [FxLoginWindow] void 
FxLoginWindow::set_login_button_state(bool)
00:05:00.914  DEBUG [fxgui::FxWidget] void 
fxgui::FxWidget::setWindowIcon(const QIcon&)
00:05:00.914  DEBUG [fxgui::FxWidgetTitleBar] void 
fxgui::FxWidgetTitleBar::setWindowIcon(const QIcon&)
Segmentation fault

***************************************************************************
*********

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208874416 (LWP 9475)]
0x080b5e89 in QAbstractItemView::verticalScrollbarAction ()
(gdb) 
(gdb) 
(gdb) bt
#0  0x080b5e89 in QAbstractItemView::verticalScrollbarAction ()
#1  0x0805be55 in QAbstractItemView::verticalScrollbarAction ()
#2  0x0805bfb4 in QAbstractItemView::verticalScrollbarAction ()
#3  0x08059fc5 in QAbstractItemView::verticalScrollbarAction ()
#4  0x0805996c in QAbstractItemView::verticalScrollbarAction ()
#5  0x005f8390 in __libc_start_main () from /lib/libc.so.6
#6  0x080595e1 in QAbstractItemView::verticalScrollbarAction ()
(gdb) (gdb) qquit

LIBFETION VERSION: 1.0
OS: Linux

OTHERS:

应该是文件读取权限问题,
但不应该导致程序崩溃...

Original issue reported on code.google.com by libfet...@gmail.com on 20 Sep 2009 at 4:16

GoogleCodeExporter commented 9 years ago
难说,有可能是引用了跟文件有关的操作,然后访问了非法��
�针挂掉。例如
File *file = fopen(/*not exited file*/)
file->ops

Original comment by alsor.zhou on 20 Sep 2009 at 4:22

GoogleCodeExporter commented 9 years ago
今天开电脑后,发现这个问题居然重启之后就好了,奇怪了!
 昨天打印的信息能看出来什么头绪么?

Original comment by duoer1...@163.com on 21 Sep 2009 at 2:24

GoogleCodeExporter commented 9 years ago
do nothing for this.

I try to reproduce this case such as read NULL icon from system.
But the app didn't crash...
So I think we can set invalid flag for this issue.

Original comment by libfet...@gmail.com on 23 Sep 2009 at 12:41

GoogleCodeExporter commented 9 years ago
确实这个问题还是存在的。

主 题:  linux fetion 64位系统程序崩溃  [举报垃圾邮件]           

时 间:  2009年10月7日(星期三) 下午12:00
发件人:  drswinghead <drswinghead@163.com>
添加到通讯录拒收
收件人:  dedodong <dedodong@163.com>

没找到提bug的地方,直接发邮件了,希望能收到。

环境: 
gentoo
kde 4.3
qt 4.5.3 
gcc 4.4.1
linux-fetion 1.1

应该和kde没有关系吧,gdb 
的时候显示一些和kde库相关的东西, 有什么冲突吗。
你看看,谢谢。

gdb /usr/bin/linux-fetion 
GNU gdb 6.8 
Copyright (C) 2008 Free Software Foundation, Inc. 
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 
This is free software: you are free to change and redistribute it. 
There is NO WARRANTY, to the extent permitted by law. Type "show copying" 
and "show warranty" for details. 
This GDB was configured as "x86_64-pc-linux-gnu"... 
(no debugging symbols found) 
(gdb) r 
Starting program: /usr/bin/linux-fetion 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
[Thread debugging using libthread_db enabled] 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
[New Thread 0x7f173b75f770 (LWP 7046)] 
[New Thread 0x7f1733d2f910 (LWP 7049)] 
[New Thread 0x7f173352e910 (LWP 7050)] 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
---Type <return> to continue, or q <return> to quit--- 
(no debugging symbols found) 
[New Thread 0x7f17324f6910 (LWP 7051)] 
[Thread 0x7f17324f6910 (LWP 7051) exited] 
[New Thread 0x7f1731cf5910 (LWP 7052)] 
[Thread 0x7f1731cf5910 (LWP 7052) exited] 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 
(no debugging symbols found) 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f173b75f770 (LWP 7046)] 
0x00007f1737c9b854 in ?? () from /usr/lib/qt4/libQtCore.so.4
(gdb) bt 
#0 0x00007f1737c9b854 in ?? () from /usr/lib/qt4/libQtCore.so.4
#1 0x00007f1739e3f2d7 in ?? () from /usr/lib/qt4/libQtGui.so.4
#2 0x00007f1737c9937c in QVariant::convert () from /usr/lib/qt4/libQtCore.so.4
#3 0x00007f173a026c19 in QCss::Parser::parseTerm () from 
/usr/lib/qt4/libQtGui.so.4
#4 0x00007f173a026f70 in QCss::Parser::parseExpr () from 
/usr/lib/qt4/libQtGui.so.4
#5 0x00007f173a028967 in QCss::Parser::parseNextDeclaration () from 
/usr/lib/qt4/libQtGui.so.4
#6 0x00007f173a02fae8 in QCss::Parser::parseRuleset () from 
/usr/lib/qt4/libQtGui.so.4
#7 0x00007f173a030c59 in QCss::Parser::parse () from /usr/lib/qt4/libQtGui.so.4
#8 0x00007f173a07013c in ?? () from /usr/lib/qt4/libQtGui.so.4
#9 0x00007f173a076b10 in ?? () from /usr/lib/qt4/libQtGui.so.4
#10 0x00007f173a0777dc in ?? () from /usr/lib/qt4/libQtGui.so.4
#11 0x00007f173a077d9a in ?? () from /usr/lib/qt4/libQtGui.so.4
#12 0x00007f173a06df13 in ?? () from /usr/lib/qt4/libQtGui.so.4
#13 0x00007f173a06e180 in ?? () from /usr/lib/qt4/libQtGui.so.4
#14 0x00007f172f9fe45d in KGlobalSettings::Private::applySingleClick () from 
/usr/lib64/libkdeui.so.5
#15 0x00007f172fa01c36 in KGlobalSettings::KGlobalSettings () from 
/usr/lib64/libkdeui.so.5
#16 0x00007f172fa01e26 in KGlobalSettings::self () from /usr/lib64/libkdeui.so.5
#17 0x00007f172f9a2ab2 in KIconLoader::KIconLoader () from 
/usr/lib64/libkdeui.so.5
#18 0x00007f172f9a2c3f in KIconLoader::global () from /usr/lib64/libkdeui.so.5
#19 0x00007f172f9e3ee3 in KStyle::pixelMetric () from /usr/lib64/libkdeui.so.5
#20 0x00007f173a07f3ff in ?? () from /usr/lib/qt4/libQtGui.so.4
#21 0x00007f173a0f9070 in QAbstractButton::iconSize () from 
/usr/lib/qt4/libQtGui.so.4
#22 0x00007f173a174ed8 in QPushButton::initStyleOption () from 
/usr/lib/qt4/libQtGui.so.4
#23 0x00007f173a1752c2 in ?? () from /usr/lib/qt4/libQtGui.so.4
#24 0x00007f173a175c25 in QPushButton::event () from /usr/lib/qt4/libQtGui.so.4
#25 0x00007f1739e0ec85 in QApplicationPrivate::notify_helper () from 
/usr/lib/qt4/libQtGui.so.4
#26 0x00007f1739e14c54 in QApplication::notify () from 
/usr/lib/qt4/libQtGui.so.4
#27 0x00007f1737c8084c in QCoreApplication::notifyInternal () from 
/usr/lib/qt4/libQtCore.so.4
#28 0x00007f173a06df3f in ?? () from /usr/lib/qt4/libQtGui.so.4
#29 0x00007f173a06e180 in ?? () from /usr/lib/qt4/libQtGui.so.4
#30 0x00007f172f9fe45d in KGlobalSettings::Private::applySingleClick () from 
/usr/lib64/libkdeui.so.5
#31 0x00007f172fa01c36 in KGlobalSettings::KGlobalSettings () from 
/usr/lib64/libkdeui.so.5
#32 0x00007f172fa01e26 in KGlobalSettings::self () from /usr/lib64/libkdeui.so.5
#33 0x00007f172f9a2ab2 in KIconLoader::KIconLoader () from 
/usr/lib64/libkdeui.so.5
#34 0x00007f172f9a2c3f in KIconLoader::global () from /usr/lib64/libkdeui.so.5
#35 0x00007f172f9e3ee3 in KStyle::pixelMetric () from /usr/lib64/libkdeui.so.5
#36 0x00007f173a07f3ff in ?? () from /usr/lib/qt4/libQtGui.so.4
#37 0x00007f173a0f9070 in QAbstractButton::iconSize () from 
/usr/lib/qt4/libQtGui.so.4
#38 0x00007f173a174ed8 in QPushButton::initStyleOption () from 
/usr/lib/qt4/libQtGui.so.4
#39 0x00007f173a1752c2 in ?? () from /usr/lib/qt4/libQtGui.so.4
#40 0x00007f173a175c25 in QPushButton::event () from /usr/lib/qt4/libQtGui.so.4
#41 0x00007f1739e0ec85 in QApplicationPrivate::notify_helper () from 
/usr/lib/qt4/libQtGui.so.4
#42 0x00007f1739e14c54 in QApplication::notify () from 
/usr/lib/qt4/libQtGui.so.4
#43 0x00007f1737c8084c in QCoreApplication::notifyInternal () from 
/usr/lib/qt4/libQtCore.so.4
#44 0x00007f173a06df3f in ?? () from /usr/lib/qt4/libQtGui.so.4
#45 0x00007f173a06e180 in ?? () from /usr/lib/qt4/libQtGui.so.4
#46 0x00007f172f9fe45d in KGlobalSettings::Private::applySingleClick () from 
/usr/lib64/libkdeui.so.5
#47 0x00007f172fa01c36 in KGlobalSettings::KGlobalSettings () from 
/usr/lib64/libkdeui.so.5
#48 0x00007f172fa01e26 in KGlobalSettings::self () from /usr/lib64/libkdeui.so.5
#49 0x00007f172f9a2ab2 in KIconLoader::KIconLoader () from 
/usr/lib64/libkdeui.so.5
#50 0x00007f172f9a2c3f in KIconLoader::global () from /usr/lib64/libkdeui.so.5
#51 0x00007f172f9e3ee3 in KStyle::pixelMetric () from /usr/lib64/libkdeui.so.5
#52 0x00007f173a07f3ff in ?? () from /usr/lib/qt4/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---

Original comment by libfet...@gmail.com on 8 Oct 2009 at 5:37

GoogleCodeExporter commented 9 years ago

Original comment by libfet...@gmail.com on 17 Oct 2009 at 8:11

GoogleCodeExporter commented 9 years ago
无法重现,暂时close之。

Original comment by libfet...@gmail.com on 18 Nov 2009 at 2:21