Bug 276146

Summary: kaudiocreator crashes on startup
Product: [Applications] kaudiocreator Reporter: Dave Parker <dlparker>
Component: generalAssignee: Gerd Fleischer <gerdfleischer>
Status: RESOLVED WORKSFORME    
Severity: crash CC: colleen.beamer, dlparker
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dave Parker 2011-06-20 21:32:47 UTC
Application: kaudiocreator (1.2.90)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.38.7-30.fc15.x86_64 x86_64
Distribution: "Fedora release 15 (Lovelock)"

-- Information about the crash:
- What I was doing when the application crashed:

Starting kaudiocreator from and xterm command line.   Note:  It apparently does the same thing when started from the 'F2' run command box.

- Custom settings of the application:

Here are the contents of my ~/.kde/share/config/kaudiocreatorrc;

[$Version]
update_info=kaudiocreator-meta.upd:2,kaudiocreator-meta.upd:3

[CD]
device=media:/hdd,system:/media/hdd,system:/media/sr0,media:/sr0,system:/media/scd0
lastUsedDevice=/dev/sr0 (LITE-ON DVDRW SOHW-1673S)
promptIfIncompleteInfo=false

[Encoder]
encoderChoice=1
fileFormat=/av/audio/Instructional/HalLeonard/Niemack_HearItAndSingIt/%{number}.%{extension}
inputTypesList=ext,wav
lastKnownEncoder=3

[Encoder_0]
commandLine=oggenc -o %o --artist %{artist} --album %{albumtitle} --title %{title} --date %{year} --tracknum %{number} --genre %{genre} %f
encoderName=OggEnc
extension=ogg
percentLength=4

[Encoder_1]
commandLine=lame --preset standard --tt %{title} --ta %{artist} --tl %{albumtitle} --ty %{year} --tn %{number} --tg %{genre} %f %o
encoderName=Lame
extension=mp3

[Encoder_2]
commandLine=mv %f %o
encoderName=Leave as wav File

[Encoder_3]
commandLine=flac --best -o %o --tag=Artist=%{artist} --tag=Album=%{albumtitle} --tag=Date=%{year} --tag=Title=%{title} --tag=Tracknumber=%{number} --tag=Genre=%{genre} %f
encoderName=FLAC
extension=flac

[Encoder_WAV]
commandLine[$e]=cp %f %o
encoderName=WAV
extension=wav
inputTypes=wav

[Encoder_default]
commandLine[$e]=cp %f %o
encoderName=default
extension=wav
inputTypes=wav

[General]
replace=""
selection=\s" "

[MainWindow]
Height 1024=483
Height 1200=867
State=AAAA/wAAAAD9AAAAAAAAAzsAAAM0AAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAYAE0AYQBpAG4AIABUAG8AbwBsAEIAYQByAAAAAAD/////AAAAAAAAAAA=
ToolBarsMovable=Disabled
Width 1280=571
Width 1600=861
Width 1920=827

[MainWindow Toolbar Main ToolBar]
IconText=IconOnly

[Notification Messages]
Jobs have started=false

The crash can be reproduced every time.

-- Backtrace:
Application: KAudioCreator (kaudiocreator), signal: Aborted
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fbf5cf76840 (LWP 2330))]

