Bug 274706 - Amarok crashes when run with "amarok -d --cdplay --nofork"
Summary: Amarok crashes when run with "amarok -d --cdplay --nofork"
Status: RESOLVED DUPLICATE of bug 249037
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.4.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 2.4.2
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-01 22:37 UTC by Jacob Godserv
Modified: 2011-06-02 15:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 2.4.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Godserv 2011-06-01 22:37:55 UTC
Application: amarok (2.4.1)
KDE Platform Version: 4.6.2 (4.6.2) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-gentoo-r6 x86_64
Distribution: "Gentoo Base System release 2.0.2"

-- Information about the crash:
- What I was doing when the application crashed:
Executing amarok from the terminal as follows:
amarok -d --cdplay

- Unusual behavior I noticed:
Amarok refuses to recognize there's a CD in the drive, even when I browse to it manually from within Amarok.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7fd6050a2700 (LWP 28526)):
#0  0x00007fd62141b523 in poll () from /lib64/libc.so.6
#1  0x00007fd61974fa9f in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007fd61973f8e6 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007fd619740cc9 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007fd619740d80 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007fd61974f89b in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007fd616191a77 in ?? () from /usr/lib64/libpulsecommon-0.9.22.so
#7  0x00007fd617008853 in ?? () from //usr/lib64/opengl/nvidia/lib/libGL.so.1
#8  0x00007fd61f5dbc1a in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd6214242cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd624bf97a0 (LWP 28522)):
[KCrash Handler]
#6  0x00007fd623b3b09a in MainWindow::playAudioCd() () from /usr/lib64/libamaroklib.so.1
#7  0x00007fd623b0d98d in App::handleCliArgs() () from /usr/lib64/libamaroklib.so.1
#8  0x00007fd623b0e411 in App::newInstance() () from /usr/lib64/libamaroklib.so.1
#9  0x00007fd6245ffed7 in KUniqueApplication::Private::_k_newInstanceNoFork() () from /usr/lib64/libkdeui.so.5
#10 0x00007fd6245fff41 in KUniqueApplication::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdeui.so.5
#11 0x00007fd623b0a735 in App::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libamaroklib.so.1
#12 0x00007fd621d61abe in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007fd62274b166 in QApplication::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007fd623b0861c in App::event(QEvent*) () from /usr/lib64/libamaroklib.so.1
#15 0x00007fd6227487dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007fd62274dc7d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007fd6245f85c6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#18 0x00007fd621d4fd2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007fd621d52cb1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007fd621d7c2d3 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007fd61bbd3fa1 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007fd61bbd8638 in ?? () from /usr/lib64/libglib-2.0.so.0
#23 0x00007fd61bbd87ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007fd621d7be13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007fd6227fa92e in ?? () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007fd621d5304f in QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007fd6227a2702 in QWidgetPrivate::show_helper() () from /usr/lib64/qt4/libQtGui.so.4
#28 0x00007fd6227a3d4a in QWidget::setVisible(bool) () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007fd623b0a1d6 in App::continueInit() () from /usr/lib64/libamaroklib.so.1
#30 0x00007fd623b0ad8d in App::App() () from /usr/lib64/libamaroklib.so.1
#31 0x0000000000409aa1 in _start ()

Reported using DrKonqi
Comment 1 Jacob Godserv 2011-06-01 22:39:58 UTC
Oops, I forgot to mention I had --nofork in there. It doesn't crash when I don't use --nofork, but it still won't read the CD.
Comment 2 Myriam Schweingruber 2011-06-02 12:24:01 UTC
CD playing has only just been fixed in git, you will have to wait for Amarok 2.4.2.
Also please install amarok debugging symbols, your backtrace was not very useful.
Comment 3 Myriam Schweingruber 2011-06-02 15:59:19 UTC

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