[mythtv-commits] Ticket #2865: Calling mythfrontend with option -display results in segmentation fault
MythTV
mythtv at cvs.mythtv.org
Tue Jan 9 12:25:39 UTC 2007
#2865: Calling mythfrontend with option -display results in segmentation fault
---------------------------------+------------------------------------------
Reporter: m.brekhof at gmail.com | Owner: danielk
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtv | Version: 0.20
Severity: medium | Resolution:
---------------------------------+------------------------------------------
Comment (by nigel):
The patch looks correct (although I would shorten to just if (!d) return
0; ), but I have been unable to reproduce the fault. ''e.g.'' on an ssh
into a working setup:
{{{
$ mythfrontend -display :4
mythfrontend: cannot connect to X server :4
$ mythfrontend --version
mythfrontend: cannot connect to X server
}}}
or after Ctrl-Alt-F1 on the same machine:
{{{
$ mythfrontend -display :0
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
mythfrontend: cannot connect to X server :0
$
}}}
This was with something slightly newer than 0.20, but nothing much seems
to have changed in the X chicken-and-egg startup.
[[BR]]
Note also that -display and --display behave slightly differently. One
uses Qt first, one doesn't
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2865#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list