Bug#989220: solvespace: crashes when starting on Debian stable.

Bernhard Übelacker bernhardu at mailbox.org
Sun Jun 13 14:44:16 BST 2021


Hello Juan,
the last lines of your backtrace end in nouveau_dri.so.
Therefore this might not be a fault in solvespace.

Maybe you could install the package libgl1-mesa-dri-dbgsym where
the file nouveau_dri.so originates from, and provide
another backtrace from such a crash.
I would expect that the currently uninformative lines in nouveau_dri.so
would look similar to below.

With the following environment set, before running solvespace in gdb,
you might get a backtrace more related to the
real memory operation causing the error.

   MALLOC_CHECK_=2 gdb --args solvespace


Another source of information might be to run solvespace within valgrind:

   valgrind solvespace


But I guess this issue is likeley to be caused by the graphics driver,
maybe limited to the NV50 hardware class, which your GPU seems to be.
This makes it hard to impossible to reproduce
without having such graphics hardware.

Kind regards,
Bernhard


...
#6  0xb6c70c34 in calloc () from libc.so.6
#7  0xb312b867 in nv50_rasterizer_state_create at ../src/gallium/drivers/nouveau/nv50/nv50_state.c:230 from nouveau_dri.so
#8  0xb2ec0ea9 in cso_set_rasterizer at ../src/gallium/auxiliary/cso_cache/cso_context.c:604 from nouveau_dri.so
#9  0xb3445465 in st_update_rasterizer at ../src/mesa/state_tracker/st_atom_rasterizer.c:317 from nouveau_dri.so
#10 0xb3442e0f in st_validate_state at ../src/util/bitscan.h:103 from nouveau_dri.so
#11 0xb339fea7 in prepare_draw at ../src/mesa/state_tracker/st_draw.c:123 from nouveau_dri.so
#12 0xb329843e in vbo_exec_vtx_flush at ../src/mesa/vbo/vbo_exec_draw.c:393 from nouveau_dri.so
#13 0xb3297e57 in vbo_exec_FlushVertices_internal at ../src/mesa/vbo/vbo_exec_api.c:1255 from nouveau_dri.so
#14 0xb334477f in line_width at ../src/mesa/main/lines.c:70 from nouveau_dri.so
#15 0x004df59f in SolveSpace::ssglLineWidth (width=<optimized out>) at ./src/glhelper.cpp:97
...



More information about the debian-science-maintainers mailing list