Bug 57173 - sigsegv in Planeshift
Summary: sigsegv in Planeshift
Status: RESOLVED INVALID
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-16 03:51 UTC by freedesktop
Modified: 2017-10-08 23:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (44.50 KB, text/plain)
2012-12-22 18:48 UTC, freedesktop
Details
dmesg (95.40 KB, text/plain)
2012-12-22 18:48 UTC, freedesktop
Details
glxinfo (25.39 KB, text/plain)
2012-12-22 18:49 UTC, freedesktop
Details

Description freedesktop 2012-11-16 03:51:38 UTC
Os: Ubuntu 12.10 with 3.5.0-18 kernel

My card: 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV730XT [Radeon HD 4670]

Output from gdb:

Program received signal SIGSEGV, Segmentation fault.
0x00007fffdad6d592 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
(gdb) where
#0  0x00007fffdad6d592 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#1  0x00007fffdad3eb10 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007fffdae03a1b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007fffdae009b7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007fffdad3bddd in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007fffdad3405a in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#6  0x00007fffdad35034 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#7  0x00007fffdad3517c in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#8  0x00007fffdad35260 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#9  0x0000000000d82acf in ?? ()
#10 0x0000000000c88327 in ?? ()
#11 0x0000000000c88bfa in ?? ()
#12 0x0000000000c89189 in ?? ()
#13 0x0000000000c9756a in ?? ()
#14 0x00000000004b7d49 in ?? ()
#15 0x000000000047bd29 in ?? ()
#16 0x00000000013e54a7 in ?? ()
#17 0x00000000013e5910 in ?? ()
#18 0x00000000013de7d6 in ?? ()
#19 0x00000000012860a6 in ?? ()
#20 0x000000000047ad41 in ?? ()
#21 0x00007ffff4d9c76d in __libc_start_main (main=0x47acb0, argc=1, ubp_av=0x7fffffffe468, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe458)
    at libc-start.c:226
#22 0x000000000044a459 in ?? ()
#23 0x00007fffffffe458 in ?? ()
#24 0x000000000000001c in ?? ()
#25 0x0000000000000001 in ?? ()
#26 0x00007fffffffe7e3 in ?? ()
#27 0x0000000000000000 in ?? ()

I'd be happy to install the debugging symbols version and try again if I knew how to install it...synaptic won't let me do it directly.
Comment 1 freedesktop 2012-11-16 03:57:59 UTC
figured out debugging symbols:

Program received signal SIGSEGV, Segmentation fault.
0x00007fffdad6d592 in dst_register (index=35, file=PROGRAM_OUTPUT, t=0x228b1f30) at ../../../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4014
4014	../../../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp: No such file or directory.
(gdb) where
#0  0x00007fffdad6d592 in dst_register (index=35, file=PROGRAM_OUTPUT, t=0x228b1f30) at ../../../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4014
#1  translate_dst (clamp_color=false, saturate=false, dst_reg=0x22a30a48, t=0x228b1f30) at ../../../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4091
#2  compile_tgsi_instruction (clamp_dst_color_output=false, inst=0x22a30a30, t=0x228b1f30) at ../../../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4207
#3  st_translate_program (ctx=0x3276a10, procType=0, procType@entry=1, ureg=ureg@entry=0x2542f550, program=0x22b310f0, proginfo=0x22c30000, proginfo@entry=0x22c3e7e0, 
    numInputs=<optimized out>, inputMapping=inputMapping@entry=0x22c4ea98, inputSemanticName=inputSemanticName@entry=0x0, inputSemanticIndex=inputSemanticIndex@entry=0x0, 
    interpMode=interpMode@entry=0x0, is_centroid=is_centroid@entry=0x0, numOutputs=17, outputMapping=outputMapping@entry=0x22c4eba0, 
    outputSemanticName=outputSemanticName@entry=0x22c4ec2c "", outputSemanticIndex=outputSemanticIndex@entry=0x22c4ec4f "", passthrough_edgeflags=0 '\000', clamp_color=0 '\000')
    at ../../../../src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4747
#4  0x00007fffdad3eb10 in st_translate_vertex_program (key=<optimized out>, stvp=0x22c3e7e0, st=<optimized out>) at ../../../../src/mesa/state_tracker/st_program.c:339
#5  st_get_vp_variant (st=st@entry=0x32e7f40, stvp=stvp@entry=0x22c3e7e0, key=key@entry=0x7fffffffcda0) at ../../../../src/mesa/state_tracker/st_program.c:430
#6  0x00007fffdae03a1b in update_vp (st=0x32e7f40) at ../../../../src/mesa/state_tracker/st_atom_shader.c:152
#7  0x00007fffdae009b7 in st_validate_state (st=st@entry=0x32e7f40) at ../../../../src/mesa/state_tracker/st_atom.c:223
#8  0x00007fffdad3bddd in st_draw_vbo (ctx=0x3276a10, prims=0x7fffffffcf00, nr_prims=1, ib=0x7fffffffcee0, index_bounds_valid=<optimized out>, min_index=0, max_index=61, tfb_vertcount=0x0)
    at ../../../../src/mesa/state_tracker/st_draw.c:200
