Bug 220885 - JuK crashed while switching to next song. [__libc_message, malloc_printerr, QString::free]
Summary: JuK crashed while switching to next song. [__libc_message, malloc_printerr, Q...
Status: RESOLVED DUPLICATE of bug 196207
Alias: None
Product: juk
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-01 13:40 UTC by Artem Vorotnikov
Modified: 2010-01-01 20:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artem Vorotnikov 2010-01-01 13:40:48 UTC
Application: juk (3.4)
KDE Platform Version: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-16-server x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
JuK crashed while switching to next song. The same crash occured yesterday in Amarok.

 -- Backtrace:
Application: JuK (juk), signal: Aborted
pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fee66bf5810 (LWP 1781))]

Thread 18 (Thread 0x7fee4d485910 (LWP 1800)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fee52f21c91 in metronom_sync_loop (this=0x25492e0) at metronom.c:870
#2  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7fee4b905910 (LWP 1801)):
[KCrash Handler]
#5  0x00007fee62a804b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fee62a83f50 in *__GI_abort () at abort.c:92
#7  0x00007fee62ab8c97 in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007fee62ac2dd6 in malloc_printerr (action=3, str=0x7fee62b817da "free(): invalid pointer", ptr=<value optimized out>) at malloc.c:6217
#9  0x00007fee6362536c in QString::free (d=0x3a15a30) at tools/qstring.cpp:1108
#10 0x00007fee531899d1 in ~QString (this=0x25c3a40, ev=0x3a40210) at /usr/include/qt4/QtCore/qstring.h:869
#11 QDebug::operator<< (this=0x25c3a40, ev=0x3a40210) at /usr/include/qt4/QtCore/qdebug.h:111
#12 Phonon::Xine::XineStream::event (this=0x25c3a40, ev=0x3a40210) at ../../xine/xinestream.cpp:886
#13 0x00007fee647c7e8c in QApplicationPrivate::notify_helper (this=0x2070b20, receiver=0x25c3a40, e=0x3a40210) at kernel/qapplication.cpp:4242
#14 0x00007fee647ce48d in QApplication::notify (this=0x7fffa26d3350, receiver=0x25c3a40, e=0x3a40210) at kernel/qapplication.cpp:4125
#15 0x00007fee654c8856 in KApplication::notify (this=0x7fffa26d3350, receiver=0x25c3a40, event=0x3a40210) at ../../kdeui/kernel/kapplication.cpp:302
#16 0x00007fee636d404c in QCoreApplication::notifyInternal (this=0x7fffa26d3350, receiver=0x25c3a40, event=0x3a40210) at kernel/qcoreapplication.cpp:704
#17 0x00007fee636d67c7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x2566580) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x2566580) at kernel/qcoreapplication.cpp:1345
#19 0x00007fee636fdae3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#20 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#21 0x00007fee5ef2fbce in g_main_dispatch (context=0x2566990) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#22 IA__g_main_context_dispatch (context=0x2566990) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#23 0x00007fee5ef33598 in g_main_context_iterate (context=0x2566990, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#24 0x00007fee5ef336c0 in IA__g_main_context_iteration (context=0x2566990, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#25 0x00007fee636fd623 in QEventDispatcherGlib::processEvents (this=0x24c0a70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#26 0x00007fee636d2972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#27 0x00007fee636d2d4c in QEventLoop::exec (this=0x7fee4b904f20, flags=) at kernel/qeventloop.cpp:201
#28 0x00007fee635ddc79 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#29 0x00007fee5317d570 in Phonon::Xine::XineThread::run (this=0x24c0ee0) at ../../xine/xinethread.cpp:143
#30 0x00007fee635e06c5 in QThreadPrivate::start (arg=0x24c0ee0) at thread/qthread_unix.cpp:244
#31 0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#32 0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#33 0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7fee4aefa910 (LWP 1808)):
#0  0x00007fee62b20373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fee4af00cbe in my_snd_mixer_wait (data=<value optimized out>) at audio_alsa_out.c:150
#2  ao_alsa_handle_event_thread (data=<value optimized out>) at audio_alsa_out.c:166
#3  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 15 (Thread 0x7fee4a6f9910 (LWP 1810)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fee52f32983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fee49cf5910 (LWP 1814)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fee52f32983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 13 (Thread 0x7fee494f4910 (LWP 1816)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fee52f21c91 in metronom_sync_loop (this=0x2866350) at metronom.c:870
#2  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fee48cf3910 (LWP 1820)):
#0  0x00007fee62b20373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fee4af00cbe in my_snd_mixer_wait (data=<value optimized out>) at audio_alsa_out.c:150
#2  ao_alsa_handle_event_thread (data=<value optimized out>) at audio_alsa_out.c:166
#3  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fee484d1910 (LWP 1821)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fee52f32983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 10 (Thread 0x7fee47caf910 (LWP 1822)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fee52f32983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 9 (Thread 0x7fee41b8c910 (LWP 4332)):
#0  0x00007fee62b253c2 in select () from /lib/libc.so.6
#1  0x00007fee52f4a725 in xine_usec_sleep (usec=<value optimized out>) at utils.c:481
#2  0x00007fee52f2f7e9 in video_out_loop (this_gen=<value optimized out>) at video_out.c:1246
#3  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fee40fa2910 (LWP 4333)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fee52f2554b in fifo_buffer_get (fifo=0x2b155c0) at buffer.c:230
#2  0x00007fee52f2b51d in video_decoder_loop (stream_gen=<value optimized out>) at video_decoder.c:130
#3  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 7 (Thread 0x7fee405d4910 (LWP 4334)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fee52f2554b in fifo_buffer_get (fifo=0x34730d0) at buffer.c:230
#2  0x00007fee52f2c555 in audio_decoder_loop (stream_gen=<value optimized out>) at audio_decoder.c:66
#3  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 6 (Thread 0x7fee3fdd3910 (LWP 4335)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fee52f35a0b in xine_event_wait (queue=0x3494db0) at events.c:56
#2  0x00007fee52f35a7e in listener_loop (queue_gen=<value optimized out>) at events.c:214
#3  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fee3b10a910 (LWP 4486)):
#0  0x00007fee62b253c2 in select () from /lib/libc.so.6
#1  0x00007fee52f4a725 in xine_usec_sleep (usec=<value optimized out>) at utils.c:481
#2  0x00007fee52f2f7e9 in video_out_loop (this_gen=<value optimized out>) at video_out.c:1246
#3  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fee3a520910 (LWP 4487)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fee52f2554b in fifo_buffer_get (fifo=0x353f850) at buffer.c:230
#2  0x00007fee52f2b51d in video_decoder_loop (stream_gen=<value optimized out>) at video_decoder.c:130
#3  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 3 (Thread 0x7fee39b52910 (LWP 4488)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fee52f2554b in fifo_buffer_get (fifo=0x39c6250) at buffer.c:230
#2  0x00007fee52f2c555 in audio_decoder_loop (stream_gen=<value optimized out>) at audio_decoder.c:66
#3  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7fee39351910 (LWP 4489)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fee52f35a0b in xine_event_wait (queue=0x39e80b0) at events.c:56
#2  0x00007fee52f35a7e in listener_loop (queue_gen=<value optimized out>) at events.c:214
#3  0x00007fee61e93a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fee62b2c7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fee66bf5810 (LWP 1781)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fee635e167b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x25c3ab8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x25c3ab8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fee5318238d in Phonon::Xine::XineStream::closeBlocking (this=0x25c3a40) at ../../xine/xinestream.cpp:1545
#4  0x00007fee53199766 in ~MediaObject (this=0x25c0a40, __in_chrg=<value optimized out>) at ../../xine/mediaobject.cpp:109
#5  0x00007fee6625a774 in Phonon::MediaNodePrivate::deleteBackendObject (this=0x25c08f0) at ../3rdparty/phonon/phonon/medianode.cpp:81
#6  0x00007fee6624fc45 in ~FactoryPrivate (this=0x245f930, __in_chrg=<value optimized out>) at ../3rdparty/phonon/phonon/factory.cpp:193
#7  0x00007fee62a85c12 in __run_exit_handlers (status=1) at exit.c:78
#8  *__GI_exit (status=1) at exit.c:100
#9  0x00007fee6483c6b8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:734
#10 0x00007fee654c8578 in KApplication::xioErrhandler (this=0x7fffa26d3350, dpy=0x209ae30) at ../../kdeui/kernel/kapplication.cpp:408
#11 0x00007fee620eafae in _XIOError () from /usr/lib/libX11.so.6
#12 0x00007fee620f29a5 in ?? () from /usr/lib/libX11.so.6
#13 0x00007fee620f3257 in _XEventsQueued () from /usr/lib/libX11.so.6
#14 0x00007fee620dc01b in XEventsQueued () from /usr/lib/libX11.so.6
#15 0x00007fee648764bc in x11EventSourceCheck (s=0x2074130) at kernel/qguieventdispatcher_glib.cpp:87
#16 0x00007fee5ef32aaa in IA__g_main_context_check (context=0x2073120, max_priority=2147483647, fds=<value optimized out>, n_fds=-1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2469
#17 0x00007fee5ef33290 in g_main_context_iterate (context=0x2073120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2588
#18 0x00007fee5ef336c0 in IA__g_main_context_iteration (context=0x2073120, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#19 0x00007fee636fd623 in QEventDispatcherGlib::processEvents (this=0x203ece0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#20 0x00007fee648762fe in QGuiEventDispatcherGlib::processEvents (this=0x2866edc, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#21 0x00007fee636d2972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#22 0x00007fee636d2d4c in QEventLoop::exec (this=0x7fffa26d3200, flags=) at kernel/qeventloop.cpp:201
#23 0x00007fee636d6a8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#24 0x0000000000476766 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../juk/main.cpp:94

Possible duplicates by query: bug 202992.

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-01 13:59:04 UTC
This is a glibc bug : bug 196207. Fixed in the latest version.
As a workaround, you can:
Check this:
- Quit Juk
- Start Konsole
- Type "export QT_NO_GLIB=1" + Enter
- Type "export MALLOC_CHECK_=" + Enter
- Type "juk" + Enter 
Regards

*** This bug has been marked as a duplicate of bug 196207 ***
Comment 2 Michael Pyne 2010-01-01 20:21:29 UTC
Strictly speaking only the export MALLOC_CHECK_= is necessary.

exporting QT_NO_GLIB=1 will cause the phonon-gst backend to no longer work if it's in use, so that should only be done if you use phonon-xine.