From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 27 14:40:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9C29F2E7 for ; Tue, 27 May 2014 14:40:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 78DF820B2 for ; Tue, 27 May 2014 14:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4REe1YJ092723 for ; Tue, 27 May 2014 14:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4REe1PQ092722; Tue, 27 May 2014 14:40:01 GMT (envelope-from gnats) Resent-Date: Tue, 27 May 2014 14:40:01 GMT Resent-Message-Id: <201405271440.s4REe1PQ092722@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Arto Pekkanen Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9E98F43 for ; Tue, 27 May 2014 14:34:49 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BE1B72060 for ; Tue, 27 May 2014 14:34:49 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4REYnNp089148 for ; Tue, 27 May 2014 14:34:49 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4REYnCc089146; Tue, 27 May 2014 14:34:49 GMT (envelope-from nobody) Message-Id: <201405271434.s4REYnCc089146@cgiserv.freebsd.org> Date: Tue, 27 May 2014 14:34:49 GMT From: Arto Pekkanen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/190308: emulators/higan crashes with GLX video output X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2014 14:40:01 -0000 >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: