Bug 287880 - When exiting Konversation after a certain delay a segfault is displayed
Summary: When exiting Konversation after a certain delay a segfault is displayed
Status: RESOLVED WORKSFORME
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: Pulsesupport (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 01:47 UTC by firmen
Modified: 2013-04-13 06:18 UTC (History)
3 users (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 firmen 2011-11-30 01:47:02 UTC
Application: konversation (1.3.1 #4056.1)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Exiting Konversation, no matter whether via menu or closebox

The crash can be reproduced every time.

-- Backtrace:
Application: Konversation (konversation), signal: Segmentation fault
[Current thread is 1 (Thread 0xb78c8710 (LWP 1702))]

Thread 2 (Thread 0xb6c8eb70 (LWP 1704)):
#0  0x00a08dc6 in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x040a4f14 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x012968bb in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x01297637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x01297f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x07295cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x012be5f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x00a06d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x040970ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb78c8710 (LWP 1702)):
[KCrash Handler]
#7  0x00eb9222 in Phonon::PulseSupport::PulseSupport() () from /usr/lib/libphonon.so.4
#8  0x00eb96b4 in Phonon::PulseSupport::getInstance() () from /usr/lib/libphonon.so.4
#9  0x00e8e43e in ?? () from /usr/lib/libphonon.so.4
#10 0x00e8e542 in ?? () from /usr/lib/libphonon.so.4
#11 0x00ead0ed in Phonon::MediaNode::~MediaNode() () from /usr/lib/libphonon.so.4
#12 0x00e8c4b6 in Phonon::AbstractAudioOutput::~AbstractAudioOutput() () from /usr/lib/libphonon.so.4
#13 0x00e92a33 in Phonon::AudioOutput::~AudioOutput() () from /usr/lib/libphonon.so.4
#14 0x038db841 in QObjectPrivate::deleteChildren (this=0xab48e20) at kernel/qobject.cpp:1955
#15 0x038e0439 in QObject::~QObject (this=0xaa23d28, __in_chrg=<optimized out>) at kernel/qobject.cpp:946
#16 0x080aa920 in Konversation::Sound::~Sound (this=0xaa23d28, __in_chrg=<optimized out>) at ../../src/sound.cpp:43
#17 0x038db841 in QObjectPrivate::deleteChildren (this=0xa23d990) at kernel/qobject.cpp:1955
#18 0x038e0439 in QObject::~QObject (this=0xbfe6b4e4, __in_chrg=<optimized out>) at kernel/qobject.cpp:946
#19 0x038ca648 in QCoreApplication::~QCoreApplication (this=0xbfe6b4e4, __in_chrg=<optimized out>) at kernel/qcoreapplication.cpp:671
#20 0x09260943 in QApplication::~QApplication (this=0xbfe6b4e4, __in_chrg=<optimized out>) at kernel/qapplication.cpp:1093
#21 0x029a4378 in KApplication::~KApplication (this=0xbfe6b4e4, __in_chrg=<optimized out>) at ../../kdeui/kernel/kapplication.cpp:894
#22 0x029ac0f8 in KUniqueApplication::~KUniqueApplication (this=0xbfe6b4e4, __in_chrg=<optimized out>) at ../../kdeui/kernel/kuniqueapplication.cpp:347
#23 0x08094b5a in Application::~Application (this=0xbfe6b4e4, __in_chrg=<optimized out>) at ../../src/application.cpp:71
#24 0x0807c0ec in main (argc=1, argv=0xa2172e0) at ../../src/main.cpp:99

This bug may be a duplicate of or related to bug 262272.

Possible duplicates by query: bug 287867, bug 267332, bug 262272.

Reported using DrKonqi
Comment 1 Eike Hein 2011-11-30 22:56:50 UTC
Backtrace points to Phonon code, reassigning.
Comment 2 Myriam Schweingruber 2011-12-01 20:38:33 UTC
Could you please install the debugging symbols for Phonon and the Phonon backend you use? Please see here on how to get a better backtrace: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Could you please also specify which Phonon backend and version you are using?
Comment 3 firmen 2011-12-31 01:35:33 UTC
> Could you please install the debugging symbols for Phonon and the Phonon
> backend you use? 
> 
> Could you please also specify which Phonon backend and version you are using?

Meanwhile I managed to get along with phonon-dbg. Latest Backtrace follows.

I have no idea what my "phonon backend" might be. The crash occurs when closing the IRC messenger "konversation".

New backtrace:

Application: Konversation (konversation), signal: Segmentation fault
[Current thread is 1 (Thread 0xb783e710 (LWP 1658))]

Thread 2 (Thread 0xb6b5ab70 (LWP 1667)):
#0  0x009f4d50 in __pthread_mutex_unlock_usercnt () from  
/lib/i386-linux-gnu/libpthread.so.0
#1  0x053aef54 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x03f95c35 in g_main_context_query () from  
/lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x03f96664 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x03f96f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x02d36cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x03fbd5f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x009f1d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x053a10ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb783e710 (LWP 1658)):
[KCrash Handler]
#7  0x006ec222 in Phonon::PulseSupport::PulseSupport (this=0x8dc7780)  
at ../../phonon/pulsesupport.cpp:821
#8  0x006ec6b4 in Phonon::PulseSupport::getInstance () at  
../../phonon/pulsesupport.cpp:783
#9  0x006c143e in Phonon::AudioOutputPrivate::~AudioOutputPrivate  
(this=0x8d56780, __in_chrg=<optimized out>) at  
../../phonon/audiooutput.cpp:539
#10 0x006c1542 in Phonon::AudioOutputPrivate::~AudioOutputPrivate  
(this=0x8d56780, __in_chrg=<optimized out>) at  
../../phonon/audiooutput.cpp:545
#11 0x006e00ed in Phonon::MediaNode::~MediaNode (this=0x8dadee8,  
__in_chrg=<optimized out>) at ../../phonon/medianode.cpp:57
#12 0x006bf4b6 in Phonon::AbstractAudioOutput::~AbstractAudioOutput  
(this=0x8dadee0, __in_chrg=<optimized out>) at  
../../phonon/abstractaudiooutput.cpp:38
#13 0x006c5a33 in ~AudioOutput (this=0x8dadee0, __in_chrg=<optimized  
out>) at ../../phonon/audiooutput.h:50
#14 Phonon::AudioOutput::~AudioOutput (this=0x8dadee0,  
__in_chrg=<optimized out>) at ../../phonon/audiooutput.h:50
#15 0x027db841 in QObjectPrivate::deleteChildren (this=0x8b1c0d8) at  
kernel/qobject.cpp:1955
#16 0x027e0439 in QObject::~QObject (this=0x8d69788,  
__in_chrg=<optimized out>) at kernel/qobject.cpp:946
#17 0x080aa920 in Konversation::Sound::~Sound (this=0x8d69788,  
__in_chrg=<optimized out>) at ../../src/sound.cpp:43
#18 0x027db841 in QObjectPrivate::deleteChildren (this=0x84c29c8) at  
kernel/qobject.cpp:1955
#19 0x027e0439 in QObject::~QObject (this=0xbfcb0d24,  
__in_chrg=<optimized out>) at kernel/qobject.cpp:946
#20 0x027ca648 in QCoreApplication::~QCoreApplication  
(this=0xbfcb0d24, __in_chrg=<optimized out>) at  
kernel/qcoreapplication.cpp:671
#21 0x076ba943 in QApplication::~QApplication (this=0xbfcb0d24,  
__in_chrg=<optimized out>) at kernel/qapplication.cpp:1093
#22 0x011dc378 in KApplication::~KApplication (this=0xbfcb0d24,  
__in_chrg=<optimized out>) at ../../kdeui/kernel/kapplication.cpp:894
#23 0x011e40f8 in KUniqueApplication::~KUniqueApplication  
(this=0xbfcb0d24, __in_chrg=<optimized out>) at  
../../kdeui/kernel/kuniqueapplication.cpp:347
#24 0x08094b5a in Application::~Application (this=0xbfcb0d24,  
__in_chrg=<optimized out>) at ../../src/application.cpp:71
#25 0x0807c0ec in main (argc=1, argv=0x849c2e0) at ../../src/main.cpp:99
Comment 4 Colin Guthrie 2011-12-31 09:55:37 UTC
I think I recognise this backtrace and am pretty sure it's fixed these days in Phonon.... I'll try and double check soon tho'.
Comment 5 Myriam Schweingruber 2013-04-13 06:18:03 UTC
Closing for lack of feedback. This is most likely fixed since quite some time now, I can't reproduce this with current KDE 4.10.2