Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2014 14:34:49 GMT
From:      Arto Pekkanen <aksyom@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190308: emulators/higan crashes with GLX video output
Message-ID:  <201405271434.s4REYnCc089146@cgiserv.freebsd.org>
Resent-Message-ID: <201405271440.s4REe1PQ092722@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         190308
>Category:       ports
>Synopsis:       emulators/higan crashes with GLX video output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 27 14:40:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Arto Pekkanen
>Release:        10.0-RELEASE
>Organization:
none
>Environment:
FreeBSD aakkeri.lan 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Sat May 17 15:14:20 EEST 2014     adm@aakkeri.lan:/usr/obj/usr/src/sys/AAKKERI  amd64
>Description:
NOTE: my kernel is same as GENERIC, except I've disabled "options vesa" to make suspend/resume work. This should not affect how higan works.

When you compile emulators/higan with GLX video output option, the game tries to first enable GLX and then crashes.
 
The actual error is:
 
The program 'phoenix' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 33 error_code 1 request_code 153 minor_code 34)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Segmentation fault (core dumped)
[adm@aakkeri /usr/home/adm]$ higan --help
The program 'phoenix' received an X Window System error
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no s
  (Details: serial 33 error_code 1 request_code 153 min
  (Note to programmers: normally, X errors are reported
   that is, you will receive the error a while after ca
   To debug your program, run it with the --sync comman
   option to change this behavior. You can then get a m
   backtrace from your debugger if you break on the gdk.)
Segmentation fault (core dumped)
 
You can get the core dump from here:
http://koti.kapsi.fi/~isoa/pr/2014-05-21/higan.core
 
The segfault with GLX driver is almost the same as this:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730836
 
Error string is different though.
 
There are similar crashes with higan in other Linuxen too. You can google with "higan crash" and see what shows up.
>How-To-Repeat:
1) enable option "GLX"
2) compile and install higan
3) start higan
>Fix:
Disable GLX video output option, recompile higan.
 
I compiled mine with SDL video output, no idea if the other options work.
 
SUGGESTION: turn off the GLX video output option by default, because now all binary packages in official repo have this problem. SDL video output works for me and should work for others too.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405271434.s4REYnCc089146>