This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Crash in Cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]