[Qt-interest] Qt 4.6.2 / Mac OS X: Phonon crashes on exit

R. Reucher rene.reucher at batcom-it.net
Mon May 24 11:59:57 CEST 2010


Hi all,

I searched the archives and google'd around a lot but couldn't find any 
matches to my problem... I'm seeing crashes (segmentation faults) for all Qt 
Phonon applications on exit. Although I wasn't convinced, I first thought it 
may a bug of my application, but then I tried the qmusicplayer example which 
also crashes (at the same place):

--
dhcp72:qmusicplayer rene$ gdb ./qmusicplayer.app/Contents/MacOS/qmusicplayer
GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul  3 01:13:45 UTC 
2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-apple-darwin"...Reading symbols for shared 
libraries ........ done

(gdb) run
Starting program: 
/Users/rene/src/qmusicplayer/qmusicplayer.app/Contents/MacOS/qmusicplayer
Reading symbols for shared libraries .
+++++++................................................................. 
done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries ........... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
QGLContext::chooseMacVisual: Unable to choose a pixel format
QGLContext::makeCurrent: Cannot make invalid context current
QGLContext::makeCurrent: Cannot make invalid context current
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x1000001e
0x965d5917 in objc_msgSend ()
(gdb) bt
#0  0x965d5917 in objc_msgSend ()
#1  0x01070610 in ?? ()
#2  0x013b87a7 in dyld_stub_strlen ()
#3  0x013d110c in qt_plugin_instance ()
#4  0x0001b8fa in Phonon::MediaNodePrivate::~MediaNodePrivate ()
#5  0x0001b4a5 in Phonon::MediaObject::qt_metacall ()
#6  0x00019b3d in Phonon::MediaObject::~MediaObject ()
#7  0x00ca295c in QObjectPrivate::deleteChildren ()
#8  0x002377fc in QWidget::~QWidget ()
#9  0x00003e28 in main ()
--

Do others see this as well or is it just a local issue?

I use this framework:
http://download.qt.nokia.com/qt/source/qt-mac-cocoa-opensource-4.6.2.dmg

Thanks for any advice!

Regards, René
-- 
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/

"Grub first, then ethics."
		-- Bertolt Brecht




More information about the Qt-interest-old mailing list