Bug 312997

Summary: Juk crashes at startup
Product: [Applications] juk Reporter: Christophe Quintard <christophe.quintard>
Component: generalAssignee: Scott Wheeler <wheeler>
Status: RESOLVED WORKSFORME    
Severity: crash CC: ketetefid, mpyne
Priority: NOR Keywords: triaged
Version First Reported In: 3.7.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Christophe Quintard 2013-01-10 08:19:27 UTC
Application: juk (3.8)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.6.9-2.fc17.x86_64 x86_64
Distribution: "Fedora release 17 (Beefy Miracle)"

-- Information about the crash:
- What I was doing when the application crashed:
I've started Juk. It was taking a long time to initialize, the song list was flickering. I tried to enter a song name in the filter field, it crashed.

-- Backtrace:
Application: JuK (juk), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fd80bbe6880 (LWP 18662))]

Thread 2 (Thread 0x7fd7fd1c0700 (LWP 18667)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x00007fd7fdca88ef in LoopRequest (p_playlist=0x10e3798) at playlist/thread.c:544
#2  Thread (data=0x10e3798) at playlist/thread.c:592
#3  0x0000003acb007d14 in start_thread (arg=0x7fd7fd1c0700) at pthread_create.c:309
#4  0x0000003acacf168d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fd80bbe6880 (LWP 18662)):
[KCrash Handler]
#6  Q3ListView::firstChild (this=this@entry=0x0) at itemviews/q3listview.cpp:5780
#7  0x0000003af710c2ec in Q3ListViewItemIterator::Q3ListViewItemIterator (this=0x7fffa5da3160, lv=0x0) at itemviews/q3listview.cpp:7312
#8  0x00000000004a84ec in ?? ()
#9  0x00000000004a87a8 in ?? ()
#10 0x00000000004b350f in ?? ()
#11 0x00000000004a9933 in ?? ()
#12 0x0000003ad598e71f in QMetaObject::activate (sender=0xff8e90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#13 0x0000003ad598e71f in QMetaObject::activate (sender=0xff8ec0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#14 0x0000003ad598e71f in QMetaObject::activate (sender=0xff9bc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa5da3610) at kernel/qobject.cpp:3547
#15 0x0000003ad89d3712 in QLineEdit::textChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qlineedit.cpp:263
#16 0x0000003ad89d3999 in QLineEdit::qt_static_metacall (_o=0x0, _c=QMetaObject::InvokeMetaMethod, _id=102904768, _a=0x0) at .moc/release-shared/moc_qlineedit.cpp:139
#17 0x0000003ad598e71f in QMetaObject::activate (sender=0xff9fe0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa5da3770) at kernel/qobject.cpp:3547
#18 0x0000003ad8c31045 in QLineControl::textChanged (this=<optimized out>, _t1=...) at .moc/release-shared/moc_qlinecontrol_p.cpp:147
#19 0x0000003ad89d8940 in QLineControl::finishChange (this=this@entry=0xff9fe0, validateFromState=<optimized out>, update=update@entry=false, edited=edited@entry=true) at widgets/qlinecontrol.cpp:660
#20 0x0000003ad89da132 in QLineControl::insert (this=this@entry=0xff9fe0, newText=...) at widgets/qlinecontrol.cpp:248
#21 0x0000003ad89da838 in QLineControl::processKeyEvent (this=0xff9fe0, event=0x7fffa5da4210) at widgets/qlinecontrol.cpp:1886
#22 0x0000003ad89cf899 in QLineEdit::keyPressEvent (this=0xff9bc0, event=0x7fffa5da4210) at widgets/qlineedit.cpp:1707
#23 0x0000003ada0f8fb4 in KLineEdit::keyPressEvent (this=0xff9bc0, e=0x7fffa5da4210) at /usr/src/debug/kdelibs-4.9.3/kdeui/widgets/klineedit.cpp:970
#24 0x0000003ad8619d6b in QWidget::event (this=0xff9bc0, event=0x7fffa5da4210) at kernel/qwidget.cpp:8406
#25 0x0000003ad89d1d47 in QLineEdit::event (this=0xff9bc0, e=0x7fffa5da4210) at widgets/qlineedit.cpp:1524
#26 0x0000003ada0f6b58 in KLineEdit::event (this=0xff9bc0, ev=0x7fffa5da4210) at /usr/src/debug/kdelibs-4.9.3/kdeui/widgets/klineedit.cpp:1403
#27 0x0000003ad85ca4ac in QApplicationPrivate::notify_helper (this=this@entry=0xd3d720, receiver=receiver@entry=0xff9bc0, e=e@entry=0x7fffa5da4210) at kernel/qapplication.cpp:4557
#28 0x0000003ad85cf4a4 in QApplication::notify (this=<optimized out>, receiver=0xff9bc0, e=0x7fffa5da4210) at kernel/qapplication.cpp:3998
#29 0x0000003ada0468a6 in KApplication::notify (this=0x7fffa5da8530, receiver=0xff9bc0, event=0x7fffa5da4210) at /usr/src/debug/kdelibs-4.9.3/kdeui/kernel/kapplication.cpp:311
#30 0x0000003ad5977f6e in QCoreApplication::notifyInternal (this=0x7fffa5da8530, receiver=0xff9bc0, event=0x7fffa5da4210) at kernel/qcoreapplication.cpp:915
#31 0x0000003ad86666ea in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0xff9bc0, grab=grab@entry=false, type=QEvent::KeyPress, code=68, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=40, nativeVirtualKey=100, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1866
#32 0x0000003ad8666b21 in QKeyMapperPrivate::translateKeyEvent (this=0xd69060, keyWidget=0xff9bc0, event=0x7fffa5da4c30, grab=false) at kernel/qkeymapper_x11.cpp:1836
#33 0x0000003ad86444f8 in QApplication::x11ProcessEvent (this=0x7fffa5da8530, event=0x7fffa5da4c30) at kernel/qapplication_x11.cpp:3544
#34 0x0000003ad866a7ac in x11EventSourceDispatch (s=s@entry=0xd31c60, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#35 0x0000003acd447825 in g_main_dispatch (context=0xd3da90) at gmain.c:2539
#36 g_main_context_dispatch (context=context@entry=0xd3da90) at gmain.c:3075
#37 0x0000003acd447b58 in g_main_context_iterate (context=context@entry=0xd3da90, block=block@entry=0, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#38 0x0000003acd447c14 in g_main_context_iteration (context=0xd3da90, may_block=0) at gmain.c:3207
#39 0x0000003ad59a5fd6 in QEventDispatcherGlib::processEvents (this=0xceea70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0x0000003ad866a48e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#41 0x0000003ad597becf in QCoreApplication::processEvents (flags=...) at kernel/qcoreapplication.cpp:1102
#42 0x00000000004b4412 in ?? ()
#43 0x0000000000440481 in _start ()

Reported using DrKonqi
Comment 1 Kete Tefid 2013-04-09 17:41:33 UTC
It crashes in KDE 4.10.1 with the following messages:
juk(7506) LyricsWidget::receiveLyricsReply: void LyricsWidget::receiveLyricsReply(QNetworkReply*) Unable to find lyrics in text 
juk(7506): Trying to add empty file, backtrace follows: 

juk(7506): "[
0: /usr/lib64/libkdecore.so.5(kRealBacktrace(int)+0x38) [0x3358f07f18]
1: juk() [0x4bab5d]
2: juk() [0x459dcd]
3: juk() [0x477a84]
4: /usr/lib64/qt4/libQtCore.so.4(QMetaObject::activate(QObject*, QMetaObject const*, int, void**)+0x2bf) [0x3b28d8bc6f]
5: juk() [0x484253]
6: juk() [0x4845cb]
7: juk() [0x470ce0]                                                                                                                                                                             
8: /usr/lib64/libkdeui.so.5() [0x3a72cfd988]                                                                                                                                                    
9: /usr/lib64/qt4/libQtCore.so.4(QMetaObject::activate(QObject*, QMetaObject const*, int, void**)+0x2bf) [0x3b28d8bc6f]                                                                         
]                                                                                                                                                                                               
"                                                                                                                                                                                    
After upgrading to 4.10.1, first juk started up starting very slowly, then it refused to use current device for playback and then it totally crashed and won't start again. I had zero problems with the juk on kde 4.9.5. I am on Gentoo.
And it won't start anymore.
What has happened to our lovely juk?
Comment 2 Michael Pyne 2013-06-15 21:46:58 UTC
Christophe, thanks for reporting. I was looking at this bug today and cannot reproduce. JuK disables the GUI while it is loading files on startup, to prevent exactly this kind of issue. Startup is admittedly very slow as JuK re-loads all the metadata for each track, which can be expensive to look up. If I can't find the source of this crash then the real fix will have to come after the long-delayed port of the list view code away from the deprecated KDE3 support libraries (a port which is a massive undertaking, otherwise it would be done by now).

If you end up encountering the crash bug again and can pull a more detailed backtrace I might be able to identify the cause, if so please re-open, until then I'll leave marked as waiting for information.

Kete: The bug you've reported is not the same as this one. However I believe I have fixed it today for the 4.11 release of the KDE Software Compilation.
Comment 3 Andrew Crouthamel 2018-09-24 02:04:31 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 set the bug status 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 4 Andrew Crouthamel 2018-10-27 01:58:51 UTC
Dear Bug Submitter,

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!