FS#37967 - [higan] Segmentation fault

Attached to Project: Community Packages
Opened by killruana (killruana) - Sunday, 01 December 2013, 14:03 GMT
Last edited by Balló György (City-busz) - Friday, 08 August 2014, 15:25 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When starting, higan crash with a segmentation fault:

[killruana@fanstasmic ~]$ higan

(phoenix:1206): Gdk-WARNING **: gdk_window_set_icon_list: icons too large
The program 'phoenix' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadFBConfig'.
(Details: serial 33 error_code 181 request_code 154 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.)
Erreur de segmentation (core dumped)


Packages:
community/higan-gtk 093-2
core/linux 3.12.1-3 (base)
extra/mesa 9.2.4-1
extra/nouveau-dri 9.2.4-1
extra/libx11 1.6.2-1


dmesg log :
[ 693.850028] higan-accuracy[1138]: segfault at 968 ip 00007f4d60f2c1cc sp 00007fff449927d0 error 4 in libX11.so.6.3.0[7f4d60f07000+135000]


backtrace :
#0 0x00007ffff78c31cc in XFreeCursor () from /usr/lib/libX11.so.6
#1 0x00000000004fcf48 in ruby::InputSDL::term() ()
#2 0x00000000004f7bd2 in ruby::InputInterface::term() ()
#3 0x00007ffff31edea9 in __run_exit_handlers () from /usr/lib/libc.so.6
#4 0x00007ffff31edef5 in exit () from /usr/lib/libc.so.6
#5 0x00007ffff6e06dc4 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#6 0x00007ffff78e11db in _XError () from /usr/lib/libX11.so.6
#7 0x00007ffff4ffb4c2 in ?? () from /usr/lib/libGL.so.1
#8 0x00007ffff4ff7a6e in ?? () from /usr/lib/libGL.so.1
#9 0x000000000050733b in ruby::pVideoGLX::init() ()
#10 0x0000000000489faf in Program::Program(int, char**) ()
#11 0x00000000004849a1 in main ()
This task depends upon

Closed by  Balló György (City-busz)
Friday, 08 August 2014, 15:25 GMT
Reason for closing:  No response
Comment by Maxime Gauduin (Alucryd) - Sunday, 01 December 2013, 19:42 GMT
I can't reproduce this on my 2 machines. I don't know what could be causing this, your best bet would be to ask on the higan forums (byuu has no bug tracker).
Comment by killruana (killruana) - Saturday, 07 December 2013, 11:27 GMT
Since my account is still waiting to be validated by byuu I started to investigate on my side.
The problem is caused by OpenGL. When I force the use of SDL in the config file, the emulator starts without crash.

Comment by Maxime Gauduin (Alucryd) - Saturday, 07 December 2013, 12:42 GMT
I see. I'm using OpenGL without any problem though, fyi I have a GTX680 and am using the binary blob. Are you able to run other OpenGL applications?
Comment by killruana (killruana) - Saturday, 07 December 2013, 13:48 GMT
I have a GeForce 105M and I can run other OpenGL applications.
Comment by Maxime Gauduin (Alucryd) - Thursday, 13 February 2014, 14:43 GMT
Any news from upstream? Does it still happen with v094?
Comment by killruana (killruana) - Thursday, 13 February 2014, 14:53 GMT
Still waiting for my registration validation on upstream forum…
The chrash still happen with v094.

Packages:
community/higan-gtk 094-1
core/linux 3.12.9-2 (base)
extra/mesa 10.0.3-1
extra/nouveau-dri 10.0.3-1

Comment by Jelle van der Waa (jelly) - Saturday, 15 February 2014, 20:27 GMT
Do you have a custom config file? Did you try moving it from?
Comment by killruana (killruana) - Monday, 17 February 2014, 13:14 GMT
My only changes are:
- using SDL driver instead of opengl
- configure input to work with xbox360 gamepad


Default config doesn't work:
[killruana@fanstasmic ~]$ mv ~/.config/higan ~/.config/higan.bak
[killruana@fanstasmic ~]$ higan-performance
The program 'phoenix' received an X Window System error.
This probably reflects a bug in the program.
The error was 'GLXBadFBConfig'.
(Details: serial 33 error_code 181 request_code 156 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.)
Erreur de segmentation (core dumped)
Comment by Doug Newgard (Scimmia) - Friday, 30 May 2014, 16:40 GMT
Any response from upstream?

Loading...