From nobody@FreeBSD.org  Sun Dec 18 13:10:30 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CDBD816A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Dec 2005 13:10:30 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 23B7943D49
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Dec 2005 13:10:30 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id jBIDATOE049963
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Dec 2005 13:10:29 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id jBIDATbZ049962;
	Sun, 18 Dec 2005 13:10:29 GMT
	(envelope-from nobody)
Message-Id: <200512181310.jBIDATbZ049962@www.freebsd.org>
Date: Sun, 18 Dec 2005 13:10:29 GMT
From: Gregor Stucke <sgreg@cinghiale.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: truevision crashes on load/save of a scene
X-Send-Pr-Version: www-2.3

>Number:         90599
>Category:       ports
>Synopsis:       truevision crashes on load/save of a scene
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 18 13:20:02 GMT 2005
>Closed-Date:    Sat Jan 21 22:03:23 GMT 2006
>Last-Modified:  Sat Jan 21 22:03:23 GMT 2006
>Originator:     Gregor Stucke
>Release:        5.3
>Organization:
>Environment:
FreeBSD napoli.local 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Thu Sep 22 19:33:25 CEST 2005     gregor@napoli.local:/usr/src/sys/i386/compile/ASPIRE_5_3  i386
>Description:
The port graphics/truevision (actually version 0.5.5.2, but even each older version) crashes, if one tries to load a scene or to save a scene. In the case of loading, one will see the scene for about 1/10 second - it looks all right. In any case there is this message:

The program 'truevision' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 104601 error_code 2 request_code 94 minor_code 0)
  (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.)

The gdk_x_error breakpoint doesn't work, but breaking on exit gives:

#0  0x291888b0 in exit () from /lib/libc.so.5
#1  0x2893d2ce in gdk_keyboard_grab_info_libgtk_only () from /usr/X11R6/lib/libgdk-x11-2.0.so.0
#2  0x283509f1 in bonobo_x_error_handler () from /usr/X11R6/lib/libbonoboui-2.so.0
#3  0x28b04e2f in _XError () from /usr/X11R6/lib/libX11.so.6
#4  0x28b035fa in _XReply () from /usr/X11R6/lib/libX11.so.6
#5  0x28afee5c in XSync () from /usr/X11R6/lib/libX11.so.6
#6  0x28afeeed in _XSyncFunction () from /usr/X11R6/lib/libX11.so.6
#7  0x28ae70f1 in XCreateGlyphCursor () from /usr/X11R6/lib/libX11.so.6
#8  0x28ae742b in XCreateFontCursor () from /usr/X11R6/lib/libX11.so.6
#9  0x28927981 in gdk_cursor_new_for_display () from /usr/X11R6/lib/libgdk-x11-2.0.so.0
#10 0x2890b429 in gdk_cursor_new () from /usr/X11R6/lib/libgdk-x11-2.0.so.0
#11 0x08186528 in ViewManager::set_pointer_mode (this=0x868e140, pmode=7) at viewmanager.cc:122
#12 0x080de726 in Interface::set_hourglass (this=0x8258780, set=false) at interface.cc:548
#13 0x0814cf3c in Scene::load (this=0x8384880, gname=0x88631c0 "/home/gregor/lair.tvs") at scene.cc:701
#14 0x0814ca33 in Scene::load_as (this=0x8384880) at scene.cc:617
#15 0x080def13 in interf_sign_menu_open (wid=0x865dac0, data=0x8258780) at interface.h:55
.. (snip)
>How-To-Repeat:
Try to load a scene, e.g. the example lair.tvs from truevision itself.
Or try to save a scene, e.g. a simple box.
>Fix:
              
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Wed Dec 21 00:02:20 UTC 2005 
State-Changed-Why:  
This port is currently without a maintainer. I'm afraid we can't help you, 
as this looks like an application problem, not something caused by the FreeBSD 
port. Have you tried contacting authors? 

Waiting for someone submitting patch to fix the problem. 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Wed Dec 21 00:02:20 UTC 2005 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90599 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Sat Jan 21 22:03:07 UTC 2006 
State-Changed-Why:  
Feedback timeout, sorry. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90599 
>Unformatted:
