Bug 217322 - Amarok segfaults at startup but not when run as root
Summary: Amarok segfaults at startup but not when run as root
Status: RESOLVED DUPLICATE of bug 215306
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.2.1
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-04 11:57 UTC by Daniel Lundin
Modified: 2009-12-04 13:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Lundin 2009-12-04 11:57:11 UTC
Application that crashed: amarok
Version of the application: 2.2.1
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
I don't know whether there's a connection, but KDE sometimes detects lost sound hardware (analog, pulseaudio?).

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fe20a3af7a0 (LWP 3220))]

Thread 5 (Thread 0x7fe1f2a6a910 (LWP 3221)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fe1f871fc91 in metronom_sync_loop (this=0x1a905d0) at metronom.c:870
#2  0x00007fe201b60a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fe2075fa7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe1f0ce7910 (LWP 3222)):
[KCrash Handler]
#5  xine_post_input (this_gen=0x0, name=0x7fe1f89d9db9 "parameters") at xine_interface.c:875
#6  0x00007fe1f89c99e4 in Phonon::Xine::VolumeFaderEffectXT::createInstance (this=0x1abfc80) at ../../xine/volumefadereffect.cpp:123
#7  0x00007fe1f89aeed2 in Phonon::Xine::EffectXT::ensureInstance (this=0x1abfc80) at ../../xine/effect.cpp:70
#8  0x00007fe1f89af06d in Phonon::Xine::EffectXT::audioOutputPort (this=0x0) at ../../xine/effect.cpp:45
#9  0x00007fe1f89b1af2 in Phonon::Xine::AudioOutputXT::rewireTo (this=0x19aced0, source=0x7fe1f89d9db9) at ../../xine/audiooutput.cpp:332
#10 0x00007fe1f899f505 in Phonon::Xine::XineThread::event (this=<value optimized out>, e=<value optimized out>) at ../../xine/xinethread.cpp:130
#11 0x00007fe208819efc in QApplicationPrivate::notify_helper (this=0x18d0390, receiver=0x1a93d70, e=0x1abfc10) at kernel/qapplication.cpp:4056
#12 0x00007fe2088211ce in QApplication::notify (this=0x7fff4b7c4040, receiver=0x1a93d70, e=0x1abfc10) at kernel/qapplication.cpp:4021
#13 0x00007fe209edde56 in KApplication::notify (this=0x7fff4b7c4040, receiver=0x1a93d70, event=0x1abfc10) at ../../kdeui/kernel/kapplication.cpp:302
#14 0x00007fe207ef5c2c in QCoreApplication::notifyInternal (this=0x7fff4b7c4040, receiver=0x1a93d70, event=0x1abfc10) at kernel/qcoreapplication.cpp:610
#15 0x00007fe207ef680a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1a93c10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1a93c10) at kernel/qcoreapplication.cpp:1247
#17 0x00007fe207f1e533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#18 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#19 0x00007fe200497bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#20 0x00007fe20049b588 in ?? () from /lib/libglib-2.0.so.0
#21 0x00007fe20049b6b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#22 0x00007fe207f1e1a6 in QEventDispatcherGlib::processEvents (this=0x1a93db0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#23 0x00007fe207ef4532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#24 0x00007fe207ef4904 in QEventLoop::exec (this=0x7fe1f0ce6fb0, flags=) at kernel/qeventloop.cpp:201
#25 0x00007fe207e0c6cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#26 0x00007fe1f899e56e in Phonon::Xine::XineThread::run (this=0x1a93d70) at ../../xine/xinethread.cpp:143
#27 0x00007fe207e0f445 in QThreadPrivate::start (arg=0x1a93d70) at thread/qthread_unix.cpp:188
#28 0x00007fe201b60a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#29 0x00007fe2075fa7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#30 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7fe1e7ffe910 (LWP 3228)):
#0  0x00007fe2075ee373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe1f02e2cbe 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  0x00007fe201b60a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fe2075fa7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 2 (Thread 0x7fe1ebdf9910 (LWP 3229)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fe1f8730983 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  0x00007fe201b60a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007fe2075fa7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe20a3af7a0 (LWP 3220)):
#0  0x00007fe2075ee373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe1ff1bd29a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fe1ff1bd7d7 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007fe1ff1bda85 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007fe206bb2d4a in _XSend () from /usr/lib/libX11.so.6
#5  0x00007fe206bb3295 in _XFlush () from /usr/lib/libX11.so.6
#6  0x00007fe206b8b11a in XFlush () from /usr/lib/libX11.so.6
#7  0x00007fe208867e9a in QWidget::setCursor (this=0x1ac05d0, cursor=...) at kernel/qwidget.cpp:4623
#8  0x00007fe208c1add3 in QSizeGripPrivate::init (this=0x1ac0830) at widgets/qsizegrip.cpp:241
#9  0x00007fe208c1b1d3 in QSizeGrip (this=0x1ac05d0, parent=0x1ac02d0) at widgets/qsizegrip.cpp:212
#10 0x00007fe208c29cd8 in QStatusBar::setSizeGripEnabled (this=0x1ac02d0, enabled=<value optimized out>) at widgets/qstatusbar.cpp:496
#11 0x00007fe208c29ef8 in QStatusBar (this=0x1ac02d0, parent=0x18b8960) at widgets/qstatusbar.cpp:285
#12 0x00007fe209fca3c4 in KStatusBar (this=0x7fff4b7c3410, parent=0x1) at ../../kdeui/widgets/kstatusbar.cpp:74
#13 0x00007fe2096f3b22 in StatusBar (this=0x7fff4b7c3410, parent=0x1) at /build/buildd/amarok-2.2.1/src/statusbar/StatusBar.cpp:47
#14 0x00007fe20979c1dc in MainWindow (this=0x18b8960) at /build/buildd/amarok-2.2.1/src/MainWindow.cpp:157
#15 0x00007fe20976abf9 in App::continueInit (this=0x7fff4b7c4040) at /build/buildd/amarok-2.2.1/src/App.cpp:675
#16 0x00007fe20976d4b0 in App (this=0x7fff4b7c4040) at /build/buildd/amarok-2.2.1/src/App.cpp:222
#17 0x0000000000409dea in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/amarok-2.2.1/src/main.cpp:225
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

This bug may be a duplicate of or related to bug 214608

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-12-04 13:37:56 UTC
GUI apps are not meant to be run as root. If you really want to know if it is a setting issue, make a new user and try with that.

Anyway, this is a crash in Phonon, and a duplicate

*** This bug has been marked as a duplicate of bug 215306 ***