Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Quit qmusicplayer.app with crash message
QtWS25 Last Chance

Quit qmusicplayer.app with crash message

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jryuen
    wrote on last edited by
    #1

    system:MAC OS X 10.6.3
    QT ver:4.7.4
    I can run qmusicplayer.app normally, and it work well. But I quit the qmusicplayer.app the mac os crash report comes up, and show me a detail message below:
    Exception Type: EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000074742e79
    Crashed Thread: 0 Dispatch queue: com.apple.main-thread

    Thread 0 Crashed: Dispatch queue: com.apple.main-thread
    0 com.apple.CoreFoundation 0x9938dcb0 CFRelease + 112
    1 libphonon_qt7.dylib 0x14442edf Phonon::QT7::QuickTimeVideoPlayer::~QuickTimeVideoPlayer() + 79
    2 libphonon_qt7.dylib 0x1445b3cd Phonon::QT7::MediaObject::~MediaObject() + 93
    3 phonon 0x00032a3a Phonon::MediaNodePrivate::~MediaNodePrivate() + 106
    4 phonon 0x00036855 Phonon::MediaObjectPrivate::~MediaObjectPrivate() + 117
    5 phonon 0x00034b1d Phonon::MediaObject::~MediaObject() + 77
    6 QtCore 0x00c5526c QObjectPrivate::deleteChildren() + 76
    7 QtGui 0x0015cc88 QWidget::~QWidget() + 648
    8 com.yourcompany.qmusicplayer 0x00003c73 MainWindow::~MainWindow() + 81
    9 com.yourcompany.qmusicplayer 0x000039ed main + 191
    10 com.yourcompany.qmusicplayer 0x00003349 _start + 208
    11 com.yourcompany.qmusicplayer 0x00003278 start + 40

    Please help me to fix it, thx!

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lycis
      wrote on last edited by
      #2

      If your Qt application crashes on exit this is possibly because it tries to delete an object that is already deleted. Qt hast some kind of clean-up mechanism by using the parent-pointers that every QObject has. If you delete a QObject all its children will be destructed first.

      If there's some inconsistency in the object tree, because any object has the wrong parent or if you manually destructed an object that is a child of another object you may get a crash on quitting the application. These two happen to me now and then.

      I'd check if there's one of these two cases. As I am not familiar with MAC OS X I don't feel like I could be of help with that crash report.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved