[mythtv-commits] Ticket #2865: Calling mythfrontend with option -display results in segmentation fault

MythTV mythtv at cvs.mythtv.org
Fri Jan 12 01:46:30 UTC 2007


#2865: Calling mythfrontend with option -display results in segmentation fault
---------------------------------+------------------------------------------
 Reporter:  m.brekhof at gmail.com  |        Owner:  danielk
     Type:  defect               |       Status:  closed 
 Priority:  minor                |    Milestone:  unknown
Component:  mythtv               |      Version:  0.20   
 Severity:  medium               |   Resolution:  fixed  
---------------------------------+------------------------------------------
Changes (by danielk):

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

Comment:

 (In [12485]) Fixes #2865. Fixes SEGFAULT when -display used without
 another valid display in DISPLAY env variable.

 Unfortunately this requires a MYTH_BINARY_VERSION change so you must
 recompile & install the plugins after installing the update mythtv
 libraries.

 The problem was that we attempted to open the display before we had parsed
 and/or set the MythContext's X11 display string. This meant that at best
 we opened the wrong display when detecting the screen settings the first
 time, and at worst we segfaulted if the DISPLAY environment variable
 wasn't set to a valid X11 server.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2865#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list