This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Crash with SVN build on startup

Tags: None
(comma "," separated)
Tanktalus
Registered Member
Posts
67
Karma
0
OS

Crash with SVN build on startup

Wed Feb 17, 2010 3:25 pm
svn revision 1091726 is giving me:

Code: Select all
Application: KTorrent (ktorrent), signal: Aborted
[Current thread is 1 (Thread 0x7f6b150e8740 (LWP 11073))]

Thread 6 (Thread 0x7f6b077f7910 (LWP 11075)):
#0  0x00007f6b10b9ac02 in select () from /lib/libc.so.6
#1  0x00007f6b14c50c4c in dht::RPCServerThread::run (this=0x90fa50) at /var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/libbtcore/dht/rpcserver.cpp:107
#2  0x00007f6b1254cf7a in QThreadPrivate::start (arg=0x90fa50) at thread/qthread_unix.cpp:248
#3  0x00007f6b122b92b7 in start_thread () from /lib/libpthread.so.0
#4  0x00007f6b10ba16ad in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f6afc2d7910 (LWP 11077)):
#0  0x00007f6b122bd42d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6b04d9c401 in metronom_sync_loop () from /usr/lib64/libxine.so.1
#2  0x00007f6b122b92b7 in start_thread () from /lib/libpthread.so.0
#3  0x00007f6b10ba16ad in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6afb49a910 (LWP 11078)):
#0  0x00007f6b10b98896 in poll () from /lib/libc.so.6
#1  0x00007f6b0c862d5a in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0x00007f6b0c8630be in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f6b1269a216 in QEventDispatcherGlib::processEvents (this=0x974660, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f6b126669f2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6b12666db4 in QEventLoop::exec (this=0x7f6afb499ff0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f6b1254a774 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f6b04ffcb4c in Phonon::Xine::XineThread::run() () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f6b1254cf7a in QThreadPrivate::start (arg=0x1f048d0) at thread/qthread_unix.cpp:248
#9  0x00007f6b122b92b7 in start_thread () from /lib/libpthread.so.0
#10 0x00007f6b10ba16ad in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7f6afaa8f910 (LWP 11081)):
#0  0x00007f6b10b98896 in poll () from /lib/libc.so.6
#1  0x00007f6afaa94ab8 in ao_alsa_handle_event_thread () from /usr/lib64/xine/plugins/1.27/xineplug_ao_out_alsa.so
#2  0x00007f6b122b92b7 in start_thread () from /lib/libpthread.so.0
#3  0x00007f6b10ba16ad in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6afa28e910 (LWP 11082)):
#0  0x00007f6b122bd1a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f6b04daee33 in ao_loop () from /usr/lib64/libxine.so.1
#2  0x00007f6b122b92b7 in start_thread () from /lib/libpthread.so.0
#3  0x00007f6b10ba16ad in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6b150e8740 (LWP 11073)):
[KCrash Handler]
#5  0x00007f6b10b03315 in raise () from /lib/libc.so.6
#6  0x00007f6b10b04811 in abort () from /lib/libc.so.6
#7  0x00007f6b14bd8c58 in QtMessageOutput (type=<value optimized out>, msg=0x2437c58 "ASSERT: \"q->testAttribute(Qt::WA_WState_Created)\" in file kernel/qwidget_x11.cpp, line 1797")
    at /var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/libbtcore/util/log.cpp:304
#8  0x00007f6b12543158 in qt_message_output (msgType=QtFatalMsg, buf=0x2b41 <Address 0x2b41 out of bounds>) at global/qglobal.cpp:2196
#9  0x00007f6b12543339 in qt_message (msgType=QtFatalMsg, msg=0x7f6b126defd0 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffd09574d0) at global/qglobal.cpp:2296
#10 0x00007f6b125434f5 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2479
#11 0x00007f6b1183d2f8 in QWidgetPrivate::show_sys (this=0x2008840) at kernel/qwidget_x11.cpp:1797
#12 0x00007f6b117f2cdd in QWidgetPrivate::show_helper (this=0x2008840) at kernel/qwidget.cpp:7184
#13 0x00007f6b117f3367 in QWidget::setVisible (this=0x2001c00, visible=<value optimized out>) at kernel/qwidget.cpp:7398
#14 0x00007f6b11c60db3 in QWidget::show (this=0x2008660, rect=...) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:485
#15 QToolBarLayout::setGeometry (this=0x2008660, rect=...) at widgets/qtoolbarlayout.cpp:396
#16 0x00007f6b117c95a6 in QLayoutPrivate::doResize (this=0x20086d0, r=...) at kernel/qlayout.cpp:681
#17 0x00007f6b117c9922 in QLayout::activate (this=0x2008660) at kernel/qlayout.cpp:1259
#18 0x00007f6b117f362d in QWidget::setVisible (this=0x202e030, visible=<value optimized out>) at kernel/qwidget.cpp:7370
#19 0x00007f6b11c5feb8 in QWidget::show (this=0x2008660, size=<value optimized out>) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:485
#20 QToolBarLayout::layoutActions (this=0x2008660, size=<value optimized out>) at widgets/qtoolbarlayout.cpp:556
#21 0x00007f6b11c60d83 in QToolBarLayout::setGeometry (this=0x2008660, rect=...) at widgets/qtoolbarlayout.cpp:371
#22 0x00007f6b117c95a6 in QLayoutPrivate::doResize (this=0x20086d0, r=...) at kernel/qlayout.cpp:681
#23 0x00007f6b1178f5fe in QApplicationPrivate::notify_helper (this=0x915c30, receiver=0x2005d90, e=0x7fffd09584d0) at kernel/qapplication.cpp:4289
#24 0x00007f6b1179b0a0 in QApplication::notify (this=0x7fffd0959660, receiver=0x2005d90, e=0x7fffd09584d0) at kernel/qapplication.cpp:4263
#25 0x00007f6b13cd3cb0 in KApplication::notify (this=0x7fffd0959660, receiver=0x2005d90, event=0x7fffd09584d0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#26 0x00007f6b12667d8b in QCoreApplication::notifyInternal (this=0x7fffd0959660, receiver=0x2005d90, event=0x7fffd09584d0) at kernel/qcoreapplication.cpp:704
#27 0x00007f6b117ed761 in QCoreApplication::sendEvent (this=0x2008330, recursive=false, disableUpdates=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x2008330, recursive=false, disableUpdates=true) at kernel/qwidget.cpp:7066
#29 0x00007f6b117ed859 in QWidgetPrivate::activateChildLayoutsRecursively (this=0x2b41) at kernel/qwidget.cpp:7084
#30 0x00007f6b117ed919 in QWidgetPrivate::activateChildLayoutsRecursively (this=0x1ffb030) at kernel/qwidget.cpp:7104
#31 0x00007f6b117ed919 in QWidgetPrivate::activateChildLayoutsRecursively (this=0x1ff5a60) at kernel/qwidget.cpp:7104
#32 0x00007f6b117ed919 in QWidgetPrivate::activateChildLayoutsRecursively (this=0x1fef0e0) at kernel/qwidget.cpp:7104
#33 0x00007f6b117ed919 in QWidgetPrivate::activateChildLayoutsRecursively (this=0x1fcf750) at kernel/qwidget.cpp:7104
#34 0x00007f6b117ed919 in QWidgetPrivate::activateChildLayoutsRecursively (this=0x1efe0f0) at kernel/qwidget.cpp:7104
#35 0x00007f6b117ed919 in QWidgetPrivate::activateChildLayoutsRecursively (this=0x9f78c0) at kernel/qwidget.cpp:7104
#36 0x00007f6b117ed880 in QWidgetPrivate::activateChildLayoutsRecursively (this=0x9f7560) at kernel/qwidget.cpp:7104
#37 0x00007f6b117ed880 in QWidgetPrivate::activateChildLayoutsRecursively (this=0x992ce0) at kernel/qwidget.cpp:7104
#38 0x00007f6b117ee2d0 in QWidgetPrivate::prepareToRender (this=0x200b690, region=..., renderFlags=...) at kernel/qwidget.cpp:5135
#39 0x00007f6b117f8569 in QWidget::render (this=<value optimized out>, target=0x7fffd09589a0, targetOffset=..., sourceRegion=..., renderFlags=...) at kernel/qwidget.cpp:4853
#40 0x00007f6b0943b8ba in Oxygen::TransitionWidget::grabWidget (this=<value optimized out>, pixmap=..., widget=0x200b2f0, rect=...)
    at /var/tmp/portage/kde-base/kstyles-4.4.0/work/kstyles-4.4.0/kstyles/oxygen/transitions/oxygentransitionwidget.cpp:228
#41 0x00007f6b0943c3cf in Oxygen::TransitionWidget::grab (this=0x2025990, widget=0x200b2f0, rect=...)
    at /var/tmp/portage/kde-base/kstyles-4.4.0/work/kstyles-4.4.0/kstyles/oxygen/transitions/oxygentransitionwidget.cpp:91
#42 0x00007f6b09433472 in Oxygen::ComboBoxData::timerEvent (this=0x2025620, event=0x7fffd0959310)
    at /var/tmp/portage/kde-base/kstyles-4.4.0/work/kstyles-4.4.0/kstyles/oxygen/transitions/oxygencomboboxdata.cpp:97
#43 0x00007f6b12682e5e in QObject::event (this=0x2025620, e=0x2b41) at kernel/qobject.cpp:1204
#44 0x00007f6b1178f61d in QApplicationPrivate::notify_helper (this=0x915c30, receiver=0x2025620, e=0x7fffd0959310) at kernel/qapplication.cpp:4298
#45 0x00007f6b1179b0a0 in QApplication::notify (this=0x7fffd0959660, receiver=0x2025620, e=0x7fffd0959310) at kernel/qapplication.cpp:4263
#46 0x00007f6b13cd3cb0 in KApplication::notify (this=0x7fffd0959660, receiver=0x2025620, event=0x7fffd0959310)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#47 0x00007f6b12667d8b in QCoreApplication::notifyInternal (this=0x7fffd0959660, receiver=0x2025620, event=0x7fffd0959310) at kernel/qcoreapplication.cpp:704
#48 0x00007f6b1269ddf6 in QCoreApplication::sendEvent (this=0x924170) at kernel/qcoreapplication.h:215
#49 QTimerInfoList::activateTimers (this=0x924170) at kernel/qeventdispatcher_unix.cpp:603
#50 0x00007f6b1269a494 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#51 0x00007f6b0c86127d in g_main_dispatch () from /usr/lib/libglib-2.0.so.0
#52 0x00007f6b0c862f85 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#53 0x00007f6b0c8630be in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#54 0x00007f6b1269a1fc in QEventDispatcherGlib::processEvents (this=0x8de190, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#55 0x00007f6b11848c88 in QGuiEventDispatcherGlib::processEvents (this=0x2b41, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#56 0x00007f6b126669f2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#57 0x00007f6b12666db4 in QEventLoop::exec (this=0x7fffd09595c0, flags=...) at kernel/qeventloop.cpp:201
#58 0x00007f6b12669384 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#59 0x0000000000429f64 in main (argc=5, argv=0x7fffd095a3c8) at /var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktorrent/main.cpp:172


I'm running KDE 4.4, Qt 4.6.1 (4.6.2 is being emerged now).

This is just on startup.

EDIT: Installed Qt 4.6.2, no real change here. However, I ran it from the console, and here's the output, if it helps:

Code: Select all
Warning: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Warning: Calling appendChild() on a null node does nothing.
Warning: Calling appendChild() on a null node does nothing.
Warning: QObject::connect: Connecting from QAction::toggled(bool) to COMPAT slot (kt::HintLineEdit::setShown(bool))
Warning: Calling appendChild() on a null node does nothing.
Warning: Calling appendChild() on a null node does nothing.
Warning: QObject::connect: Connecting from COMPAT signal (QComboBox::textChanged(QString))
Warning: Calling appendChild() on a null node does nothing.
[dmcbride@naboo ~]$ Fatal: ASSERT: "q->testAttribute(Qt::WA_WState_Created)" in file kernel/qwidget_x11.cpp, line 1797
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = ktorrent path = /usr/bin pid = 8700
sock_file=/home/dmcbride/.kde4/socket-naboo/kdeinit4__0


Not sure if that helps any.
George
Moderator
Posts
5421
Karma
1

Re: Crash with SVN build on startup

Wed Feb 17, 2010 4:59 pm
That seems to be a Qt problem.
Tanktalus
Registered Member
Posts
67
Karma
0
OS

Re: Crash with SVN build on startup

Wed Feb 17, 2010 11:44 pm
That's odd - because I'd been running Qt 4.6.1 for quite some time while ktorrent was working. Yet, when I try going back to previous versions of ktorrent, they don't seem to work, either. Maybe I'll have to try moving the ktorrent configuration out of the way and see if reseting it helps.
Tanktalus
Registered Member
Posts
67
Karma
0
OS

Re: Crash with SVN build on startup

Thu Feb 18, 2010 12:41 am
Ok, moving my ktorrentrc out of the way does solve the problem. I've not narrowed down which specific item is causing the crash, yet, though.

EDIT:

Ok, narrowed it down:

Code: Select all
#[MediaPlayerPlugin]
#MediaPlayerPluginEnabled=true
#


If I uncomment this, then I get a crash. If I leave it commented, and then enable the phonon media player inside ktorrent, I also get a crash. This still could be in Qt, I suppose, but it is suspicious. I don't get, for example, dragon crashing.
George
Moderator
Posts
5421
Karma
1

Re: Crash with SVN build on startup

Fri Feb 19, 2010 5:40 pm
Looking at the Qt code, a widget is shown which is not yet created, which then triggers an assert.

I have no idea how you can get in this situation.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]