Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10557: MythFrontend crash when starting

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

Apr 7, 2012, 4:07 PM

Post #1 of 5 (135 views)
Permalink
Ticket #10557: MythFrontend crash when starting

#10557: MythFrontend crash when starting
--------------------------------------+-------------------------
Reporter: jyavenard | Owner:
Type: Bug Report - General | Status: new
Priority: major | Milestone: 0.25
Component: MythTV - General | Version: Unspecified
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+-------------------------
{{{
MythTV Version : v0.25-rc-156-g02216ca
MythTV Branch : master
Network Protocol : 72
Library API : 0.25.20120405-2
QT Version : 4.8.0
Options compiled in:
debug use_hidesyms darwin_da using_corevideo using_backend
using_bindings_php using_darwin using_firewire using_frontend
using_hdhomerun using_ceton using_iptv using_libcrypto using_libdns_sd
using_libxml2 using_libudf using_mheg using_opengl_video using_qtwebkit
using_qtscript using_appleremote using_bindings_php using_darwin_da
using_mythtranscode using_opengl using_ffmpeg_threads using_live
using_mheg using_libxml2 using_libudf
}}}

backtrace:
{{{
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000010
0x000000010770799c in QLocale::QLocale ()
(gdb) bt
#0 0x000000010770799c in QLocale::QLocale ()
#1 0x000000010329faab in MythLocale::ToQLocale (this=0x0) at
mythlocale.h:32
#2 0x000000010328983b in MythCoreContext::GetQLocale (this=0x1094221c0)
at mythcorecontext.cpp:1289
#3 0x00000001037051d6 in MythUIClock::ParseElement (this=0x107c6ddc0,
filename=@0x7fff5fbfd3f8, element=@0x7fff5fbf9980, showWarnings=true)
at mythuiclock.cpp:100
#4 0x00000001036228b5 in XMLParseBase::ParseUIType
(filename=@0x7fff5fbfd3f8,
element=@0x7fff5fbfb490, type=@0x7fff5fbfbe28, parent=0x107c6c000,
screen=0x0, showWarnings=true, parentDependsMap=@0x7fff5fbfb588)
at xmlparsebase.cpp:567
#5 0x0000000103623d78 in XMLParseBase::ParseUIType
(filename=@0x7fff5fbfd3f8,
element=@0x7fff5fbfcc10, type=@0x7fff5fbfcbb0, parent=0x107b6d800,
screen=0x0, showWarnings=true, parentDependsMap=@0x7fff5fbfcb88)
at xmlparsebase.cpp:605
#6 0x000000010362e67b in XMLParseBase::doLoad
(windowname=@0x7fff5fbfd430,
parent=0x107b6d800, filename=@0x7fff5fbfd3f8, onlywindows=false,
showWarnings=true) at xmlparsebase.cpp:811
#7 0x0000000103631ce9 in XMLParseBase::LoadBaseTheme ()
at xmlparsebase.cpp:841
#8 0x00000001036100da in MythThemeBase::Init (this=0x107b74470)
at myththemebase.cpp:79
#9 0x0000000103611047 in MythThemeBase::MythThemeBase (this=0x107b74470)
at myththemebase.cpp:27
#10 0x00000001035eb37c in MythMainWindow::Init (this=0x109482690)
at mythmainwindow.cpp:1079
#11 0x0000000103a5f40f in MythContextPrivate::TempMainWindow (
this=0x1094302c0, languagePrompt=true) at mythcontext.cpp:251
#12 0x0000000103a5f9ad in MythContextPrivate::PromptForDatabaseParams (
this=0x1094302c0, error=@0x7fff5fbfe640) at mythcontext.cpp:492
#13 0x0000000103a62044 in MythContextPrivate::FindDatabase
(this=0x1094302c0,
prompt=false, noPrompt=false) at mythcontext.cpp:415
#14 0x0000000103a62798 in MythContextPrivate::Init (this=0x1094302c0,
gui=true, promptForBackend=false, noPrompt=false, ignoreDB=false)
at mythcontext.cpp:285
#15 0x0000000103a636e3 in MythContext::Init (this=0x10941aed0, gui=true,
promptForBackend=false, disableAutoDiscovery=false, ignoreDB=false)
at mythcontext.cpp:1102
#16 0x000000010002399e in main (argc=3, argv=0x7fff5fbffa78) at
main.cpp:1537
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10557>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Apr 7, 2012, 5:33 PM

Post #2 of 5 (119 views)
Permalink
Re: Ticket #10557: MythFrontend crash when starting [In reply to]

#10557: MythFrontend crash when starting
----------------------------------+-----------------------------
Reporter: jyavenard | Owner:
Type: Bug Report - General | Status: new
Priority: major | Milestone: 0.25
Component: MythTV - General | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by beirdo):

See also #10555

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10557#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Apr 7, 2012, 6:01 PM

Post #3 of 5 (123 views)
Permalink
Re: Ticket #10557: MythFrontend crash when starting [In reply to]

#10557: MythFrontend crash when starting
----------------------------------+-----------------------------
Reporter: jyavenard | Owner:
Type: Bug Report - General | Status: new
Priority: major | Milestone: 0.25
Component: MythTV - General | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by beirdo):

Try with the attached patch.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10557#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Apr 7, 2012, 11:12 PM

Post #4 of 5 (114 views)
Permalink
Re: Ticket #10557: MythFrontend crash when starting [In reply to]

#10557: MythFrontend crash when starting
----------------------------------+-----------------------------
Reporter: jyavenard | Owner:
Type: Bug Report - General | Status: new
Priority: major | Milestone: 0.25
Component: MythTV - General | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by jyavenard):

This patch wouldn't compile.

{{{
diff --git a/mythtv/libs/libmythbase/mythcorecontext.cpp
b/mythtv/libs/libmythba
index 93b5a8b..3940a10 100644
--- a/mythtv/libs/libmythbase/mythcorecontext.cpp
+++ b/mythtv/libs/libmythbase/mythcorecontext.cpp
@@ -1286,6 +1286,8 @@ void MythCoreContext::ReInitLocale(void)

const QLocale MythCoreContext::GetQLocale(void) const
{
+ if (!d->m_locale)
+ return QLocale();
return d->m_locale->ToQLocale();
}
}}}

This one fixes the problem.. InitLocale needs the database to be
configured and up and running as it retrieves the configured locale from
the database. However, the issue at hand is when trying to display the
screen for setting up the locale and the database. So we can't use
InitLocale yet.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10557#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Apr 8, 2012, 1:59 AM

Post #5 of 5 (113 views)
Permalink
Re: Ticket #10557: MythFrontend crash when starting [In reply to]

#10557: MythFrontend crash when starting
----------------------------------+-----------------------------
Reporter: jyavenard | Owner:
Type: Bug Report - General | Status: closed
Priority: major | Milestone: 0.25
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution: Fixed
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Changes (by stuartm):

* status: new => closed
* version: Unspecified => Master Head
* resolution: => Fixed


Comment:

Fixed in [4c5b039a]

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10557#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.