Bug 202713 - Crash on startup when no CLI args provided
Summary: Crash on startup when no CLI args provided
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.3-GIT
Platform: openSUSE Linux
: HI crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-05 23:17 UTC by Gregor Petrin
Modified: 2010-03-18 17:45 UTC (History)
1 user (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 Gregor Petrin 2009-08-05 23:17:13 UTC
Application that crashed: amarok
Version of the application: 2.1.1
KDE Version: 4.3.62 (KDE 4.3.62 (KDE 4.4 >= 20090728)) "release 2"
Qt Version: 4.5.2
Operating System: Linux 2.6.27.23-0.1-pae i686
Distribution: "openSUSE 11.1 (i586)"

What I was doing when the application crashed:
I opened amarok by clicking on an MP3 file (mp3 file -> open with -> Amarok), then tried to do the same for a second file and the appliaction crashed.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0xb3d4d710 (LWP 15483))]

Thread 13 (Thread 0xb1cb0b90 (LWP 15484)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb694af62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb20fae2f in metronom_sync_loop (this=0x8184c38) at metronom.c:870
#3  0xb69471b5 in start_thread () from /lib/libpthread.so.0
#4  0xb67893be in clone () from /lib/libc.so.6

Thread 12 (Thread 0xb14afb90 (LWP 15485)):
#0  0xb43263da in clock_gettime () from /lib/librt.so.1
#1  0xb6acb62b in QTimerInfoList::getTime (this=0x8144ac4, t=@0x8144ae8) at kernel/qeventdispatcher_unix.cpp:339
#2  0xb6acb801 in QTimerInfoList::updateCurrentTime (this=0x8144ac4) at kernel/qeventdispatcher_unix.cpp:297
#3  0xb6acd02c in QTimerInfoList::timerWait (this=0x8144ac4, tm=@0xb14af124) at kernel/qeventdispatcher_unix.cpp:420
#4  0xb6ac9ab8 in timerSourcePrepare (source=0xb432aff4, timeout=0xb14af178) at kernel/qeventdispatcher_glib.cpp:141
#5  0xb42998da in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb4299d6a in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb429a241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb6ac98f7 in QEventDispatcherGlib::processEvents (this=0x8122558, flags={i = -1320488344}) at kernel/qeventdispatcher_glib.cpp:329
#9  0xb6a9c78a in QEventLoop::processEvents (this=0xb14af2e0, flags={i = -1320488280}) at kernel/qeventloop.cpp:149
#10 0xb6a9cbd2 in QEventLoop::exec (this=0xb14af2e0, flags={i = -1320488216}) at kernel/qeventloop.cpp:201
#11 0xb69a6229 in QThread::exec (this=0x8185ac0) at thread/qthread.cpp:487
#12 0xb2149899 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#13 0xb69a9572 in QThreadPrivate::start (arg=0x8185ac0) at thread/qthread_unix.cpp:188
#14 0xb69471b5 in start_thread () from /lib/libpthread.so.0
#15 0xb67893be in clone () from /lib/libc.so.6

Thread 11 (Thread 0xb0c65b90 (LWP 15487)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb694ac35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb210cd34 in ao_loop (this_gen=0x8189190) at audio_out.c:346
#3  0xb69471b5 in start_thread () from /lib/libpthread.so.0
#4  0xb67893be in clone () from /lib/libc.so.6

Thread 10 (Thread 0xb0422b90 (LWP 15488)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb694ac35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb210cd34 in ao_loop (this_gen=0x8334818) at audio_out.c:346
#3  0xb69471b5 in start_thread () from /lib/libpthread.so.0
#4  0xb67893be in clone () from /lib/libc.so.6

Thread 9 (Thread 0xaf149b90 (LWP 15490)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb694ac35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaf7cec5e in os_event_wait_low (event=0x8812de8, reset_sig_count=0) at ../../../innobase/os/os0sync.c:420
#3  0xaf7cb941 in os_aio_simulated_handle (global_segment=0, message1=0xaf149328, message2=0xaf149324, type=0xaf149320) at ../../../innobase/os/os0file.c:4089
#4  0xaf78d41d in fil_aio_wait (segment=0) at ../../../innobase/fil/fil0fil.c:4131
#5  0xaf5bcece in io_handler_thread (arg=0xafaecca0) at ../../../innobase/srv/srv0start.c:446
#6  0xb69471b5 in start_thread () from /lib/libpthread.so.0
#7  0xb67893be in clone () from /lib/libc.so.6

Thread 8 (Thread 0xade00b90 (LWP 15491)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb694ac35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaf7cec5e in os_event_wait_low (event=0x8812e60, reset_sig_count=0) at ../../../innobase/os/os0sync.c:420
#3  0xaf7cb941 in os_aio_simulated_handle (global_segment=1, message1=0xade00328, message2=0xade00324, type=0xade00320) at ../../../innobase/os/os0file.c:4089
#4  0xaf78d41d in fil_aio_wait (segment=1) at ../../../innobase/fil/fil0fil.c:4131
#5  0xaf5bcece in io_handler_thread (arg=0xafaecca4) at ../../../innobase/srv/srv0start.c:446
#6  0xb69471b5 in start_thread () from /lib/libpthread.so.0
#7  0xb67893be in clone () from /lib/libc.so.6

Thread 7 (Thread 0xad5ffb90 (LWP 15492)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb694ac35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaf7cec5e in os_event_wait_low (event=0x8812ed8, reset_sig_count=0) at ../../../innobase/os/os0sync.c:420
#3  0xaf7cb941 in os_aio_simulated_handle (global_segment=2, message1=0xad5ff328, message2=0xad5ff324, type=0xad5ff320) at ../../../innobase/os/os0file.c:4089
#4  0xaf78d41d in fil_aio_wait (segment=2) at ../../../innobase/fil/fil0fil.c:4131
#5  0xaf5bcece in io_handler_thread (arg=0xafaecca8) at ../../../innobase/srv/srv0start.c:446
#6  0xb69471b5 in start_thread () from /lib/libpthread.so.0
#7  0xb67893be in clone () from /lib/libc.so.6

Thread 6 (Thread 0xacdfeb90 (LWP 15493)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb694ac35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaf7cec5e in os_event_wait_low (event=0x8812f50, reset_sig_count=0) at ../../../innobase/os/os0sync.c:420
#3  0xaf7cb941 in os_aio_simulated_handle (global_segment=3, message1=0xacdfe328, message2=0xacdfe324, type=0xacdfe320) at ../../../innobase/os/os0file.c:4089
#4  0xaf78d41d in fil_aio_wait (segment=3) at ../../../innobase/fil/fil0fil.c:4131
#5  0xaf5bcece in io_handler_thread (arg=0xafaeccac) at ../../../innobase/srv/srv0start.c:446
#6  0xb69471b5 in start_thread () from /lib/libpthread.so.0
#7  0xb67893be in clone () from /lib/libc.so.6

Thread 5 (Thread 0xab96db90 (LWP 15495)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6782411 in select () from /lib/libc.so.6
#2  0xaf7cf12a in os_thread_sleep (tm=0) at ../../../innobase/os/os0thread.c:274
#3  0xaf5b9420 in srv_lock_timeout_and_monitor_thread (arg=0x0) at ../../../innobase/srv/srv0srv.c:1882
#4  0xb69471b5 in start_thread () from /lib/libpthread.so.0
#5  0xb67893be in clone () from /lib/libc.so.6

Thread 4 (Thread 0xab16cb90 (LWP 15496)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6782411 in select () from /lib/libc.so.6
#2  0xaf7cf12a in os_thread_sleep (tm=0) at ../../../innobase/os/os0thread.c:274
#3  0xaf5b8269 in srv_error_monitor_thread (arg=0x0) at ../../../innobase/srv/srv0srv.c:2106
#4  0xb69471b5 in start_thread () from /lib/libpthread.so.0
#5  0xb67893be in clone () from /lib/libc.so.6

Thread 3 (Thread 0xaa96bb90 (LWP 15497)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb694ac35 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaf7cec5e in os_event_wait_low (event=0x82e4e60, reset_sig_count=0) at ../../../innobase/os/os0sync.c:420
#3  0xaf5b7479 in srv_master_thread (arg=0x0) at ../../../innobase/srv/srv0srv.c:2598
#4  0xb69471b5 in start_thread () from /lib/libpthread.so.0
#5  0xb67893be in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa8782b90 (LWP 15499)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb694af62 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb69aa55c in QWaitCondition::wait (this=0x8467798, mutex=0x8467794, time=30000) at thread/qwaitcondition_unix.cpp:85
#3  0xb699fb96 in QThreadPoolThread::run (this=0x8467058) at concurrent/qthreadpool.cpp:140
#4  0xb69a9572 in QThreadPrivate::start (arg=0x8467058) at thread/qthread_unix.cpp:188
#5  0xb69471b5 in start_thread () from /lib/libpthread.so.0
#6  0xb67893be in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb3d4d710 (LWP 15483)):
[KCrash Handler]
#6  0xb6fdad0e in QWidget::testAttribute_helper (this=0x1, attribute=Qt::WA_WState_Created) at kernel/qwidget.cpp:9976
#7  0xb6febf2a in QWidget::winId (this=0x1) at ../../src/gui/kernel/qwidget.h:997
#8  0xb7b3da65 in MainWindow::activate (this=0x1) at /usr/src/debug/amarok-2.1.1/src/MainWindow.cpp:573
#9  0xb7b26c89 in App::handleCliArgs () at /usr/src/debug/amarok-2.1.1/src/App.cpp:413
#10 0xb7b27870 in App::newInstance (this=0xbfce77b4) at /usr/src/debug/amarok-2.1.1/src/App.cpp:1078
#11 0xb7ea5a86 in ?? () from /usr/lib/libkdeui.so.5
#12 0xb7ea5b2e in ?? () from /usr/lib/libkdeui.so.5
#13 0xb6bb9873 in QDBusConnectionPrivate::deliverCall (this=0x80a6898, object=0x8111a38, msg=@0x889aab8, metaTypes=@0x82f2164, slotIdx=4) at qdbusintegrator.cpp:891
#14 0xb6bba939 in QDBusConnectionPrivate::activateCall (this=0x80a6898, object=0x8111a38, flags=337, msg=@0x889aab8) at qdbusintegrator.cpp:803
#15 0xb6bbada1 in QDBusConnectionPrivate::activateObject (this=0x80a6898, node=@0x889aaa4, msg=@0x889aab8, pathStartPos=16) at qdbusintegrator.cpp:1370
#16 0xb6bbb29a in QDBusActivateObjectEvent::placeMetaCall (this=0x889aa78) at qdbusintegrator.cpp:1464
#17 0xb6aae970 in QObject::event (this=0xbfce77b4, e=0x889aa78) at kernel/qobject.cpp:1111
#18 0xb6a9dafb in QCoreApplication::event (this=0xbfce77b4, e=0x889aa78) at kernel/qcoreapplication.cpp:1434
#19 0xb6f98119 in QApplication::event (this=0xbfce77b4, e=0x889aa78) at kernel/qapplication.cpp:2317
#20 0xb7b246a3 in App::event (this=0xbfce77b4, event=0x889aa78) at /usr/src/debug/amarok-2.1.1/src/App.cpp:740
#21 0xb6f927fc in QApplicationPrivate::notify_helper (this=0x80ba608, receiver=0xbfce77b4, e=0x889aa78) at kernel/qapplication.cpp:4056
#22 0xb6f9aaee in QApplication::notify (this=0xbfce77b4, receiver=0xbfce77b4, e=0x889aa78) at kernel/qapplication.cpp:3603
#23 0xb7e9e54d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#24 0xb6a9e16b in QCoreApplication::notifyInternal (this=0xbfce77b4, receiver=0xbfce77b4, event=0x889aa78) at kernel/qcoreapplication.cpp:610
#25 0xb6a9edb5 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8058628) at kernel/qcoreapplication.h:213
#26 0xb6a9efad in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#27 0xb6ac9c8f in postEventSourceDispatch (s=0x80afda0) at kernel/qcoreapplication.h:218
#28 0xb42969c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb429a083 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb429a241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0xb6ac98d8 in QEventDispatcherGlib::processEvents (this=0x80ba490, flags={i = -1076990056}) at kernel/qeventdispatcher_glib.cpp:327
#32 0xb7032ce5 in QGuiEventDispatcherGlib::processEvents (this=0x80ba490, flags={i = -1076990008}) at kernel/qguieventdispatcher_glib.cpp:202
#33 0xb6a9c78a in QEventLoop::processEvents (this=0xbfce7040, flags={i = -1076989944}) at kernel/qeventloop.cpp:149
#34 0xb6a9cbd2 in QEventLoop::exec (this=0xbfce7040, flags={i = -1076989880}) at kernel/qeventloop.cpp:201
#35 0xb6cd99de in KJob::exec() () from /usr/lib/libkdecore.so.5
#36 0xb7a2e8be in Meta::loadPlaylist (url=@0xbfce7340) at /usr/src/debug/amarok-2.1.1/src/meta/PlaylistFileSupport.cpp:101
#37 0xb7abb4af in PlaylistManager::expand (this=0x889b1e8, track={d = 0xbfce7454}) at /usr/src/debug/amarok-2.1.1/src/playlistmanager/PlaylistManager.cpp:335
#38 0xb7980fd8 in Model (this=0x8316b10) at /usr/src/debug/amarok-2.1.1/src/playlist/PlaylistModel.cpp:105
#39 0xb79816a6 in Playlist::Model::instance () at /usr/src/debug/amarok-2.1.1/src/playlist/PlaylistModel.cpp:59
#40 0xb79816c7 in The::playlistModel () at /usr/src/debug/amarok-2.1.1/src/playlist/PlaylistModel.cpp:962
#41 0xb7aeba83 in StatusBar (this=0x8302278, parent=0x82e2118) at /usr/src/debug/amarok-2.1.1/src/statusbar/StatusBar.cpp:93
#42 0xb7b492fb in MainWindow (this=0x8149008) at /usr/src/debug/amarok-2.1.1/src/MainWindow.cpp:134
#43 0xb7b29f35 in App::continueInit (this=0xbfce77b4) at /usr/src/debug/amarok-2.1.1/src/App.cpp:597
#44 0xb7b2ab92 in App (this=0xbfce77b4) at /usr/src/debug/amarok-2.1.1/src/App.cpp:201
#45 0x0804bff9 in main (argc=1, argv=0xbfce7ca4) at /usr/src/debug/amarok-2.1.1/src/main.cpp:126

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-08-05 23:28:44 UTC
Are these files in the collection or did you load them from the file manager?
Comment 2 Gregor Petrin 2009-08-06 00:11:38 UTC
I loaded them from the file manager (Krusader), but they are also in the collection.
Comment 3 Myriam Schweingruber 2009-08-09 14:54:02 UTC
Can you reproduce this crash?
Comment 4 Mark Kretschmann 2009-08-11 13:02:49 UTC
The fatal part here is probably this:

MainWindow::activate (this=0x1)

Further up the address still looks normal:

MainWindow (this=0x8149008)


So the MainWindow pointer becomes invalid (how?), then gets dereferenced, then crash. I've done some tests with 2.2-GIT and I can't really see how this could happen. Maybe it got fixed along the way.
Comment 5 Mark Kretschmann 2009-08-22 14:17:59 UTC
I spoke too soon :) Got the same crash a few minutes ago. How to reproduce:

Start Amarok without any CLI args (just "amarok"). It will fork, but sometimes the GUI does not appear. Then try to start it again -> crash.

This could possibly be related to an issue with extremely long startup time, involving PlaylistFileProvider: 

http://pastebin.com/m4b1f0529

Note this line: 
END__: PlaylistFileProvider::PlaylistFileProvider() - Took 27s


Backtrace:

Thread 1 (Thread 0x7f7fd6a367a0 (LWP 15028)):
[KCrash Handler]
#5  0x00007f7fd506bcdb in QWidget::testAttribute_helper(Qt::WidgetAttribute) const () from /usr/lib/libQtGui.so.4
#6  0x00007f7fd507a75e in QWidget::winId() const () from /usr/lib/libQtGui.so.4
#7  0x00007f7fd5f8768b in MainWindow::activate (this=0x0) at /home/mark/kde/src/amarok/src/MainWindow.cpp:581
#8  0x00007f7fd5f69312 in App::handleCliArgs () at /home/mark/kde/src/amarok/src/App.cpp:416
#9  0x00007f7fd5f6e345 in App::newInstance (this=0x7fff40e3dfb0) at /home/mark/kde/src/amarok/src/App.cpp:1146
#10 0x00007f7fd65af326 in ?? () from /usr/lib/libkdeui.so.5
#11 0x00007f7fd65af916 in ?? () from /usr/lib/libkdeui.so.5
#12 0x00007f7fd47b4ad4 in ?? () from /usr/lib/libQtDBus.so.4
#13 0x00007f7fd47b5cc3 in ?? () from /usr/lib/libQtDBus.so.4
#14 0x00007f7fd47b6547 in ?? () from /usr/lib/libQtDBus.so.4
#15 0x00007f7fd47b67c8 in ?? () from /usr/lib/libQtDBus.so.4
#16 0x00007f7fd44ad049 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#17 0x00007f7fd5033b4d in QApplication::event(QEvent*) () from /usr/lib/libQtGui.so.4
#18 0x00007f7fd5f6be67 in App::event (this=0x7fff40e3dfb0, event=0x2a176a0) at /home/mark/kde/src/amarok/src/App.cpp:790
#19 0x00007f7fd5029efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0x00007f7fd50311ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007f7fd65a84d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0x00007f7fd449db7c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x00007f7fd449e75a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#24 0x00007f7fd44c6483 in ?? () from /usr/lib/libQtCore.so.4
#25 0x00007f7fccd31a8e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007f7fccd35458 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0x00007f7fccd35580 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007f7fd44c60f6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0x00007f7fd50be3de in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007f7fd449c482 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007f7fd449c854 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x00007f7fd4af99dd in KJob::exec() () from /usr/lib/libkdecore.so.5
#33 0x00007f7fd5e6d8f1 in Meta::loadPlaylistFile (url=...) at /home/mark/kde/src/amarok/src/meta/PlaylistFileSupport.cpp:115
#34 0x00007f7fd5efaee8 in PlaylistFileProvider (this=0x29a1760) at /home/mark/kde/src/amarok/src/playlistmanager/file/PlaylistFileProvider.cpp:50
#35 0x00007f7fd5ef3a2f in PlaylistManager (this=0x29a1610) at /home/mark/kde/src/amarok/src/playlistmanager/PlaylistManager.cpp:77
#36 0x00007f7fd5ef3733 in PlaylistManager::instance () at /home/mark/kde/src/amarok/src/playlistmanager/PlaylistManager.cpp:54
#37 0x00007f7fd5ef3704 in The::playlistManager () at /home/mark/kde/src/amarok/src/playlistmanager/PlaylistManager.cpp:48
#38 0x00007f7fd5d42f8f in Model (this=0x27a35a0, parent=0x2175b10) at /home/mark/kde/src/amarok/src/playlist/PlaylistModel.cpp:70
#39 0x00007f7fd5d4dbb5 in ModelStack (this=0x2175b10) at /home/mark/kde/src/amarok/src/playlist/PlaylistModelStack.cpp:58
#40 0x00007f7fd5d4d97d in Playlist::ModelStack::instance () at /home/mark/kde/src/amarok/src/playlist/PlaylistModelStack.cpp:41
#41 0x00007f7fd5d4d945 in The::playlist () at /home/mark/kde/src/amarok/src/playlist/PlaylistModelStack.cpp:28
#42 0x00007f7fd5f295fa in StatusBar (this=0x279ab30, parent=0x21cf000) at /home/mark/kde/src/amarok/src/statusbar/StatusBar.cpp:90
#43 0x00007f7fd5f83b7a in MainWindow (this=0x21cf000) at /home/mark/kde/src/amarok/src/MainWindow.cpp:135
#44 0x00007f7fd5f6b595 in App::continueInit (this=0x7fff40e3dfb0) at /home/mark/kde/src/amarok/src/App.cpp:646
#45 0x00007f7fd5f67c89 in App (this=0x7fff40e3dfb0) at /home/mark/kde/src/amarok/src/App.cpp:221
#46 0x0000000000403a67 in main (argc=1, argv=0x7fff40e3f438) at /home/mark/kde/src/amarok/src/main.cpp:140
Comment 6 Mark Kretschmann 2009-08-22 15:54:45 UTC
commit 5219e90c075b89390e18eb02febb83dabd5c064d
Author: Mark Kretschmann <kretschmann@kde.org>
Date:   Sat Aug 22 15:39:27 2009 +0200

    Fix crash on startup while another instance is loading.

    When Amarok forks at startup, but then takes a long time to initialize,
    the user might try to start it again. In this case App::mainWindow()
    returned 0, and then we crashed.