Bug 337580

Summary: KMessageBox causes crash in KF5
Product: [Frameworks and Libraries] frameworks-kwidgetsaddons Reporter: Jasem Mutlaq <mutlaqja>
Component: generalAssignee: Christoph Feck <cfeck>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdelibs-bugs
Priority: VHI    
Version: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Backtrace
Simple project to illustrate crash

Description Jasem Mutlaq 2014-07-18 14:19:27 UTC
Created attachment 87798 [details]
Backtrace

I'm using KF5 libs from Project5-Neon on Kubuntu 14.04. If I try to use KMessageBox::information (or any other KMessageBox function), the application crashes. The equivalent QMessageBox does not cause a crash. Attached is the backtrace and also a simple project that illustrates this crash.
Comment 1 Jasem Mutlaq 2014-07-18 14:21:32 UTC
Created attachment 87799 [details]
Simple project to illustrate crash
Comment 2 Christoph Feck 2014-07-18 14:50:41 UTC

*** This bug has been marked as a duplicate of bug 335111 ***
Comment 3 Christoph Feck 2014-07-18 14:52:19 UTC
As a workaround, do not use phonon-backend-vlc, or disable use of phonon for knotify sound notifications (I simply use a command line player instead).
Comment 4 Jasem Mutlaq 2014-07-18 14:54:20 UTC
Great thanks, any idea on how to do either of those? I'm just using KF5 from project-neon5, is there some config file I need to edit somewhere?
Comment 5 Jasem Mutlaq 2014-07-18 15:01:24 UTC
ok, I just removed project-neon5-phonon4qt5-vlc and project-neon5-phonon5-vlc and the crash is done! Thanks!
Comment 6 Christoph Feck 2014-07-18 18:59:34 UTC
https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1328466 suggests another solution:

<cite>
Running "/usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins/" as root fixes the crash
</cite>