Thread 2 (Thread 0x7fbf4fae1700 (LWP 2331)):
#0  0x00000036608d7343 in __poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000305d642d24 in ?? () from /lib64/libglib-2.0.so.0
#2  0x000000305d64325c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x000000305e384d86 in QEventDispatcherGlib::processEvents (this=0x7fbf480008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x000000305e3596d2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x000000305e3598cf in QEventLoop::exec (this=0x7fbf4fae0d10, flags=...) at kernel/qeventloop.cpp:201
#6  0x000000305e2716af in QThread::exec (this=<optimized out>) at thread/qthread.cpp:492
#7  0x000000305e33c73f in QInotifyFileSystemWatcherEngine::run (this=0x22aa100) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x000000305e274125 in QThreadPrivate::start (arg=0x22aa100) at thread/qthread_unix.cpp:320
#9  0x0000003661007af1 in start_thread (arg=0x7fbf4fae1700) at pthread_create.c:305
#10 0x00000036608dfc2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fbf5cf76840 (LWP 2330)):
[KCrash Handler]
#6  0x0000003660835285 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x0000003660836b9b in abort () at abort.c:93
#8  0x000000366082dc0e in __assert_fail_base (fmt=<optimized out>, assertion=0x3671e03be7 "disc->success", file=0x3671e03bcc "disc.c", line=<optimized out>, function=<optimized out>) at assert.c:96
#9  0x000000366082dcb2 in __assert_fail (assertion=0x3671e03be7 "disc->success", file=0x3671e03bcc "disc.c", line=89, function=0x3671e03cc0 "discid_get_freedb_id") at assert.c:105
#10 0x0000003671e0336f in discid_get_freedb_id (d=<optimized out>) at disc.c:89
#11 0x0000000000442b53 in AudioCD::getDiscParameter (this=0x2493f10) at /usr/src/debug/kaudiocreator-1.2.90/audiocd.cpp:260
#12 0x00000000004432e3 in AudioCD::setDevice (this=0x2493f10, aCd=<optimized out>) at /usr/include/QtCore/qstring.h:883
#13 0x0000000000432e26 in TracksImp::changeDevice (this=0x233d510, device=...) at /usr/src/debug/kaudiocreator-1.2.90/tracksimp.cpp:236
#14 0x000000000043310f in TracksImp::initDevice (this=0x233d510) at /usr/src/debug/kaudiocreator-1.2.90/tracksimp.cpp:129
#15 0x000000000043460e in TracksImp::qt_metacall (this=0x233d510, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffbaa43740) at /usr/src/debug/kaudiocreator-1.2.90/x86_64-redhat-linux-gnu/tracksimp.moc:125
#16 0x000000305e36ceca in QMetaObject::activate (sender=0x24bdd90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#17 0x000000305e37502f in QSingleShotTimer::timerEvent (this=0x24bdd90) at kernel/qtimer.cpp:308
#18 0x000000305e3707b9 in QObject::event (this=0x24bdd90, e=<optimized out>) at kernel/qobject.cpp:1181
#19 0x00000031ff3b73d4 in notify_helper (e=0x7fffbaa43e50, receiver=0x24bdd90, this=0x222fd10) at kernel/qapplication.cpp:4462
#20 QApplicationPrivate::notify_helper (this=0x222fd10, receiver=0x24bdd90, e=0x7fffbaa43e50) at kernel/qapplication.cpp:4434
#21 0x00000031ff3bc261 in QApplication::notify (this=0x7fffbaa44150, receiver=0x24bdd90, e=0x7fffbaa43e50) at kernel/qapplication.cpp:4341
#22 0x0000003200e41806 in KApplication::notify (this=0x7fffbaa44150, receiver=0x24bdd90, event=0x7fffbaa43e50) at /usr/src/debug/kdelibs-4.6.3/kdeui/kernel/kapplication.cpp:311
#23 0x000000305e35a1bc in QCoreApplication::notifyInternal (this=0x7fffbaa44150, receiver=0x24bdd90, event=0x7fffbaa43e50) at kernel/qcoreapplication.cpp:731
#24 0x000000305e386b62 in sendEvent (event=0x7fffbaa43e50, receiver=<optimized out>) at kernel/qcoreapplication.h:215
#25 QTimerInfoList::activateTimers (this=0x22375d0) at kernel/qeventdispatcher_unix.cpp:604
#26 0x000000305e384394 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#27 0x000000305d6427ed in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#28 0x000000305d642fc8 in ?? () from /lib64/libglib-2.0.so.0
#29 0x000000305d64325c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#30 0x000000305e384d1f in QEventDispatcherGlib::processEvents (this=0x22072b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00000031ff459f2e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#32 0x000000305e3596d2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#33 0x000000305e3598cf in QEventLoop::exec (this=0x7fffbaa440e0, flags=...) at kernel/qeventloop.cpp:201
#34 0x000000305e35da17 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#35 0x0000000000414391 in main (argc=1, argv=0x7fffbaa44468) at /usr/src/debug/kaudiocreator-1.2.90/main.cpp:54

