← Back to team overview

kicad-developers team mailing list archive

Re: Segfault in new module editor

 

It seems reproducible, happened three times in a row now. Steps to
reproduce:

1) Launch pcbnew
2) Switch to GAL view
3) Open module editor
4) Select my "azonenberg" library
5) Load module from library. My "EIA_1206_CAP_NOSILK" module is empty, I
created and saved it without adding any pads.
6) Click the add-pad button, add one pad. I put mine a little left of
the origin.
7) Click on the pad and press E. The "pad properties" dialog pops up,
then a GTK "error" dialog appears in front of it. The module editor
hangs at this point, upon hitting escape a few times to close the
dialogs I get the segfault.

The new module editor is completely unusable for me so I'm going to be
reverting to the cairo view until this is fixed, unless someone needs me
to test something.

On Tue, 2014-07-15 at 07:48 -0400, Andrew Zonenberg wrote:
> Created a new module in the GAL module editor and made a pad, immediate
> segfault. I think I was trying to open the pad properties when it
> happened.
> 
> Using BZR 4996-product on Debian 7 amd64. I've saved a core dump
> (/tmp/core.1386 on my machine... 682 MB so not going to upload it, if
> anyone wants further details I can poke around) for further analysis.
> 
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x00007fffe956e72a in KIGFX::OPENGL_COMPOSITOR::DrawBuffer(unsigned int) () from /usr/local/bin/_pcbnew.kiface
> > (gdb) bt
> > #0  0x00007fffe956e72a in KIGFX::OPENGL_COMPOSITOR::DrawBuffer(unsigned int) () from /usr/local/bin/_pcbnew.kiface
> > #1  0x00007fffe95687d1 in KIGFX::OPENGL_GAL::EndDrawing() () from /usr/local/bin/_pcbnew.kiface
> > #2  0x00007fffe954fa1d in EDA_DRAW_PANEL_GAL::onPaint(wxPaintEvent&) () from /usr/local/bin/_pcbnew.kiface
> > #3  0x00007ffff69273f6 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
> > #4  0x00007ffff692779f in wxEvtHandler::SearchDynamicEventTable(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
> > #5  0x00007ffff6927852 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-2.8.so.0
> > #6  0x00007ffff6fe0b6e in wxWindow::GtkSendPaintEvents() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
> > #7  0x00007ffff6fe1069 in ?? () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
> > #8  0x00007ffff51df099 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> > #9  0x00007ffff3aca6e0 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
> > #10 0x00007ffff3adb750 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
> > #11 0x00007ffff3ae32db in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
> > #12 0x00007ffff3ae3852 in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
> > #13 0x00007ffff52f693e in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> > #14 0x00007ffff51dda80 in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> > #15 0x00007ffff4e3246c in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
> > #16 0x00007ffff4e32413 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
> > #17 0x00007ffff4e32413 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
> > #18 0x00007ffff4e32413 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
> > #19 0x00007ffff4e32413 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
> > #20 0x00007ffff4e32413 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
> > #21 0x00007ffff4e32413 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
> > #22 0x00007ffff4e2d437 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
> > #23 0x00007ffff4e2f5e1 in gdk_window_process_all_updates () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
> > #24 0x00007ffff5161a31 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> > #25 0x00007ffff4e0d327 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
> > #26 0x00007ffff3401355 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> > #27 0x00007ffff3401688 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> > #28 0x00007ffff3401a82 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> > #29 0x00007ffff51dc797 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
> > #30 0x00007ffff6fd0268 in wxEventLoop::Run() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
> > #31 0x00007ffff7014f9b in wxDialog::ShowModal() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-2.8.so.0
> > #32 0x00007fffe926757e in PCB_BASE_FRAME::InstallPadOptionsFrame(D_PAD*) () from /usr/local/bin/_pcbnew.kiface
> > #33 0x00007fffe92eeb05 in FOOTPRINT_EDIT_FRAME::OnEditItemRequest(wxDC*, BOARD_ITEM*) () from /usr/local/bin/_pcbnew.kiface
> > #34 0x00007fffe9375b12 in EDIT_TOOL::Properties(TOOL_EVENT&) () from /usr/local/bin/_pcbnew.kiface
> > #35 0x00007fffe95026fa in COROUTINE<int, TOOL_EVENT&>::callerStub(long) () from /usr/local/bin/_pcbnew.kiface
> > #36 0x00007fffe9602a0e in make_fcontext () from /usr/local/bin/_pcbnew.kiface
> > #37 0x0000000007b40830 in ?? ()
> > #38 0x0000000000000000 in ?? ()
> > (gdb)
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp

-- 
Andrew Zonenberg
PhD student, security group
Computer Science Department
Rensselaer Polytechnic Institute
http://colossus.cs.rpi.edu/~azonenberg/

Attachment: signature.asc
Description: This is a digitally signed message part


References