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

Mailing List Archive: MythTV: Commits

Ticket #11070: Crash in before MFE main window drawn

 

 

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


noreply at mythtv

Sep 5, 2012, 5:40 PM

Post #1 of 8 (192 views)
Permalink
Ticket #11070: Crash in before MFE main window drawn

#11070: Crash in before MFE main window drawn
------------------------------------------------+-----------------------
Reporter: Craig Treleaven <ctreleaven@…> | Owner: jyavenard
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: Ports - OSX | Version: 0.25.2
Severity: medium | Keywords:
Ticket locked: 0 |
------------------------------------------------+-----------------------
Multiple users are reporting that mythfrontend on OS X crashes before
drawing the main window. Details, including logs and OS X crash reports
are at https://trac.macports.org/ticket/35934

Crash reports indicate MythMainWindow::Init calls QWidget::setWindowFlags,
etc leading to the exception. MacPorts version is built with Qt 4.8.2.
Note that mythfrontend built with the osx-packager-qtsdk works OK--believe
this would be an older version of Qt.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11070>
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

Sep 6, 2012, 2:13 AM

Post #2 of 8 (176 views)
Permalink
Re: Ticket #11070: Crash in before MFE main window drawn [In reply to]

#11070: Crash in before MFE main window drawn
--------------------------------------------+---------------------------
Reporter: Craig Treleaven <ctreleaven@…> | Owner: jyavenard
Type: Bug Report - Crash | Status: closed
Priority: minor | Milestone: unknown
Component: Ports - OSX | Version: 0.25.2
Severity: medium | Resolution: Invalid
Keywords: | Ticket locked: 0
--------------------------------------------+---------------------------
Changes (by jyavenard):

* status: new => closed
* resolution: => Invalid


Comment:

I always build against stock 4.8.2, and never ever saw that crash...

Considering I will only support at this stage something build with myth
official packager, and that it uses stock qt and not the heavily patched
one from mac port, I will close this as invalid.

If you have backtraces, use myth trac. I don't look at external bug
system.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11070#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

Sep 6, 2012, 4:15 AM

Post #3 of 8 (176 views)
Permalink
Re: Ticket #11070: Crash in before MFE main window drawn [In reply to]

#11070: Crash in before MFE main window drawn
--------------------------------------------+---------------------------
Reporter: Craig Treleaven <ctreleaven@…> | Owner: jyavenard
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: Ports - OSX | Version: 0.25.2
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
--------------------------------------------+---------------------------
Changes (by Craig Treleaven <ctreleaven@…>):

* status: closed => new
* resolution: Invalid =>


--
Ticket URL: <http://code.mythtv.org/trac/ticket/11070#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

Sep 6, 2012, 4:30 AM

Post #4 of 8 (178 views)
Permalink
Re: Ticket #11070: Crash in before MFE main window drawn [In reply to]

#11070: Crash in before MFE main window drawn
--------------------------------------------+---------------------------
Reporter: Craig Treleaven <ctreleaven@…> | Owner: jyavenard
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: Ports - OSX | Version: 0.25.2
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
--------------------------------------------+---------------------------

Comment (by Craig Treleaven <ctreleaven@…>):

Replying to [comment:1 jyavenard]:
> ...
> If you have backtraces, use myth trac. I don't look at external bug
system.

Will attach. Key points -

Several people have built and run Myth from MacPorts. This issue affects
a subset but is a repeatable crash for them. Affects 10.7.4, 10.8.1 and
10.8.2 on machines ranging from a Mac Mini to a Mac Pro. Eg, one user has
three machines all exhibiting the problem:

2009 Mac Pro running OSX 10.8.1
2011 Macbook Pro running OSX 10.8.1
Mid 2010 Mac Mini running OSX 10.7.4.
The backend is Ubuntu (precise) running mythtv backend
2:0.25.2+fixes.20120828.d519276-0ubuntu0mythbuntu4.

Both users are connecting to a remote backend running Linux but the crash
seems to happen early in the launch of mythfrontend so I don't see how
that could contribute to the problem. One user reports that he is able to
run mythtv-setup successfully. (The other migrated to 0.26 before testing
further.)

MacPorts Qt is used by dozens of ports and there are no reports of similar
problems. But if this is a problem with the MacPorts Qt, the port
maintainer would appreciate knowing.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11070#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

Sep 7, 2012, 5:49 AM

Post #5 of 8 (168 views)
Permalink
Re: Ticket #11070: Crash in before MFE main window drawn [In reply to]

#11070: Crash in before MFE main window drawn
--------------------------------------------+---------------------------
Reporter: Craig Treleaven <ctreleaven@…> | Owner: jyavenard
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: Ports - OSX | Version: 0.25.2
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
--------------------------------------------+---------------------------

Comment (by jyavenard):

That may very well be... But you can't expect me to troubleshoot and find
a bug that do not show when you use stock Qt....

The crash occurs in libunwind that just a few minutes ago didn't even know
existed...

I just don't have to time bandwidth to do so..

Reproduce it with stock Qt, and then we'll see

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11070#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


noreply at mythtv

Sep 7, 2012, 11:12 AM

Post #6 of 8 (167 views)
Permalink
Re: Ticket #11070: Crash in before MFE main window drawn [In reply to]

#11070: Crash in before MFE main window drawn
--------------------------------------------+---------------------------
Reporter: Craig Treleaven <ctreleaven@…> | Owner: jyavenard
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: Ports - OSX | Version: 0.25.2
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
--------------------------------------------+---------------------------

Comment (by Craig Treleaven <ctreleaven@…>):

See attached MFE log, report "kCGErrorIllegalArgument: CGSOrderWindowList"
--I believe this is an analogous error to that which leads to a crash on
other machines. My MacPorts frontend logs contain the same two error
lines.

From spelunking the code (which is a dangerous thing for me), I notice
that mythtv/programs/mythfrontend/main.cpp (starting at line 1615) seems
to be somewhat different from mythtv/programs/mythtv-setup/main.cpp (see
line 349 and then line 486). The difference is that mythtv-seup calls
gCoreContext->SetSetting("Theme", DEFAULT_UI_THEME); -- mythfrontend only
does gCoreContext->GetSetting("Theme", DEFAULT_UI_THEME); --no
SetSetting. Maybe it is nothing...thought it was worth mentioning.

Also, the app crashed on exit. I have the crash report if you want it but
I don't think it is related to the issue at hand.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11070#comment:5>
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

Sep 18, 2012, 4:47 AM

Post #7 of 8 (127 views)
Permalink
Re: Ticket #11070: Crash in before MFE main window drawn [In reply to]

#11070: Crash in before MFE main window drawn
--------------------------------------------+---------------------------
Reporter: Craig Treleaven <ctreleaven@…> | Owner: jyavenard
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: Ports - OSX | Version: 0.25.2
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
--------------------------------------------+---------------------------

Comment (by Craig Treleaven <ctreleaven@…>):

It appears that XCode 4.4 is the cause of the problem. One of the
affected users, James George, put a tremendous amount of work into
tracking down the issue. We eventually determined that the code would run
successfully if built with apple-gcc-4.2. James has determined that code
produced with XCode 4.3.3 works OK; XCode 4.4.0+ leads to crashes.
Testing done on 10.7.4.

There were no obvious errors reported in the XCode 4.4.0+ builds.

More details at:

https://trac.macports.org/ticket/35934

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11070#comment:6>
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

Sep 18, 2012, 3:09 PM

Post #8 of 8 (125 views)
Permalink
Re: Ticket #11070: Crash in before MFE main window drawn [In reply to]

#11070: Crash in before MFE main window drawn
--------------------------------------------+---------------------------
Reporter: Craig Treleaven <ctreleaven@…> | Owner: jyavenard
Type: Bug Report - Crash | Status: new
Priority: minor | Milestone: unknown
Component: Ports - OSX | Version: 0.25.2
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
--------------------------------------------+---------------------------

Comment (by jyavenard):

I build with Xcode 4.4 since the first beta was available, using llvm (not
llvm-gcc) with no problem at all.

Try building without using gcc. Gcc hasn't been upgraded since Xcode 4.1
and will be removed in the next version of Xcode.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11070#comment:7>
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.