NetBSD Problem Report #44066

From dholland@eecs.harvard.edu  Mon Nov  8 08:52:48 2010
Return-Path: <dholland@eecs.harvard.edu>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 96C8863BAC2
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  8 Nov 2010 08:52:48 +0000 (UTC)
Message-Id: <20101108073616.6BFA0F8FF@tanaqui.eecs.harvard.edu>
Date: Mon,  8 Nov 2010 02:36:16 -0500 (EST)
From: dholland@eecs.harvard.edu
Reply-To: dholland@eecs.harvard.edu
To: gnats-bugs@gnats.NetBSD.org
Subject: emulators/e-uae crashes on amd64
X-Send-Pr-Version: 3.95

>Number:         44066
>Category:       pkg
>Synopsis:       emulators/e-uae crashes on amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    adam
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 08 08:55:00 +0000 2010
>Last-Modified:  Fri Nov 12 02:28:25 +0000 2010
>Originator:     David A. Holland
>Release:        NetBSD 5.99.29 (20100529)
>Organization:
>Environment:
System: NetBSD valkyrie 5.99.29 NetBSD 5.99.29 (VALKYRIE) #1: Sat May 29 23:00:44 EDT 2010  dholland@valkyrie:/usr/src/sys/arch/amd64/compile/VALKYRIE amd64
Architecture: x86_64
Machine: amd64
>Description:

e-uae crashes during startup:

   valkyrie% uae
   E-UAE 0.8.28
   Build date: Nov  7 2010 01:41:48
   SDLGFX: Initialized.
   SDLGFX: Using SDL version 1.2.14.
   SDLGFX: Display is 32 bits deep.
   SDLGFX: Found screenmode: 1152x864.
   SDLGFX: Found screenmode: 1024x768.
   SDLGFX: Found screenmode: 832x624.
   SDLGFX: Found screenmode: 800x600.
   SDLGFX: Found screenmode: 720x400.
   SDLGFX: Found screenmode: 640x480.
   SDLGFX: Found screenmode: 640x400.
   SDLGFX: Found screenmode: 640x350.
   Found 0 joystick(s)
   Using cooked keymap
   Opening cfgfile '/disk/disk1/home/dholland/.uaerc'...failed
   Opening cfgfile '.uaerc'...failed
   Testing the RDTSC instruction ... done.
   Calibrating TSC frequency...TSC frequency: 3065.939070 MHz
   Testing system sleep function..
   Average duration of a 1ms sleep: 18 ms
   Enabling busy-waiting for sub-10ms sleeps
   Using cooked keymap
   Segmentation fault
   Exit 139
   valkyrie% 

Appears to be gtk-related:

#0  0x00007f7ff7e288ce in g_type_is_a () from /usr/pkg/lib/libgobject-2.0.so.0
#1  0x00007f7ffd41c5ce in gtk_type_new () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#2  0x00000000004661e8 in ?? ()
#3  0x00007f7ff723b723 in g_source_get_current_time () from /usr/pkg/lib/libglib-2.0.so.0
#4  0x00007f7ff723b049 in g_main_context_dispatch () from /usr/pkg/lib/libglib-2.0.so.0
#5  0x00007f7ff723e3bf in g_main_context_prepare () from /usr/pkg/lib/libglib-2.0.so.0
#6  0x00007f7ff723e6f9 in g_main_loop_run () from /usr/pkg/lib/libglib-2.0.so.0
#7  0x00007f7ffd329fd1 in gtk_main () from /usr/pkg/lib/libgtk-x11-2.0.so.0
#8  0x000000000045f908 in ?? ()
#9  0x00007f7ff6a11add in SDL_RunThread () from /usr/pkg/lib/libSDL-1.2.so.0
#10 0x00007f7ff6a4a74f in RunThread () from /usr/pkg/lib/libSDL-1.2.so.0
#11 0x00007f7ff660ad79 in pthread_setcancelstate () from /usr/lib/libpthread.so.1
#12 0x00007f7ff6272b50 in ___lwp_park50 () from /usr/lib/libc.so.12
#13 0x00007f7ff2400000 in ?? ()
#14 0x0000000111110001 in ?? ()
#15 0x0000000033330003 in ?? ()
#16 0x0000000000000000 in ?? ()

gtk2+ is 2.20.1nb2
glib2 is 2.26.0

Reverting the most recent glib2 update did not make the problem go
away. I haven't tried more elaborate reversions because I ran into
an unrelated odd problems with make undo-replace.

I think this used to work months ago, but I'm not entirely sure if
that was e-uae or plain uae.

>How-To-Repeat:

as above, just run it.

>Fix:

Dunno. As a workaround, compile without gtk support.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Thu, 11 Nov 2010 11:01:19 +0000
Responsible-Changed-Why:
Over to maintainer.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.