I've been doing some research with the help of a friend (she's DD!). We
compiled the source code from Scott Howard's ppa with DEBUG option and
run it within gdb. The backtrace is the following:

Program received signal SIGSEGV, Segmentation fault.
0x00841446 in glMatrixMode () from /usr/lib/libGL.so.1
(gdb) bt
#0  0x00841446 in glMatrixMode () from /usr/lib/libGL.so.1
#1  0x08280315 in Pcb3D_GLCanvas::InitGL() ()
#2  0x0827aa69 in WinEDA3D_DrawFrame::WinEDA3D_DrawFrame(WinEDA_BasePcbFrame*, 
wxString const&, long) ()
#3  0x08200e3b in WinEDA_PcbFrame::Show3D_Frame(wxCommandEvent&) ()
(...)

The 'glMatrixMode' call is in kicad/3d-viewer/3d_canvas.cpp line 541.

In kicad/COMPILING.txt, there's a comment at the end, that says they are
statically compiling with a particular version of mesa. Perhaps that's
the reason why the bug doesn't appear when I use the compiled version
from upstream.

I'll try to fix this but if there's someone out there who understands
mesa, any help will be appreciated.

-- 
Pcbnew crashes while attempting 3D view
https://bugs.launchpad.net/bugs/191470
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to