Re: RFS: MiceAmaze video game
New review:
Since there were no blocking issues, I have uploaded this. It will
soon be in NEW, where it will be re-checked for legal issues before
reaching Debian itself.
http://ftp-master.debian.org/new.html
Some things you might want to fix for the next version
You may want to run wrap-and-sort -sa to wrap and sort debian/control.
Also do that whenever you change debian/control. This makes diffs
easier to read and apply.
I'd suggest overriding DATAPATH for Debian to be /usr/share/games/miceamaze
In the Makefile, $(BUILTDATA) should go on the all line, not the
miceamaze line, since the data isn't built into the executable.
The non-UTF-8 files.
If I start the game with no configuration, go to the options, press
the window button and then press the fullscreen button, the game
segfaults. It crashes after going full-screen again. Sometimes I need
to press more buttons. This looks like a driver bug since it crashes
in the DRI code, but maybe there is some incorrect GL code in
miceamaze?
Core was generated by `./miceamaze'.
Program terminated with signal 11, Segmentation fault.
#0 brw_update_renderbuffer_surface (brw=0x7f4002d15040, rb=0xce2420,
unit=0) at brw_wm_surface_state.c:954
954 brw_wm_surface_state.c: No such file or directory.
(gdb) thread apply all bt full
Thread 1 (Thread 0x7f400cb527a0 (LWP 31461)):
#0 brw_update_renderbuffer_surface (brw=0x7f4002d15040, rb=0xce2420,
unit=0) at brw_wm_surface_state.c:954
intel = 0x7f4002d15040
ctx = 0x7f4002d15040
irb = 0xce2420
mt = 0x0
region = <optimized out>
surf = <optimized out>
tile_x = 32576
tile_y = 32736
format = 0
__FUNCTION__ = "brw_update_renderbuffer_surface"
#1 0x00007f4002237750 in brw_update_renderbuffer_surfaces
(brw=0x7f4002d15040) at brw_wm_surface_state.c:1047
intel = 0x7f4002d15040
ctx = 0x7f4002d15040
i = <optimized out>
#2 0x00007f4002221a90 in brw_upload_state
(brw=brw@entry=0x7f4002d15040) at brw_state_upload.c:503
atom = <optimized out>
ctx = 0x7f4002d15040
intel = 0x7f4002d15040
state = 0x7f4002d34bf4
i = <optimized out>
dirty_count = 0
#3 0x00007f400220f527 in brw_try_draw_prims (max_index=<optimized
out>, min_index=<optimized out>, ib=0x0, nr_prims=1,
prim=0x7fffaee70930, arrays=0xb6daf8, ctx=0x7f4002d15040) at brw_draw.c:482
estimated_max_prim_size = 4096
retval = <optimized out>
i = <optimized out>
fail_next = false
#4 brw_draw_prims (ctx=0x7f4002d15040, arrays=0xb6daf8,
prim=0x7fffaee70930, nr_prims=1, ib=0x0, index_bounds_valid=<optimized
out>,
min_index=0, max_index=3, tfb_vertcount=0x0) at brw_draw.c:566
retval = true
#5 0x00007f400232e403 in vbo_draw_arrays (ctx=0x7f4002d15040,
mode=mode@entry=6, start=start@entry=0, count=count@entry=4,
numInstances=numInstances@entry=1) at vbo/vbo_exec_array.c:600
vbo = 0xb6a550
exec = 0xb6b320
prim = {{mode = 6, indexed = 0, begin = 1, end = 1, weak = 0,
no_current_update = 0, pad = 0, start = 0, count = 4,
basevertex = 0, num_instances = 1}, {mode = 0, indexed =
0, begin = 0, end = 0, weak = 0, no_current_update = 0, pad = 0,
start = 0, count = 0, basevertex = 0, num_instances = 0}}
#6 0x00007f400232e536 in vbo_exec_DrawArrays (mode=mode@entry=6,
start=start@entry=0, count=count@entry=4) at vbo/vbo_exec_array.c:632
ctx = <optimized out>
#7 0x00007f400232e825 in _mesa_DrawArrays (mode=mode@entry=6,
first=first@entry=0, count=count@entry=4) at vbo/vbo_exec_array.c:1299
No locals.
#8 0x00007f40023b9558 in _mesa_meta_glsl_Clear (ctx=0x7f4002d15040,
buffers=<optimized out>) at drivers/common/meta.c:1973
clear = 0xcdfa18
metaSave = 321163
stencilMax = 255
fb = 0xce1f30
x0 = -1
y0 = -1
x1 = 1
y1 = 1
z = 1
verts = {{x = -1, y = -1, z = 1}, {x = 1, y = -1, z = 1}, {x =
1, y = 1, z = 1}, {x = -1, y = 1, z = 1}}
#9 0x000000000041f460 in MenuOptions::run (this=0xd6ddc0) at
src/MenuOptions.cpp:162
event = {type = 4 '\004', active = {type = 4 '\004', gain = 0
'\000', state = 0 '\000'}, key = {type = 4 '\004', which = 0 '\000',
state = 0 '\000', keysym = {scancode = 128 '\200', sym =
4294901760, mod = KMOD_NONE, unicode = 0}}, motion = {
type = 4 '\004', which = 0 '\000', state = 0 '\000', x =
640, y = 399, xrel = 0, yrel = -1}, button = {type = 4 '\004',
which = 0 '\000', button = 0 '\000', state = 0 '\000', x =
640, y = 399}, jaxis = {type = 4 '\004', which = 0 '\000',
axis = 0 '\000', value = 640}, jball = {type = 4 '\004',
which = 0 '\000', ball = 0 '\000', xrel = 640, yrel = 399}, jhat = {
type = 4 '\004', which = 0 '\000', hat = 0 '\000', value =
0 '\000'}, jbutton = {type = 4 '\004', which = 0 '\000',
button = 0 '\000', state = 0 '\000'}, resize = {type = 4
'\004', w = 26149504, h = -65536}, expose = {type = 4 '\004'},
quit = {type = 4 '\004'}, user = {type = 4 '\004', code =
26149504, data1 = 0xffff0000, data2 = 0x0}, syswm = {type = 4 '\004',
msg = 0xffff0000}}
textSizeFactor = 0.5
i = 2
pressedButton = -1
#10 0x0000000000424755 in Program::run (this=0xa8fbb0) at src/Program.cpp:400
menu = 0xd6ddc0
file = <optimized out>
videoInfo = <optimized out>
s = "SDL_VIDEO_CENTERED=center"
foundData = <optimized out>
icon = <optimized out>
arrow2 = {0x4279e8 " 32 32 3", ' ' <repeats 12
times>, "1", 0x427968 "X c #000000", 0x427974 ". c #ffffff",
0x427980 " c None", 0x427a10 ' ' <repeats 32 times>
<repeats 32 times>, 0x427989 "0,0"}
#11 0x0000000000404395 in main (argc=1, argv=0x7fffaee70dd8) at src/main.cpp:41
mainInstance = 0xa8fbb0
--
bye,
pabs
http://wiki.debian.org/PaulWise
Reply to: