[Gerbv-devel] [ gerbv-Bugs-3141941 ] Gerbv crashes loading drill file
Brought to you by:
spetm,
thepurlieu
From: SourceForge.net <no...@so...> - 2010-12-22 20:44:42
|
Bugs item #3141941, was opened at 2010-12-22 14:56 Message generated for change (Comment added) made by thepurlieu You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=409538&aid=3141941&group_id=33921 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Drill Parser Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: https://www.google.com/accounts () >Assigned to: Julian Lamb (thepurlieu) Summary: Gerbv crashes loading drill file Initial Comment: Gerbv from git (cfe1682a01c8dec258cc478ec91aa3b2e04ebfad) segfaults while loading any of the drill files for the BeagleBoard (example attached). ---------------------------------------------------------------------- >Comment By: Julian Lamb (thepurlieu) Date: 2010-12-22 15:44 Message: Thanks for the very nice bug report, complete with backtrace! The problem was twofold: the drill file does not have embedded tools in it, which we don't support in gerbv. Because of this, it tried to open it as a pick-and-place file, which had the segfault. I've fixed the segfault problem, so now the file just quietly doesn't open. It's now fixed in git. Thanks again for the great report-- Cheers, Julian ---------------------------------------------------------------------- Comment By: https://www.google.com/accounts () Date: 2010-12-22 14:57 Message: Here is a backtrace, Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7bcf00a in pick_and_place_convert_pnp_data_to_image ( parsedPickAndPlaceData=0x0, boardSide=0) at pick-and-place.c:552 552 for (i = 0; i < parsedPickAndPlaceData->len; i++) { (gdb) bt #0 0x00007ffff7bcf00a in pick_and_place_convert_pnp_data_to_image ( parsedPickAndPlaceData=0x0, boardSide=0) at pick-and-place.c:552 #1 0x00007ffff7bd07ee in pick_and_place_parse_file_to_images (fd=0x8d46f0, topImage=0x7fffffffcd30, bottomImage=0x7fffffffcd28) at pick-and-place.c:845 #2 0x00007ffff7bcc48a in gerbv_open_image (gerbvProject=0x642010, filename=0x168d490 "/home/ben/lori/beagle-daq/beagle-gerbers/ncdrill1-2.drl", idx=10, reload=0, fattr=0x0, n_fattr=0, forceLoadFile=1) at gerbv.c:459 #3 0x00007ffff7bcb723 in gerbv_open_layer_from_filename ( gerbvProject=0x642010, filename=0x168d490 "/home/ben/lori/beagle-daq/beagle-gerbers/ncdrill1-2.drl") at gerbv.c:184 #4 0x000000000041dcb8 in callbacks_open_layer_activate (menuitem=0x6da4e0, user_data=0x0) at callbacks.c:277 #5 0x00007ffff597aa6e in g_closure_invoke (closure=0x7a60e0, return_value=0x0, n_param_values=1, param_values=0x9d8a20, invocation_hint=0x7fffffffcf40) at /build/buildd/glib2.0-2.26.0/gobject/gclosure.c:766 #6 0x00007ffff59904d7 in signal_emit_unlocked_R (node=0x649540, detail=<value optimized out>, instance=<value optimized out>, emission_return=<value optimized out>, instance_and_params=<value optimized out>) at /build/buildd/glib2.0-2.26.0/gobject/gsignal.c:3252 ---Type <return> to continue, or q <return> to quit--- #7 0x00007ffff5991996 in g_signal_emit_valist (instance=0x6da4e0, signal_id=<value optimized out>, detail=0, var_args=0x7fffffffd130) at /build/buildd/glib2.0-2.26.0/gobject/gsignal.c:2983 #8 0x00007ffff5991f53 in g_signal_emit (instance=0x7c0858, signal_id=0, detail=0) at /build/buildd/glib2.0-2.26.0/gobject/gsignal.c:3040 #9 0x00007ffff77e804e in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0 #10 0x00007ffff76da95d in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0 #11 0x00007ffff76dc0ab in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #12 0x00007ffff76cb9d8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #13 0x00007ffff597aa6e in g_closure_invoke (closure=0x6a13c0, return_value=0x7fffffffd460, n_param_values=2, param_values=0x8f10a0, invocation_hint=0x7fffffffd420) at /build/buildd/glib2.0-2.26.0/gobject/gclosure.c:766 #14 0x00007ffff5990120 in signal_emit_unlocked_R (node=0x6a1430, detail=<value optimized out>, instance=<value optimized out>, emission_return=<value optimized out>, instance_and_params=<value optimized out>) at /build/buildd/glib2.0-2.26.0/gobject/gsignal.c:3290 #15 0x00007ffff59917db in g_signal_emit_valist (instance=0x6a31c0, signal_id=<value optimized out>, detail=0, var_args=0x7fffffffd610) at /build/buildd/glib2.0-2.26.0/gobject/gsignal.c:2993 ---Type <return> to continue, or q <return> to quit--- #16 0x00007ffff5991f53 in g_signal_emit (instance=0x7c0858, signal_id=0, detail=0) at /build/buildd/glib2.0-2.26.0/gobject/gsignal.c:3040 #17 0x00007ffff77e46df in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #18 0x00007ffff76c3e73 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0 #19 0x00007ffff76c4f4b in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0 #20 0x00007ffff733e74c in ?? () from /usr/lib/libgdk-x11-2.0.so.0 #21 0x00007ffff50b9342 in g_main_dispatch (context=0x67d930) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2149 #22 g_main_context_dispatch (context=0x67d930) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2702 #23 0x00007ffff50bd2a8 in g_main_context_iterate (context=0x67d930, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2780 #24 0x00007ffff50bd7b5 in g_main_loop_run (loop=0x82a7b0) at /build/buildd/glib2.0-2.26.0/glib/gmain.c:2988 #25 0x00007ffff76c53e7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #26 0x000000000042b9b1 in interface_create_gui (req_width=-1, req_height=-1) at interface.c:1545 #27 0x000000000040db5a in main (argc=1, argv=0x7fffffffe178) at main.c:898 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=409538&aid=3141941&group_id=33921 |