Re: [kaffeine-user] kaffeine hangs
Brought to you by:
hftom,
lasselindqvist
From: Martin E. <mar...@ar...> - 2008-08-31 14:29:12
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Christoph Pfister schrieb: > Am Samstag 30 August 2008 17:32:14 schrieb Martin Ereth: >> Christoph Pfister wrote: [...] >>> Can you please open a console, run "gdb --args kaffeine >>> --nofork", type "run", reproduce the hang, press ctrl+c in the >>> console, type "thread apply all bt" + enter as long as it's >>> needed and attach the output? > > There's a problem with lazy symbol resolving in glibc as far as I can > say. There was a similar issue some time ago [1], but I guess your > glibc version is recent enough. I am using glibc-2.6.1 > Please use a glibc version with debug symbols and repeat the steps so > I can check whether my suspicion is correct (setting the environment > variable LD_BIND_NOW to "1" should workaround your problem). After a quick recompilation of glibc I get [1]. Does it help you so that you can say that it is the problem you thought about? I tried LD_BIND_NOW "1". It seemed to work. (I can't tell, whether this workaround works around the problem every time, but I'll test it.) But a workaround like that isn't a real solution. Do you know, how that problem can really be solved? Or am I using too old software? Thanks, Martin [1] martin@martin ~ $ gdb --args kaffeine --nofork GNU gdb 6.7.1 Copyright (C) 2007 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"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/kaffeine --nofork [Thread debugging using libthread_db enabled] [New Thread 0x7f5a0b466700 (LWP 5678)] if kaffeine hangs here run 'configure --with-xinit-workaround' and recompile / reinstall ... ok kaffeine: Found DVB device. /dev/dvb/adapter0/frontend0 : opened ( Conexant CX22702 DVB-T ) 0 EPG plugins loaded for device 0:0. Loaded epg data : 592 events (14 msecs) kaffeine: PLAYLIST kaffeine: PlayList: add 1 items to playlist kaffeine: PlayList: Check for kaffeine/noatun/m3u/pls/asx playlist kaffeine: PlayList: Try loading kaffeine playlist kaffeine: PlaylistImport: kaffeine: /home/martin/.kde3.5/share/apps/kaffeine/playlists/NEU.kaffeine kaffeine: Window manager: KWin found kaffeine: SystemTray: Create System Tray kaffeine: Kaffeine:: Try to load service: xine_part kaffeine: This is a KaffeinePart... kaffeine: XinePart: Creating new XinePart... kaffeine: XinePart: Using xine-config file: /home/martin/.kde3.5/share/apps/kaffeine/xine-config Tuning to: RTL / autocount: 0 DvbCam::probe(): /dev/dvb/adapter0/ca0: : Datei oder Verzeichnis nicht gefunden Using DVB device 0:0 "Conexant CX22702 DVB-T" tuning DVB-T to 834000000 Hz inv:2 bw:0 fecH:2 fecL:9 mod:1 tm:1 gi:3 hier:0 .... LOCKED. [New Thread 0x41b03950 (LWP 5697)] NOUT: 1 [New Thread 0x40f48950 (LWP 5698)] [New Thread 0x42304950 (LWP 5699)] dvbEvents 0:0 started Tuning delay: 486 ms kaffeine: KXineWidget: Using xine version 1.1.15 kaffeine: KXineWidget: Post-init xine engine [New Thread 0x42b05950 (LWP 5702)] kaffeine: KXineWidget: Use audio driver auto kaffeine: KXineWidget: Use video driver auto kaffeine: KXineWidget: Init video driver [New Thread 0x43306950 (LWP 5703)] kaffeine: KXineWidget: Init audio driver [New Thread 0x43b07950 (LWP 5704)] [New Thread 0x44308950 (LWP 5705)] [New Thread 0x44b09950 (LWP 5706)] [New Thread 0x4530a950 (LWP 5707)] kaffeine: KXineWidget: Init OSD kaffeine: KXineWidget: Font for OSD: sans kaffeine: KXineWidget: Unscaled OSD available [New Thread 0x45b0b950 (LWP 5708)] kaffeine: KXineWidget: xine init successful kaffeine: XinePart: load config kaffeine: Set volume to: 70 kaffeine: KXineWidget: New visualization plugin: goom kaffeine: PostFilter: Create Postprocessing Filter: tvtime kaffeine: PostFilter: Parameter: method kaffeine: PostFilter: Parameter: enabled kaffeine: PostFilter: Parameter: pulldown kaffeine: PostFilter: Parameter: framerate_mode kaffeine: PostFilter: Parameter: judder_correction kaffeine: PostFilter: Parameter: use_progressive_frame_flag kaffeine: PostFilter: Parameter: chroma_filter kaffeine: PostFilter: Parameter: cheap_mode kaffeine: PostFilter: Get input kaffeine: PostFilter: Get output kaffeine: PostFilter: SetConfig tvtime:method=LinearBlend,enabled=1,pulldown=none,framerate_mode=half_top,judder_correction=0,use_progressive_frame_flag=1,chroma_filter=0,cheap_mode=1 kaffeine: PostFilter: Set parameter 'method' to value 'LinearBlend' kaffeine: PostFilter: tvtime Apply integer value 2 on offset 0 kaffeine: PostFilter: Set parameter 'enabled' to value '1' kaffeine: PostFilter: tvtime Apply integer value 1 on offset 4 kaffeine: PostFilter: Set parameter 'pulldown' to value 'none' kaffeine: PostFilter: tvtime Apply integer value 0 on offset 8 kaffeine: PostFilter: Set parameter 'framerate_mode' to value 'half_top' kaffeine: PostFilter: tvtime Apply integer value 1 on offset 12 kaffeine: PostFilter: Set parameter 'judder_correction' to value '0' kaffeine: PostFilter: tvtime Apply integer value 0 on offset 16 kaffeine: PostFilter: tvtime Apply integer value 0 on offset 16 kaffeine: PostFilter: Set parameter 'use_progressive_frame_flag' to value '1' kaffeine: PostFilter: tvtime Apply integer value 1 on offset 20 kaffeine: PostFilter: Set parameter 'chroma_filter' to value '0' kaffeine: PostFilter: tvtime Apply integer value 0 on offset 24 kaffeine: PostFilter: Set parameter 'cheap_mode' to value '1' kaffeine: PostFilter: tvtime Apply integer value 1 on offset 28 kaffeine: PostFilter: tvtime Apply integer value 1 on offset 28 kaffeine: KXineWidget: Deinterlace enabled: 1 kaffeine: PostFilter: Get output kaffeine: PostFilter: Get input kaffeine: KXineWidget: Playing: file:///usr/share/apps/kaffeine/logo [New Thread 0x4630c950 (LWP 5711)] kaffeine: KXineWidget: New video frame size: 720x576 - aspect ratio: 1 kaffeine: KXineWidget: New video frame size: 725x576 - aspect ratio: 1.00629 kaffeine: KXineWidget: Switch to audio channel -1 kaffeine: XinePart: got new frame size from xine kaffeine: Kaffeine: new video frame size: 720x576 kaffeine: XinePart: got new frame size from xine kaffeine: Kaffeine: new video frame size: 720x576 [Thread 0x4630c950 (LWP 5711) exited] pipe opened [Thread 0x41b03950 (LWP 5697) exited] [New Thread 0x41b03950 (LWP 5712)] xine pipe opened /home/martin/.kaxtv.ts [New Thread 0x4630c950 (LWP 5713)] kaffeine: KXineWidget: Switch to audio channel -1 kaffeine: XinePart: xine is playing kaffeine: KXineWidget: New video frame size: 720x576 - aspect ratio: 1 kaffeine: XinePart: got new frame size from xine kaffeine: Kaffeine: new video frame size: 720x576 ^C Program received signal SIGINT, Interrupt. [Switching to Thread 0x7f5a0b466700 (LWP 5678)] 0x00007f5a04239888 in __lll_mutex_lock_wait () from /lib/libpthread.so.0 (gdb) thread apply all bt Thread 14 (Thread 0x4630c950 (LWP 5713)): #0 0x00007f5a04239888 in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #1 0x00007f5a04235a1c in _L_mutex_lock_485 () from /lib/libpthread.so.0 #2 0x00007f5a042357f6 in pthread_mutex_lock () from /lib/libpthread.so.0 #3 0x00007f5a0b3af5d8 in _dl_lookup_symbol_x () from /lib64/ld-linux-x86-64.so.2 #4 0x00007f5a0b3b2861 in _dl_fixup () from /lib64/ld-linux-x86-64.so.2 #5 0x00007f5a0b3b80d2 in _dl_runtime_resolve () from /lib64/ld-linux-x86-64.so.2 #6 0x00007f59f3728e77 in ?? () from /usr/lib64/xine/plugins/1.24/xineplug_dmx_mpeg_ts.so #7 0x00007f5a0161a43e in ?? () from /usr/lib64/libxine.so.1 #8 0x00007f5a04233047 in start_thread () from /lib/libpthread.so.0 #9 0x00007f5a029e428d in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 13 (Thread 0x41b03950 (LWP 5712)): #0 0x00007f5a04239c0b in write () from /lib/libpthread.so.0 #1 0x00000000004dd3a2 in DVBout::run (this=0xc9e2d0) at dvbout.cpp:540 #2 0x00007f5a06895cfb in QThreadInstance::start () from /usr/qt/3/lib64/libqt-mt.so.3 #3 0x00007f5a04233047 in start_thread () from /lib/libpthread.so.0 #4 0x00007f5a029e428d in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 11 (Thread 0x45b0b950 (LWP 5708)): #0 0x00007f5a042376a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f5a01615b2b in xine_event_wait () from /usr/lib64/libxine.so.1 - ---Type <return> to continue, or q <return> to quit--- #2 0x00007f5a01615ba5 in ?? () from /usr/lib64/libxine.so.1 #3 0x00007f5a04233047 in start_thread () from /lib/libpthread.so.0 #4 0x00007f5a029e428d in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 10 (Thread 0x4530a950 (LWP 5707)): #0 0x00007f5a042376a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f5a01607922 in ?? () from /usr/lib64/libxine.so.1 #2 0x00007f5a0160dda4 in ?? () from /usr/lib64/libxine.so.1 #3 0x00007f5a04233047 in start_thread () from /lib/libpthread.so.0 #4 0x00007f5a029e428d in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 9 (Thread 0x44b09950 (LWP 5706)): #0 0x00007f5a042376a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f5a01607922 in ?? () from /usr/lib64/libxine.so.1 #2 0x00007f5a0160cf09 in ?? () from /usr/lib64/libxine.so.1 #3 0x00007f5a04233047 in start_thread () from /lib/libpthread.so.0 #4 0x00007f5a029e428d in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 8 (Thread 0x44308950 (LWP 5705)): #0 0x00007f5a042376a6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f5a01611dbd in ?? () from /usr/lib64/libxine.so.1 #2 0x00007f5a01612bfa in ?? () from /usr/lib64/libxine.so.1 - ---Type <return> to continue, or q <return> to quit--- #3 0x00007f5a04233047 in start_thread () from /lib/libpthread.so.0 #4 0x00007f5a029e428d in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 7 (Thread 0x43b07950 (LWP 5704)): #0 0x00007f5a029dc146 in poll () from /lib/libc.so.6 #1 0x00007f59fc24e8f9 in ?? () from /usr/lib64/xine/plugins/1.24/xineplug_ao_out_alsa.so #2 0x00007f5a04233047 in start_thread () from /lib/libpthread.so.0 #3 0x00007f5a029e428d in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 6 (Thread 0x43306950 (LWP 5703)): #0 0x00007f5a029de0c2 in select () from /lib/libc.so.6 #1 0x00007f5a01627ec4 in xine_usec_sleep () from /usr/lib64/libxine.so.1 #2 0x00007f5a01610840 in ?? () from /usr/lib64/libxine.so.1 #3 0x00007f5a04233047 in start_thread () from /lib/libpthread.so.0 #4 0x00007f5a029e428d in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 5 (Thread 0x42b05950 (LWP 5702)): #0 0x00007f5a04237897 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f5a01604a95 in ?? () from /usr/lib64/libxine.so.1 #2 0x00007f5a04233047 in start_thread () from /lib/libpthread.so.0 #3 0x00007f5a029e428d in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () - ---Type <return> to continue, or q <return> to quit--- Thread 4 (Thread 0x42304950 (LWP 5699)): #0 0x00007f5a04232b4b in __wait_lookup_done () from /lib/libpthread.so.0 #1 0x00007f5a0b3b7f76 in _dl_close_worker () from /lib64/ld-linux-x86-64.so.2 #2 0x00007f5a0b3b803c in _dl_close () from /lib64/ld-linux-x86-64.so.2 #3 0x00007f5a0b3b29f6 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2 #4 0x00007f5a02a15375 in dlerror_run () from /lib/libc.so.6 #5 0x00007f5a0294afb0 in do_release_shlib () from /lib/libc.so.6 #6 0x00007f5a029e26dc in trecurse () from /lib/libc.so.6 #7 0x00007f5a029e26f0 in trecurse () from /lib/libc.so.6 #8 0x00007f5a02942e58 in __gconv_release_step () from /lib/libc.so.6 #9 0x00007f5a02942f25 in __gconv_close_transform () from /lib/libc.so.6 #10 0x00007f5a0294222f in iconv_close () from /lib/libc.so.6 #11 0x00007f5a092f4572 in KaffeineDVBsection::doIconv (this=<value optimized out>, s=@0x42303e00, table=<value optimized out>, buffer=0x42303a00 "Camp Lazlo", buflen=<value optimized out>) at kaffeinedvbsection.cpp:149 #12 0x00007f5a092f4712 in KaffeineDVBsection::getText (this=0x934500, buf=0x934560 "\005Camp Lazlo\001\005N�\001ger", length=11) at kaffeinedvbsection.cpp:219 #13 0x00000000004dac38 in DVBevents::shortEventDesc (this=0x934500, buf=<value optimized out>, desc=0x8f9870) at dvbevents.cpp:100 #14 0x00000000004db1c5 in DVBevents::tableEIT (this=0x934500, buffer=<value optimized out>) at dvbevents.cpp:262 #15 0x00000000004db501 in DVBevents::run (this=0x934500) at dvbevents.cpp:421 #16 0x00007f5a06895cfb in QThreadInstance::start () from /usr/qt/3/lib64/libqt-mt.so.3 #17 0x00007f5a04233047 in start_thread () from /lib/libpthread.so.0 #18 0x00007f5a029e428d in clone () from /lib/libc.so.6 #19 0x0000000000000000 in ?? () - ---Type <return> to continue, or q <return> to quit--- Thread 3 (Thread 0x40f48950 (LWP 5698)): #0 0x00007f5a029dc146 in poll () from /lib/libc.so.6 #1 0x00000000004ad4b5 in DvbStream::run (this=0x933b80) at dvbstream.cpp:825 #2 0x00007f5a06895cfb in QThreadInstance::start () from /usr/qt/3/lib64/libqt-mt.so.3 #3 0x00007f5a04233047 in start_thread () from /lib/libpthread.so.0 #4 0x00007f5a029e428d in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f5a0b466700 (LWP 5678)): #0 0x00007f5a04239888 in __lll_mutex_lock_wait () from /lib/libpthread.so.0 #1 0x00007f5a04235a1c in _L_mutex_lock_485 () from /lib/libpthread.so.0 #2 0x00007f5a042357f6 in pthread_mutex_lock () from /lib/libpthread.so.0 #3 0x00007f5a0b3af5d8 in _dl_lookup_symbol_x () from /lib64/ld-linux-x86-64.so.2 #4 0x00007f5a0b3b2861 in _dl_fixup () from /lib64/ld-linux-x86-64.so.2 #5 0x00007f5a0b3b80d2 in _dl_runtime_resolve () from /lib64/ld-linux-x86-64.so.2 #6 0x00007f5a0189e22c in KXineWidget::dvbShowOSD (this=0xb5a6d0) at kxinewidget.cpp:1639 #7 0x00007f5a018a8ac8 in KXineWidget::qt_invoke (this=0xb5a6d0, _id=130, _o=0x7fff135bf670) at kxinewidget.moc:694 #8 0x00007f5a068f276c in QObject::activate_signal () from /usr/qt/3/lib64/libqt-mt.so.3 #9 0x00007f5a06bd1a1c in QSignal::signal () from /usr/qt/3/lib64/libqt-mt.so.3 #10 0x00007f5a0690b165 in QSignal::activate () from /usr/qt/3/lib64/libqt-mt.so.3 #11 0x00007f5a069116f8 in QSingleShotTimer::event () from /usr/qt/3/lib64/libqt-mt.so.3 #12 0x00007f5a0689c1e5 in QApplication::internalNotify () from /usr/qt/3/lib64/libqt-mt.so.3 #13 0x00007f5a0689cde7 in QApplication::notify () from /usr/qt/3/lib64/libqt-mt.so.3 #14 0x00007f5a07d697fe in KApplication::notify () from /usr/kde/3.5/lib64/libkdecore.so.4 #15 0x00007f5a06892902 in QEventLoop::activateTimers () from /usr/qt/3/lib64/libqt-mt.so.3 - ---Type <return> to continue, or q <return> to quit--- #16 0x00007f5a06853332 in QEventLoop::processEvents () from /usr/qt/3/lib64/libqt-mt.so.3 #17 0x00007f5a068b0922 in QEventLoop::enterLoop () from /usr/qt/3/lib64/libqt-mt.so.3 #18 0x00007f5a068b07d2 in QEventLoop::exec () from /usr/qt/3/lib64/libqt-mt.so.3 #19 0x000000000043a59b in main (argc=<value optimized out>, argv=<value optimized out>) at main.cpp:120 (gdb) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAki6qr0ACgkQE5UqXaCvB8KsVQCgrPFPcDhH1mNeulotn/cFjf/n 1A4AniLsC0VnXN/2iOS8Jc9u91f1vHnC =8+12 -----END PGP SIGNATURE----- |