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

Bug#443460: deadlock during symbol resolving



Package: libc6
Version: 2.6.1-1+b1

I get very reproducibly a deadlock when I run certain apps, see the
attached backtrace (on x86 / p4 with ht). The problem doesn't occur if
I use LD_BIND_NOW as a workaround.

Thanks,

Christoph
(gdb) thread apply all bt

Thread 4 (Thread -1262912624 (LWP 14174)):
#0  0xb64f5969 in __wait_lookup_done () from /lib/libpthread.so.0
#1  0xb7f3af07 in _dl_close_worker () from /lib/ld-linux.so.2
#2  0xb7f3b197 in _dl_close () from /lib/ld-linux.so.2
#3  0xb6351ec4 in do_dlclose () from /lib/libc.so.6
#4  0xb7f35386 in _dl_catch_error () from /lib/ld-linux.so.2
#5  0xb6352069 in __libc_dlclose () from /lib/libc.so.6
#6  0xb626853f in do_release_shlib () from /lib/libc.so.6
#7  0xb6319420 in trecurse () from /lib/libc.so.6
#8  0xb63193ca in trecurse () from /lib/libc.so.6
#9  0xb62684d0 in __gconv_release_shlib () from /lib/libc.so.6
#10 0xb625fc7c in __gconv_release_step () from /lib/libc.so.6
#11 0xb625fd5a in __gconv_close_transform () from /lib/libc.so.6
#12 0xb625fb42 in __gconv_close () from /lib/libc.so.6
#13 0xb625f13c in iconv_close () from /lib/libc.so.6
#14 0x081556f4 in DVBsection::doIconv (this=0x82a5fb8, s=@0xb4b971fc, table=@0xb4b97210, buffer=0xb4b96e08 "switch", buflen=1000)
    at ../../../../../multimedia/kaffeine/src/input/dvb/dvbsection.cpp:164
#15 0x08155c26 in DVBsection::getText (this=0x82a5fb8, buf=0x82a61f9 "\005switch\001\005N�\001DEU", length=7)
    at ../../../../../multimedia/kaffeine/src/input/dvb/dvbsection.cpp:234
#16 0x0814dece in DVBevents::shortEventDesc (this=0x82a5fb8, buf=0x82a61f3 "M\rDEU\a\005switch\001\005N�\001DEU", desc=0x8d5f048)
    at ../../../../../multimedia/kaffeine/src/input/dvb/dvbevents.cpp:483
#17 0x0814fe37 in DVBevents::tableEIT (this=0x82a5fb8, buffer=0x82a6008 "P�2Da���\004S") at ../../../../../multimedia/kaffeine/src/input/dvb/dvbevents.cpp:645
#18 0x08150300 in DVBevents::run (this=0x82a5fb8) at ../../../../../multimedia/kaffeine/src/input/dvb/dvbevents.cpp:793
#19 0xb6a489d9 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
#20 0xb64f62d3 in start_thread () from /lib/libpthread.so.0
#21 0xb631b2fe in clone () from /lib/libc.so.6

Thread 3 (Thread -1254524016 (LWP 14173)):
#0  0xb631145d in poll () from /lib/libc.so.6
#1  0x081179e6 in DvbStream::run (this=0x82a5658) at ../../../../../multimedia/kaffeine/src/input/dvb/dvbstream.cpp:796
#2  0xb6a489d9 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
#3  0xb64f62d3 in start_thread () from /lib/libpthread.so.0
#4  0xb631b2fe in clone () from /lib/libc.so.6

Thread 2 (Thread -1246135408 (LWP 14172)):
#0  0xb64fd571 in ?? () from /lib/libpthread.so.0
#1  0x08152cd3 in DVBout::run (this=0x90c5510) at ../../../../../multimedia/kaffeine/src/input/dvb/dvbout.cpp:552
#2  0xb6a489d9 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3
#3  0xb64f62d3 in start_thread () from /lib/libpthread.so.0
#4  0xb631b2fe in clone () from /lib/libc.so.6

Thread 1 (Thread -1239426864 (LWP 14167)):
#0  0xb64fca29 in __lll_mutex_lock_wait () from /lib/libpthread.so.0
#1  0xb64f8988 in _L_mutex_lock_218 () from /lib/libpthread.so.0
#2  0xb64f8419 in pthread_mutex_lock () from /lib/libpthread.so.0
#3  0xb7f31481 in _dl_lookup_symbol_x () from /lib/ld-linux.so.2
#4  0xb7f351e3 in _dl_fixup () from /lib/ld-linux.so.2
#5  0xb7f3b210 in _dl_runtime_resolve () from /lib/ld-linux.so.2
#6  0xb435a333 in init_plugin (xine=0x90cb0f8, data=0x0) at input_pvr.c:1546
#7  0xb5ce89a2 in _load_plugin_class (this=0x90cb0f8, node=0x90f9a30, data=0x0) at load_plugins.c:726
#8  0xb5cec711 in load_required_plugins (this=0x90cb0f8) at load_plugins.c:809
#9  0xb5ced115 in _x_scan_plugins (this=0x90cb0f8) at load_plugins.c:1186
#10 0xb5cdf8f1 in xine_init (this=0x90cb0f8) at xine.c:1636
#11 0xb5d74c2f in KXineWidget::initXine (this=0x9006eb8) at ../../../../../multimedia/kaffeine/src/player-parts/xine-part/kxinewidget.cpp:1159
#12 0xb5d5a123 in XinePart::slotDvbOpen (this=0x90046b0, filename=@0x90c43c8, chanName=@0x81d34f8, haveVideo=511)
    at ../../../../../multimedia/kaffeine/src/player-parts/xine-part/xine_part.cpp:415
#13 0xb5d5c29f in XinePart::qt_invoke (this=0x90046b0, _id=94, _o=0xbfe5f3f0) at ./xine_part.moc:438
#14 0xb6ab8d23 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#15 0x08100340 in DvbPanel::dvbOpen (this=0x824cff0, t0=@0x824d08c, t1=@0xbfe5f4d4, t2=511) at ./dvbpanel.moc:418
#16 0x0810ba1b in DvbPanel::finalZap (this=0x824cff0, d=0x0, chan=0x831bcc8) at ../../../../../multimedia/kaffeine/src/input/dvb/dvbpanel.cpp:1997
#17 0x0810be2a in DvbPanel::dvbZap (this=0x824cff0, chan=0x831bcc8) at ../../../../../multimedia/kaffeine/src/input/dvb/dvbpanel.cpp:1916
#18 0x0810bef0 in DvbPanel::playLastChannel (this=0x824cff0) at ../../../../../multimedia/kaffeine/src/input/dvb/dvbpanel.cpp:1836
#19 0x08113ca7 in DvbPanel::qt_invoke (this=0x824cff0, _id=2, _o=0xbfe5f688) at ./dvbpanel.moc:498
#20 0xb6ab8d23 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#21 0xb6e45360 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#22 0xb6ad8d4e in QSignal::activate () from /usr/lib/libqt-mt.so.3
#23 0xb6ae07a0 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#24 0xb6a504e0 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#25 0xb6a5230f in QApplication::notify () from /usr/lib/libqt-mt.so.3
#26 0xb721dff2 in KApplication::notify () from /usr/lib/libkdecore.so.4
#27 0xb69e3595 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#28 0xb6a42e6b in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#29 0xb69f7a10 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#30 0xb6a6abe6 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#31 0xb6a6a9f6 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#32 0xb6a52089 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#33 0x0807b3ac in main (argc=2, argv=0xbfe5fe54) at ../../../multimedia/kaffeine/src/main.cpp:119

Reply to: