[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#432696: qt4-qtconfig: qtconfig-qt4 segfault



Le 16.07.2007 23:07:19, Fathi Boudra a écrit :
>hi jean-luc,
>
>we (at least Qt/KDE devs team ;)) tried on several machines x86/amd64,
>and 
>were not able to reproduce the crash.
>
>Could you try to remove ~/.config/Trolltech.conf and see if it is 
>reproducible ?
>
>We need some backtrace, you need to install libqt4-debug and gdb.
>
>1)
>run qtconfig-qt4  in gdb:
>type "gdb --args qtconfig-qt4 --nofork", then "run"
>do the necessary steps to reproduce the bug
>press ctrl+c
>type "thread apply all bt" and attach the output here.
>

Please find the backtrace attached

>2)
>run qtconfig-qt4 in gdb again:
>gdb --args qtconfig-qt4 --nofork", then "run"
>do the necessary steps to reproduce the
>issue (gdb will report SIGSEGV etc).
>Type "disassemble" and press
>enter until "End of assembler dump." appears.
>Then attach the whole output of the gdb session here ...

It doesnt work this way, I just got:

[jean-luc@tangerine] % gdb --args qtconfig-qt4 --nofork                 
~
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and 
you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for 
details.
This GDB was configured as "x86_64-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/qtconfig-qt4 --nofork
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 46937287158912 (LWP 7505)]
Qt: gdb: -nograb added to command-line options.
         Use the -dograb option to enforce grabbing.
[New Thread 1082132816 (LWP 7524)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46937287158912 (LWP 7505)]
0x00002ab06cdc9475 in ?? () from /usr/lib/libX11.so.6
(gdb) disassemble
No function contains program counter for selected frame.
(gdb) 

Regards

Jean-Luc

(gdb) run
Starting program: /usr/bin/qtconfig-qt4 --nofork
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47765456460928 (LWP 4527)]
Qt: gdb: -nograb added to command-line options.
         Use the -dograb option to enforce grabbing.
[New Thread 1082132816 (LWP 5401)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47765456460928 (LWP 4527)]
0x00002b713f994475 in ?? () from /usr/lib/libX11.so.6
(gdb) thread apply all bt

Thread 2 (Thread 1082132816 (LWP 5401)):
#0  0x00002b714156a7b2 in select () from /lib/libc.so.6
#1  0x00002b713fc09d25 in QProcessManager::run (this=0x63fb90)
    at io/qprocess_unix.cpp:273
#2  0x00002b713fb748a8 in QThreadPrivate::start (arg=0x63fb90)
    at thread/qthread_unix.cpp:166
#3  0x00002b71408ec225 in start_thread () from /lib/libpthread.so.0
#4  0x00002b714157133d in clone () from /lib/libc.so.6

Thread 1 (Thread 47765456460928 (LWP 4527)):
#0  0x00002b713f994475 in ?? () from /usr/lib/libX11.so.6
#1  0x00002b713f994713 in ?? () from /usr/lib/libX11.so.6
#2  0x00002b713f994f1f in ?? () from /usr/lib/libX11.so.6
#3  0x00002b713f94be58 in XCreateOC () from /usr/lib/libX11.so.6
#4  0x00002b713f93fdda in XCreateFontSet () from /usr/lib/libX11.so.6
#5  0x00002b713e05fb62 in getFontSet (f=@0x7fff6e9c1910)
    at inputmethod/qximinputcontext_x11.cpp:306
#6  0x00002b713e05fe41 in QXIMInputContext::update (this=0x6967e0)
    at inputmethod/qximinputcontext_x11.cpp:736
#7  0x00002b713e0603a0 in QXIMInputContext::setFocusWidget (this=0x6967e0, 
    w=0x6692e0) at inputmethod/qximinputcontext_x11.cpp:579
#8  0x00002b713db61500 in QApplicationPrivate::setFocusWidget (focus=0x6692e0,
    reason=Qt::TabFocusReason) at kernel/qapplication.cpp:1886
#9  0x00002b713dba54d9 in QWidget::setFocus (this=0x6692e0, 
    reason=Qt::TabFocusReason) at kernel/qwidget.cpp:4428
#10 0x00002b713dba55bc in QWidget::focusNextPrevChild (this=0x7fff6e9c3b00, 
    next=true) at kernel/qwidget.cpp:4536
#11 0x00002b713dba5571 in QWidget::focusNextPrevChild (this=0x66a470, 
    next=true) at kernel/qwidget.cpp:4531
#12 0x00002b713dba5571 in QWidget::focusNextPrevChild (this=0x681870, 
    next=true) at kernel/qwidget.cpp:4531
#13 0x00002b713dba5571 in QWidget::focusNextPrevChild (this=0x66ae50, 
    next=true) at kernel/qwidget.cpp:4531
#14 0x00002b713dba5571 in QWidget::focusNextPrevChild (this=0x71bef0, 
    next=true) at kernel/qwidget.cpp:4531
#15 0x00002b713dba8055 in QWidgetPrivate::hide_helper (this=0x72f350)
    at kernel/qwidget.cpp:5407
#16 0x00002b713dbaf8e6 in QWidget::setVisible (this=0x71bef0, visible=false)
    at kernel/qwidget.cpp:5550
#17 0x00002b713db96505 in QWidget::hide (this=0x71bef0)
    at ../../include/QtGui/../../src/gui/kernel/qwidget.h:449
#18 0x00002b713db95bf2 in QStackedLayout::setCurrentIndex (this=0x728450, 
    index=2) at kernel/qstackedlayout.cpp:283
#19 0x00002b713df2c393 in QStackedWidget::setCurrentIndex (this=0x66ae50, 
    index=2) at widgets/qstackedwidget.cpp:195
#20 0x00002b713df343e4 in QTabWidgetPrivate::_q_showTab (this=0x6ea730, 
    index=2) at widgets/qtabwidget.cpp:657
#21 0x00002b713df35721 in QTabWidget::qt_metacall (this=0x681870, 
    _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0x7fff6e9c2430)
    at .moc/debug-shared/moc_qtabwidget.cpp:114
#22 0x00002b713fc3370f in QMetaObject::activate (sender=0x6ee270, 
    from_signal_index=27, to_signal_index=27, argv=0x7fff6e9c2430)
    at kernel/qobject.cpp:3072
#23 0x00002b713fc33b13 in QMetaObject::activate (sender=0x6ee270, 
    m=0x2b713e46ccc0, local_signal_index=0, argv=0x7fff6e9c2430)
    at kernel/qobject.cpp:3134
#24 0x00002b713df2e8d0 in QTabBar::currentChanged (this=0x6ee270, _t1=2)
    at .moc/debug-shared/moc_qtabbar.cpp:154
#25 0x00002b713df2f780 in QTabBar::setCurrentIndex (this=0x6ee270, index=2)
    at widgets/qtabbar.cpp:925
#26 0x00002b713df310f9 in QTabBar::mousePressEvent (this=0x6ee270, 
    e=0x7fff6e9c2e40) at widgets/qtabbar.cpp:1282
#27 0x00002b713dbaaa78 in QWidget::event (this=0x6ee270, event=0x7fff6e9c2e40)
    at kernel/qwidget.cpp:6028
#28 0x00002b713df315f8 in QTabBar::event (this=0x6ee270, e=0x7fff6e9c2e40)
    at widgets/qtabbar.cpp:1170
#29 0x00002b713db5e755 in QApplicationPrivate::notify_helper (this=0x6322e0, 
    receiver=0x6ee270, e=0x7fff6e9c2e40) at kernel/qapplication.cpp:3538
#30 0x00002b713db5f398 in QApplication::notify (this=0x7fff6e9c3ef0, 
    receiver=0x6ee270, e=0x7fff6e9c2e40) at kernel/qapplication.cpp:3237
#31 0x00002b713fc22a06 in QCoreApplication::notifyInternal (
    this=0x7fff6e9c3ef0, receiver=0x6ee270, event=0x7fff6e9c2e40)
    at kernel/qcoreapplication.cpp:509
#32 0x00002b713db69949 in QCoreApplication::sendSpontaneousEvent (
    receiver=0x6ee270, event=0x7fff6e9c2e40)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:189
#33 0x00002b713dbc35e9 in QETWidget::translateMouseEvent (this=0x6ee270, 
    event=0x7fff6e9c3750) at kernel/qapplication_x11.cpp:3844
#34 0x00002b713dbc12e5 in QApplication::x11ProcessEvent (this=0x7fff6e9c3ef0, 
    event=0x7fff6e9c3750) at kernel/qapplication_x11.cpp:2907
#35 0x00002b713dbee837 in x11EventSourceDispatch (s=0x63f9a0, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:122
#36 0x00002b71406747e4 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#37 0x00002b714067761d in ?? () from /usr/lib/libglib-2.0.so.0
#38 0x00002b7140677b4e in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#39 0x00002b713fc49e1a in QEventDispatcherGlib::processEvents (this=0x63c340, 
    flags=@0x7fff6e9c39a0) at kernel/qeventdispatcher_glib.cpp:325
#40 0x00002b713dbee0db in QGuiEventDispatcherGlib::processEvents (
    this=0x63c340, flags=@0x7fff6e9c39f0)
    at kernel/qguieventdispatcher_glib.cpp:178
#41 0x00002b713fc1fccd in QEventLoop::processEvents (this=0x7fff6e9c3aa0, 
    flags=@0x7fff6e9c3a50) at kernel/qeventloop.cpp:126
#42 0x00002b713fc1fe22 in QEventLoop::exec (this=0x7fff6e9c3aa0, 
    flags=@0x7fff6e9c3ab0) at kernel/qeventloop.cpp:168
#43 0x00002b713fc231bc in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:729
#44 0x00002b713db5e32c in QApplication::exec () at kernel/qapplication.cpp:3035
#45 0x000000000040dbd3 in ?? ()
#46 0x00002b71414bcb04 in __libc_start_main () from /lib/libc.so.6
#47 0x000000000040cbc9 in ?? ()
#48 0x00007fff6e9c3fe8 in ?? ()
#49 0x0000000000000000 in ?? ()


Attachment: pgp9ENXd_XtnO.pgp
Description: PGP signature


Reply to: