Opened 12 years ago
Closed 11 years ago
#10561 closed Bug Report - General (Works for me)
From time to time, entering the Theme downloader setup crashes
Reported by: | JYA | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Not happening all the time. But going into the theme downloader, selecting a theme, exiting, re-entering the theme downloader screen, usually result in a crash:
Program received signal EXC_BAD_ACCESS, Could not access memory. ---Type <return> to continue, or q <return> to quit---run Reason: 13 at address: 0x0000000000000000 0x00000001036176c4 in QString::QString (this=0x7fff5fbfd270, other=@0xf0000000126319e8) at qstring.h:725 725 inline QString::QString(const QString &other) : d(other.d) (gdb) bt #0 0x00000001036176c4 in QString::QString (this=0x7fff5fbfd270, other=@0xf0000000126319e8) at qstring.h:725 #1 0x00000001036ed0d7 in ThemedButton::ThemedButton (this=0x7fff5fbfd270, unnamed_arg=@0xf0000000126319e8) at myththemedmenu.h:16 #2 0x00000001036ed785 in qvariant_cast<ThemedButton> (v=@0x7fff5fbfd2a8) at qvariant.h:575 #3 0x00000001036ed8bc in QVariant::value<ThemedButton> (this=0x7fff5fbfd2a8) at qvariant.h:333 #4 0x00000001036ea52d in MythThemedMenu::buttonAction (this=0x1093ef5d0, item=0x1249380f0, skipPass=false) at myththemedmenu.cpp:684 #5 0x0000000103811c3c in MythThemedMenu::qt_static_metacall (_o=0x1093ef5d0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff5fbfd460) at moc_myththemedmenu.cpp:56 #6 0x00000001077eec01 in QMetaObject::activate () #7 0x0000000103815a2c in MythUIButtonList::itemClicked (this=0x1093ec4a0, _t1=0x1249380f0) at moc_mythuibuttonlist.cpp:119 #8 0x000000010372163c in MythUIButtonList::keyPressEvent (this=0x1093ec4a0, e=0x7fff5fbfe158) at mythuibuttonlist.cpp:2412 #9 0x00000001036eb8b9 in MythThemedMenu::keyPressEvent (this=0x1093ef5d0, event=0x7fff5fbfe158) at myththemedmenu.cpp:198 #10 0x00000001035c535c in MythMainWindow::eventFilter (this=0x10936d560, unnamed_arg=0x10936d560, e=0x7fff5fbfe158) at mythmainwindow.cpp:1963 #11 0x00000001077d7251 in QCoreApplicationPrivate::sendThroughObjectEventFilters---Type <return> to continue, or q <return> to quit--- () #12 0x000000010699c278 in QApplicationPrivate::notify_helper () #13 0x000000010699c8fc in QApplication::notify () #14 0x00000001077d9602 in QCoreApplication::notifyInternal () #15 0x000000010699ba1a in qt_sendSpontaneousEvent () #16 0x0000000106a0e352 in QKeyMapper::sendKeyEvent () #17 0x0000000106a0f79e in QKeyMapperPrivate::translateKeyEvent () #18 0x0000000106957b6d in qt_dispatchKeyEvent () #19 0x000000010694a7a4 in -[QCocoaView keyDown:] () #20 0x00007fff88f61b44 in -[NSWindow sendEvent:] () #21 0x00000001069502cf in -[QCocoaWindow sendEvent:] () #22 0x00007fff88efa16d in -[NSApplication sendEvent:] () #23 0x0000000106953ad2 in -[QNSApplication sendEvent:] () #24 0x00007fff88e901f2 in -[NSApplication run] () #25 0x000000010695cce0 in QEventDispatcherMac::processEvents () #26 0x00000001077d6b78 in QEventLoop::exec () #27 0x00000001077d9d53 in QCoreApplication::exec () #28 0x00000001000285d7 in main (argc=3, argv=0x7fff5fbffa70) at main.cpp:1762
I was cycling between Terra and Arclight
Change History (4)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
This time I selected the theme theme (Arclight) which makes it go back to the main settings menu, only to re-enter immediately. Doing so several times quickly
Program received signal EXC_BAD_ACCESS, Could not access memory. ---Type <return> to continue, or q <return> to quit--- Reason: KERN_INVALID_ADDRESS at address: 0x000000000001809d 0x0000000103239cbc in std::_Rb_tree<QString, std::pair<QString const, QString>, std::_Select1st<std::pair<QString const, QString> >, std::less<QString>, std::allocator<std::pair<QString const, QString> > >::_S_right (__x=0x18085) at stl_tree.h:512 512 { return static_cast<_Link_type>(__x->_M_right); } (gdb) bt #0 0x0000000103239cbc in std::_Rb_tree<QString, std::pair<QString const, QString>, std::_Select1st<std::pair<QString const, QString> >, std::less<QString>, std::allocator<std::pair<QString const, QString> > >::_S_right (__x=0x18085) at stl_tree.h:512 #1 0x000000010323badc in std::_Rb_tree<QString, std::pair<QString const, QString>, std::_Select1st<std::pair<QString const, QString> >, std::less<QString>, std::allocator<std::pair<QString const, QString> > >::_M_erase (this=0x107b395d0, __x=0x18085) at stl_tree.h:1325 #2 0x000000010323baeb in std::_Rb_tree<QString, std::pair<QString const, QString>, std::_Select1st<std::pair<QString const, QString> >, std::less<QString>, std::allocator<std::pair<QString const, QString> > >::_M_erase (this=0x107b395d0, __x=0x100000000) at stl_tree.h:1325 #3 0x000000010323baeb in std::_Rb_tree<QString, std::pair<QString const, QString>, std::_Select1st<std::pair<QString const, QString> >, std::less<QString>, std::allocator<std::pair<QString const, QString> > >::_M_erase (this=0x107b395d0, __x=0x122929640) at stl_tree.h:1325 #4 0x000000010323baeb in std::_Rb_tree<QString, std::pair<QString const, QString>, std::_Select1st<std::pair<QString const, QString> >, std::less<QString>, std::allocator<std::pair<QString const, QString> > >::_M_erase (this=0x107b395d0, __x=0x1229cf960) at stl_tree.h:1325 #5 0x000000010323bb4d in std::_Rb_tree<QString, std::pair<QString const, QString>, std::_Select1st<std::pair<QString const, QString> >, std::less<QString>, std::allocator<std::pair<QString const, QString> > >::~_Rb_tree (this=0x107b395d0) ---Type <return> to continue, or q <return> to quit--- at stl_tree.h:594 #6 0x000000010323bbd0 in std::map<QString, QString, std::less<QString>, std::allocator<std::pair<QString const, QString> > >::~map (this=0x107b395d0) at stl_map.h:94 #7 0x00000001032376bd in Settings::~Settings (this=0x111caff10) at oldsettings.cpp:38 #8 0x0000000103652a37 in MythUIHelper::LoadQtConfig (this=0x10926cc50) at mythuihelper.cpp:448 #9 0x0000000100022d37 in reloadTheme () at main.cpp:1252 #10 0x0000000100012b9d in reloadTheme_void () at main.cpp:1279 #11 0x00000001035deb68 in MythMainWindow::ExitToMainMenu (this=0x107b47430) at mythmainwindow.cpp:1476 #12 0x00000001035e3cb6 in MythMainWindow::customEvent (this=0x107b47430, ce=0x107b747a0) at mythmainwindow.cpp:2141 #13 0x00000001077ee0fb in QObject::event () #14 0x00000001069eb241 in QWidget::event () #15 0x00000001035df9b5 in MythMainWindow::event (this=0x107b47430, e=0x107b747a0) at mythmainwindow.cpp:926 #16 0x000000010699c288 in QApplicationPrivate::notify_helper () #17 0x000000010699c506 in QApplication::notify () #18 0x00000001077d9602 in QCoreApplication::notifyInternal () #19 0x00000001077d9a13 in QCoreApplicationPrivate::sendPostedEvents () #20 0x00007fff85df86e1 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTI---Type <return> to continue, or q <return> to quit--- ON__ () #21 0x00007fff85df7f4d in __CFRunLoopDoSources0 () #22 0x00007fff85e1ed39 in __CFRunLoopRun () #23 0x00007fff85e1e676 in CFRunLoopRunSpecific () #24 0x00007fff863ab31f in RunCurrentEventLoopInMode () #25 0x00007fff863b25c9 in ReceiveNextEventCommon () #26 0x00007fff863b2456 in BlockUntilNextEventMatchingListInMode () #27 0x00007fff88e93f5d in _DPSNextEvent () #28 0x00007fff88e93861 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] () #29 0x00007fff88e9019d in -[NSApplication run] () #30 0x000000010695cce0 in QEventDispatcherMac::processEvents () #31 0x00000001077d6b78 in QEventLoop::exec () #32 0x00000001077d9d53 in QCoreApplication::exec () #33 0x00000001000285d7 in main (argc=3, argv=0x7fff5fbffa70) at main.cpp:1762
comment:3 Changed 12 years ago by
Here is a way I've managed to consistently reproduce a crash (note, the crash isn't always the same).
Got into Setup -> Setup Wizard. Next , Next to get into the Video Configuration Select Test HD Playback (using OpenGL based playback profile)
Let the playback finish (34s) Select Finish
Go to Theme Chooser, select a theme.
I never have to do this cycle more than twice to see a crash. Either when the playback ends, the Theme Chooser start, or selecting a theme.
This time it was:
MythFrontend(4900,0x7fff72fe9960) malloc: *** error for object 0x100000000: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Program received signal SIGABRT, Aborted. 0x00007fff8cf9fce2 in __pthread_kill () (gdb) bt #0 0x00007fff8cf9fce2 in __pthread_kill () #1 0x00007fff88d517d2 in pthread_kill () #2 0x00007fff88d42a7a in abort () #3 0x00007fff88da184c in free () #4 0x0000000107706a12 in QHashData::free_helper () #5 0x000000010368ea9a in QHash<int, MythImage*>::freeData (this=0x1242c0e18, x=0x1242c2b80) at qhash.h:570 #6 0x000000010368eaf7 in QHash<int, MythImage*>::~QHash (this=0x1242c0e18) at qhash.h:283 #7 0x000000010368a8ce in MythUIImage::~MythUIImage (this=0x1242c0c90) at mythuiimage.cpp:580 #8 0x00000001077e89b6 in QObjectPrivate::deleteChildren () #9 0x00000001077efd24 in QObject::~QObject () #10 0x0000000103675289 in MythUIType::~MythUIType (this=0x1242c0ae0) at mythuitype.cpp:76 #11 0x0000000103742927 in MythUIGroup::~MythUIGroup (this=0x1242c0ae0) at mythuigroup.cpp:11 #12 0x00000001077e89b6 in QObjectPrivate::deleteChildren () #13 0x00000001077efd24 in QObject::~QObject () #14 0x0000000103675289 in MythUIType::~MythUIType (this=0x1242c1230) at mythuitype.cpp:76 #15 0x00000001036c350c in MythUIStateType::~MythUIStateType (this=0x1242c1230) at mythuistatetype.cpp:23 ---Type <return> to continue, or q <return> to quit--- #16 0x00000001077e89b6 in QObjectPrivate::deleteChildren () #17 0x00000001077efd24 in QObject::~QObject () #18 0x0000000103675289 in MythUIType::~MythUIType (this=0x1242c2c50) at mythuitype.cpp:76 #19 0x00000001036d7c69 in MythUIButton::~MythUIButton (this=0x1242c2c50) at mythuibutton.cpp:42 #20 0x00000001077e89b6 in QObjectPrivate::deleteChildren () #21 0x00000001077efd24 in QObject::~QObject () #22 0x0000000103675289 in MythUIType::~MythUIType (this=0x11c1567b0) at mythuitype.cpp:76 #23 0x000000010367d2d3 in MythScreenType::~MythScreenType (this=0x11c1567b0) at mythscreentype.cpp:85 #24 0x000000010037bc2e in GeneralSetupWizard::~GeneralSetupWizard ( this=0x11c1567b0) at setupwizard_general.cpp:99 #25 0x000000010366306e in MythScreenStack::PopScreen (this=0x107d26b90, screen=0x11c1567b0, allowFade=true, deleteScreen=true) at mythscreenstack.cpp:129 #26 0x000000010367b433 in MythScreenType::Close (this=0x11c1567b0) at mythscreentype.cpp:386 #27 0x000000010038654b in VideoSetupWizard::slotNext (this=0x12419d7e0) at setupwizard_video.cpp:135 #28 0x0000000100497180 in VideoSetupWizard::qt_static_metacall ( _o=0x12419d7e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff5fbfd7a0) ---Type <return> to continue, or q <return> to quit--- at moc_setupwizard_video.cpp:59 #29 0x00000001077eec01 in QMetaObject::activate () #30 0x00000001038119bf in MythUIButton::Clicked (this=0x1241204e0) at moc_mythuibutton.cpp:111 #31 0x00000001036d6895 in MythUIButton::Push (this=0x1241204e0, lock=false) at mythuibutton.cpp:183 #32 0x00000001036d6b13 in MythUIButton::keyPressEvent (this=0x1241204e0, e=0x7fff5fbfe158) at mythuibutton.cpp:144 #33 0x00000001003894be in VideoSetupWizard::keyPressEvent (this=0x12419d7e0, event=0x7fff5fbfe158) at setupwizard_video.cpp:156 #34 0x00000001035c535c in MythMainWindow::eventFilter (this=0x109c3df00, unnamed_arg=0x109c3df00, e=0x7fff5fbfe158) at mythmainwindow.cpp:1963 #35 0x00000001077d7251 in QCoreApplicationPrivate::sendThroughObjectEventFilters () #36 0x000000010699c278 in QApplicationPrivate::notify_helper () #37 0x000000010699c8fc in QApplication::notify () #38 0x00000001077d9602 in QCoreApplication::notifyInternal () #39 0x000000010699ba1a in qt_sendSpontaneousEvent () #40 0x0000000106a0e352 in QKeyMapper::sendKeyEvent () #41 0x0000000106a0f79e in QKeyMapperPrivate::translateKeyEvent () #42 0x0000000106957b6d in qt_dispatchKeyEvent () #43 0x000000010694a7a4 in -[QCocoaView keyDown:] () #44 0x00007fff88f61b44 in -[NSWindow sendEvent:] () ---Type <return> to continue, or q <return> to quit--- #45 0x00000001069502cf in -[QCocoaWindow sendEvent:] () #46 0x00007fff88efa16d in -[NSApplication sendEvent:] () #47 0x0000000106953ad2 in -[QNSApplication sendEvent:] () #48 0x00007fff88e901f2 in -[NSApplication run] () #49 0x000000010695cce0 in QEventDispatcherMac::processEvents () #50 0x00000001077d6b78 in QEventLoop::exec () #51 0x00000001077d9d53 in QCoreApplication::exec () #52 0x00000001000285d7 in main (argc=3, argv=0x7fff5fbffa70) at main.cpp:1762
comment:4 Changed 11 years ago by
Resolution: | → Works for me |
---|---|
Status: | new → closed |
Another crash, different cause this time. I think they are all related. Sounds like a racing condition somewhere. This time the "Refreshing.." pop up appeared before the crash occurred