public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
* Crash in Cygwin
@ 2003-02-28  6:50 Stanley M Sutton
  2003-02-28  9:51 ` Juergen Ruehle
  0 siblings, 1 reply; 4+ messages in thread
From: Stanley M Sutton @ 2003-02-28  6:50 UTC (permalink / raw)
  To: Xconq7


I'm getting a crash in game setup with cygwin:

Program received signal SIGSEGV, Segmentation fault.
0x0042a40b in imfsample_configure (interp=0x18c62e68, imfsample=0x19015c90, argc
=10, argv=0xd1d448, flags=0) at tkisamp.c:464
464             imfsample->copygc = XCreateGC(imfsample->display,
(gdb) list
459         if ((imfsample->copygc == None) && 1/*imfsample->double_buffer*/) {
460             XGCValues gcValues;
461
462             gcValues.function = GXcopy;
463             gcValues.graphics_exposures = False;
464             imfsample->copygc = XCreateGC(imfsample->display,
465                                           DefaultRootWindow(imfsample->displ
ay),
466                                           GCFunction|GCGraphicsExposures,
467                                           &gcValues);
468         }
(gdb)

And here's the lowest 2 stackframes with locals included:
(gdb) bt 2 full
#0  0x0042a40b in imfsample_configure (interp=0x18c62e68, imfsample=0x19015c90,
argc=10, argv=0xd1d448, flags=0) at tkisamp.c:464
        interp = (Tcl_Interp *) 0x50
        imfsample = (Imfsample *) 0x19015c90
        argc = 80
        argv = (char **) 0x50
        flags = 80
        gcValues = {function = 3, plane_mask = 1, foreground = 16,
  background = 1627890464, line_width = 3200, line_style = 1,
  cap_style = 419516400, join_style = 25, fill_style = 419516392,
  fill_rule = 415438304, arc_mode = 13751240, tile = 268539355, stipple = 16,
  ts_x_origin = 4, ts_y_origin = 419574000, font = 153,
  subwindow_mode = 419578632, graphics_exposures = 0,
  clip_x_origin = 13751272, clip_y_origin = 7858672, clip_mask = 16,
  dash_offset = 0, dashes = -128 '\200'}
#1  0x004297c9 in imfsample_cmd (cldata=0x18c610c8, interp=0x18c62e68, argc=12,
argv=0xd1d440) at tkisamp.c:245
        cldata = 0x50
        interp = (Tcl_Interp *) 0x18c62e68
        imfsample = (Imfsample *) 0x19015c90
        tkwin = 0x19014b90
(More stack frames follow...)
(gdb)

Here's the lowest 10 stackframes:
(gdb) bt 10
#0  0x0042a40b in imfsample_configure (interp=0x18c62e68, imfsample=0x19015c90,
argc=10, argv=0xd1d448, flags=0) at tkisamp.c:464
#1  0x004297c9 in imfsample_cmd (cldata=0x18c610c8, interp=0x18c62e68, argc=12,
argv=0xd1d440) at tkisamp.c:245
#2  0x10012f71 in TclInvokeStringCommand (clientData=0x18d8dbd0, interp=0x18c62e
68, objc=12, objv=0x18c66e24) at ../generic/tclBasic.c:1778
#3  0x1001436a in TclEvalObjvInternal (interp=0x18c62e68, objc=12, objv=0x18c66e
24, command=0x0, length=0, flags=0) at ../generic/tclBasic.c:3048
#4  0x10045fb5 in TclExecuteByteCode (interp=0x18c62e68, codePtr=0x19020370) at
../generic/tclExecute.c:1431
#5  0x100451e0 in TclCompEvalObj (interp=0x18c62e68, objPtr=0x18d1a030) at ../ge
neric/tclExecute.c:1008
#6  0x100821bb in TclObjInterpProc (clientData=0x18e144e8, interp=0x18c62e68, ob
jc=1, objv=0x18c66e20) at ../generic/tclProc.c:1082
#7  0x1001436a in TclEvalObjvInternal (interp=0x18c62e68, objc=1, objv=0x18c66e2
0, command=0x0, length=0, flags=0) at ../generic/tclBasic.c:3048
#8  0x10045fb5 in TclExecuteByteCode (interp=0x18c62e68, codePtr=0x1900a260) at
../generic/tclExecute.c:1431
#9  0x100451e0 in TclCompEvalObj (interp=0x18c62e68, objPtr=0x18d1a078) at ../ge
neric/tclExecute.c:1008
(More stack frames follow...)
(gdb)


This occurs after finishing the game setup, but before the player setup.

Would anything else be helpful?



_______________________________________________
Can a Web portal forever change your life?
Win up to $25 Million on iWon - http://www.iwon.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re:Crash in Cygwin
  2003-02-28  6:50 Crash in Cygwin Stanley M Sutton
@ 2003-02-28  9:51 ` Juergen Ruehle
  0 siblings, 0 replies; 4+ messages in thread
From: Juergen Ruehle @ 2003-02-28  9:51 UTC (permalink / raw)
  To: smsutton; +Cc: xconq7

Stanley M Sutton writes:
 > I'm getting a crash in game setup with cygwin:

Is this on Win9x or NT? While it doesn't exactly look like what I've
seen, on 9x this could be another incarnation of the 'Out of GDI
resources' crash. Easily checkable using Windows' resource monitor.

       jr

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re:Crash in Cygwin
  2003-02-28 10:10 Stanley M Sutton
@ 2003-02-28 17:02 ` Hans Ronne
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Ronne @ 2003-02-28 17:02 UTC (permalink / raw)
  To: smsutton; +Cc: xconq7

>Could be, I'll check it out.  It seems a bit early to be using up all the
>GDI resources, unless all images are being loading into reserved memory,
>though.  It is on Windows 98.
>
>
>
>
> --- On Fri 02/28, Juergen Ruehle < j.ruehle@bmiag.de > wrote:
>From: Juergen Ruehle [mailto: j.ruehle@bmiag.de]
>To: smsutton@iwon.com
>     Cc: xconq7@sources.redhat.com
>Date: Fri, 28 Feb 2003 10:54:24 +0100
>Subject: Re:Crash in Cygwin
>
>Stanley M Sutton writes:
> > I'm getting a crash in game setup with cygwin:
>
>Is this on Win9x or NT? While it doesn't exactly look like what I've
>seen, on 9x this could be another incarnation of the 'Out of GDI
>resources' crash. Easily checkable using Windows' resource monitor.

I've made a lot of changes to the tcltk interface recently, and none of
them has been tested with Cygwin. If it is not a GDI problem, it would be
useful to know how far back in the CVS sources this problem first appeared.
And also what game module(s) you see it with.

Hans


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re:Crash in Cygwin
@ 2003-02-28 10:10 Stanley M Sutton
  2003-02-28 17:02 ` Hans Ronne
  0 siblings, 1 reply; 4+ messages in thread
From: Stanley M Sutton @ 2003-02-28 10:10 UTC (permalink / raw)
  To: j.ruehle, Xconq7


Could be, I'll check it out.  It seems a bit early to be using up all the GDI resources, unless all images are being loading into reserved memory, though.  It is on Windows 98.




 --- On Fri 02/28, Juergen Ruehle < j.ruehle@bmiag.de > wrote:
From: Juergen Ruehle [mailto: j.ruehle@bmiag.de]
To: smsutton@iwon.com
     Cc: xconq7@sources.redhat.com
Date: Fri, 28 Feb 2003 10:54:24 +0100
Subject: Re:Crash in Cygwin

Stanley M Sutton writes:
 > I'm getting a crash in game setup with cygwin:

Is this on Win9x or NT? While it doesn't exactly look like what I've
seen, on 9x this could be another incarnation of the 'Out of GDI
resources' crash. Easily checkable using Windows' resource monitor.

       jr



_______________________________________________
Can a Web portal forever change your life?
Win up to $25 Million on iWon - http://www.iwon.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-28 17:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-28  6:50 Crash in Cygwin Stanley M Sutton
2003-02-28  9:51 ` Juergen Ruehle
2003-02-28 10:10 Stanley M Sutton
2003-02-28 17:02 ` Hans Ronne

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).