#9  0x00007fffdad3405a in vbo_handle_primitive_restart (ctx=ctx@entry=0x3276a10, prim=prim@entry=0x7fffffffcf00, nr_prims=nr_prims@entry=1, ib=ib@entry=0x7fffffffcee0, 
    index_bounds_valid=index_bounds_valid@entry=1 '\001', min_index=min_index@entry=0, max_index=max_index@entry=61) at ../../../../src/mesa/vbo/vbo_exec_array.c:570
#10 0x00007fffdad35034 in vbo_validated_drawrangeelements (ctx=ctx@entry=0x3276a10, mode=mode@entry=4, index_bounds_valid=<optimized out>, start=start@entry=0, end=end@entry=61, 
    count=count@entry=48, type=type@entry=5125, indices=0x7fff77885e20, basevertex=basevertex@entry=0, numInstances=numInstances@entry=1, baseInstance=baseInstance@entry=0)
    at ../../../../src/mesa/vbo/vbo_exec_array.c:867
#11 0x00007fffdad3517c in vbo_exec_DrawRangeElementsBaseVertex (mode=4, start=0, end=61, count=48, type=5125, indices=<optimized out>, basevertex=basevertex@entry=0)
    at ../../../../src/mesa/vbo/vbo_exec_array.c:955
#12 0x00007fffdad35260 in vbo_exec_DrawRangeElements (mode=<optimized out>, start=<optimized out>, end=<optimized out>, count=<optimized out>, type=<optimized out>, 
    indices=<optimized out>) at ../../../../src/mesa/vbo/vbo_exec_array.c:975
#13 0x0000000000d82acf in ?? ()
#14 0x0000000000c88327 in ?? ()
#15 0x0000000000c88bfa in ?? ()
#16 0x0000000000c89189 in ?? ()
#17 0x0000000000c9756a in ?? ()
#18 0x00000000004b7d49 in ?? ()
#19 0x000000000047bd29 in ?? ()
#20 0x00000000013e54a7 in ?? ()
#21 0x00000000013e5910 in ?? ()
#22 0x00000000013de7d6 in ?? ()
#23 0x00000000012860a6 in ?? ()
#24 0x000000000047ad41 in ?? ()
#25 0x00007ffff4d9c76d in __libc_start_main (main=0x47acb0, argc=1, ubp_av=0x7fffffffe468, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe458)
    at libc-start.c:226
#26 0x000000000044a459 in ?? ()
#27 0x00007fffffffe458 in ?? ()
#28 0x000000000000001c in ?? ()
#29 0x0000000000000001 in ?? ()
#30 0x00007fffffffe7e3 in ?? ()
#31 0x0000000000000000 in ?? ()
Comment 2 Michel Dänzer 2012-11-16 10:08:41 UTC
BTW, are you intentionally using software rendering for Planeshift?
Comment 3 freedesktop 2012-11-17 02:29:53 UTC
Not intentionally.  I upgraded to Ubuntu 12.10, which implies the 3.5 kernel, and the ATI proprietary driver (fglrx) is no longer supported.  I assumed (stupidly, I suppose) that Ubuntu would fall back to the open source 3D radeon driver.  Luckily for us all, I may have found a new bug because of all this.
Comment 4 freedesktop 2012-11-17 02:42:32 UTC
lsmod lists radeon as a loaded module.
Comment 5 Andreas Boll 2012-12-17 12:54:56 UTC
Please attach your Xorg.log and the outputs from dmesg and glxinfo.
Comment 6 freedesktop 2012-12-22 18:48:03 UTC
Created attachment 71985 [details]
Xorg.0.log
Comment 7 freedesktop 2012-12-22 18:48:39 UTC
Created attachment 71986 [details]
dmesg
Comment 8 freedesktop 2012-12-22 18:49:03 UTC
Created attachment 71987 [details]
glxinfo
Comment 9 Timothy Arceri 2017-10-08 23:32:30 UTC
This was reported against Mesa 9.0 with r600 OpenGL 2.1 support. Things have progressed a lot since then.

Closing as obsolete (INVALID as we don't seem to have an obsolete option), please reopen or report a new bug if this is still a problem.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.