I have tested running the program (attached before, with modification to print "Direct: yes/no") on my other computer (same server version, but software rasterizer). The program crashes, but not the server. The program outputs the following:
failed to create drawable
Direct: yes
Segmentation fault
Happens also when I run remote programs (it also says "Direct: yes" in that case, which makes no sense, I think).
I have tested running the program (attached before, with modification to print "Direct: yes/no") on my other computer (same server version, but software rasterizer). The program crashes, but not the server. The program outputs the following:
failed to create drawable
Direct: yes
Segmentation fault
Happens also when I run remote programs (it also says "Direct: yes" in that case, which makes no sense, I think).
Top of backtrace:
#0 0xb77d305f in XCreateDrawable (psc=0x80aa2f8, xDrawable=56623137, 56623137, modes=0x80b4480) at drisw_glx.c:89
foreground = 3540936910, background = 1915168984,
line_ width = -928079311, line_style = -2102111902,
fill_ style = 504982920, fill_rule = -1981880903,
ts_x_ origin = 2135257643, ts_y_origin = -1073749304,
graphics_ exposures = 0, clip_x_origin = 63, clip_y_origin = 1,
green_ mask = 3078446832, blue_mask = 56623137,
colormap_ size = 134934184, bits_per_rgb = -1073748968} 0x80b4480) at drisw_glx.c:321 =56623137, gc=0x80aeea8) at glxcurrent.c:294
bindReturnValu e = <value optimized out>
drawable=
gcvalues = {function = 3, plane_mask = 3450467868,
cap_style = 1901201503, join_style = -1946909669,
arc_mode = 742396610, tile = 3411661115, stipple = 3456143762,
font = 3221217988, subwindow_mode = -1073749324,
clip_mask = 3221218224, dash_offset = 1870652674,
dashes = -48 '\320'}
visTemp = {visual = 0xbfffe494, visualid = 0, screen = 0,
depth = 134938528, class = 56623137, red_mask = 3221218296,
num_visuals = 0
#1 driCreateDrawable (psc=0x80aa2f8, xDrawable=56623137, drawable=56623137,
modes=
pdraw = <value optimized out>
swrast = <value optimized out>
#2 0xb77b175e in FetchDRIDrawable (dpy=<value optimized out>,
glxDrawable
priv = <value optimized out>
pdraw = <value optimized out>
psc = <value optimized out>
#3 0xb77b1ab6 in MakeContextCurrent (dpy=0x8060a30, draw=56623137,
read=56623137, gc=0x80aeea8) at glxcurrent.c:370
pdraw = 0xb7fff697
pread = <value optimized out>
reply = {type = 14 '\016', unused = 0 '\000', sequenceNumber = 0,
length = 0, contextTag = 134521636, pad2 = 1, pad3 = 3078236324,
pad4 = 134934184, pad5 = 3221218996, pad6 = 134899480}
oldGC = 0xb77f77e0
opcode = 151 '\227'
oldOpcode = <value optimized out>
state = <value optimized out>
#4 0x08048dd9 in configure ()
...