Reported using DrKonqi
Comment 1 Dave Parker 2011-06-20 21:48:51 UTC
UPDATE:

Sorry - NOT a bug - permissions problem.  /dev/scd0, (perms 777) was a symlink to /dev/sr0, perms 0550.  I change perms on /dev/sr0
Comment 2 Gerd Fleischer 2011-06-21 20:40:58 UTC
However, shouldn't crash. This should be fixed.
Comment 3 Gerd Fleischer 2011-06-25 10:57:19 UTC
Git commit d3097958ed93e9882749f77afe5f1022ddf9b547 by Gerd Fleischer.
Committed on 25/06/2011 at 12:53.
Pushed by geflei into branch 'master'.

prevent crash with wrong drive permissions

drive need write permissions too?

CCBUG: 276146

M  +8    -0    audiocd.cpp     
M  +1    -1    tracksimp.cpp     

http://commits.kde.org/kaudiocreator/d3097958ed93e9882749f77afe5f1022ddf9b547
Comment 4 Colleen 2011-10-19 04:39:10 UTC
I have this problem too.  I am using kaudiocreator on a 64-bit system.  It crashes on startup repeatedly.

This is the backtrace:

Application: KAudioCreator (kaudiocreator), signal: Aborted
[Current thread is 1 (Thread 0x7fc9525f0760 (LWP 18494))]

Thread 2 (Thread 0x7fc9437c3700 (LWP 18495)):
#0  0x00007fc94ea5be53 in poll () from /lib64/libc.so.6
#1  0x00007fc94ab5e4bd in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fc94ab5e9ed in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fc94fe0e046 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fc94fde2482 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007fc94fde26c4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007fc94fcf86b4 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007fc94fdc4038 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fc94fcfaf05 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fc94d155c6c in start_thread () from /lib64/libpthread.so.0
#10 0x00007fc94ea64bcd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc9525f0760 (LWP 18494)):
[KCrash Handler]
#6  0x00007fc94e9c58e5 in raise () from /lib64/libc.so.6
#7  0x00007fc94e9c6d66 in abort () from /lib64/libc.so.6
#8  0x00007fc94e9be515 in __assert_fail () from /lib64/libc.so.6
#9  0x00007fc950ea448b in discid_get_freedb_id () from /usr/lib64/libdiscid.so.0
#10 0x000000000043c48f in ?? ()
#11 0x000000000043ca5e in ?? ()
#12 0x000000000042e0c4 in ?? ()
#13 0x000000000042e2a8 in ?? ()
#14 0x000000000042fe86 in ?? ()
#15 0x00007fc94fdf77e7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007fc94fdfe26f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007fc94fdf7019 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007fc94f1cbb74 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007fc94f1d06ea in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007fc950839166 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x00007fc94fde30db in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007fc94fe108ae in ?? () from /usr/lib64/qt4/libQtCore.so.4
#23 0x00007fc94fe0d8f4 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007fc94ab5df6e in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#25 0x00007fc94ab5e758 in ?? () from /usr/lib64/libglib-2.0.so.0
#26 0x00007fc94ab5e9ed in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#27 0x00007fc94fe0dfef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007fc94f270d5e in ?? () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007fc94fde2482 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007fc94fde26c4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#31 0x00007fc94fde6b4b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#32 0x0000000000416854 in _start ()
Comment 5 Gerd Fleischer 2011-10-29 07:08:39 UTC
What version of ka are you using, I tried to fix this in 1.3?
Comment 6 Colleen 2011-10-29 18:28:03 UTC
(In reply to comment #5)
> What version of ka are you using, I tried to fix this in 1.3?

I am using kaudiocreator 1.3
Comment 7 Andrew Crouthamel 2018-10-29 22:33:40 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2018-11-13 14:33:27 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Bug Janitor Service 2018-11-29 04:52:17 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!