Bugs item #2949590, was opened at 2010-02-11 04:05 Message generated for change (Settings changed) made by thepurlieu You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=409538&aid=2949590&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: None Group: None Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Julian Lamb (thepurlieu) Summary: Segmentation Fault when opening gerber file Initial Comment: Apologies for this badly investigated bug - its my first bug report (and all that). I am trying to investigate the buglabs, bugbase 'open hardware', Gerber files are supplied by them. They can be obtained from: http://bugcommunity.com/wiki/images/5/54/BUGbase_.cad_files.zip [ nearest webpage at: http://bugcommunity.com/wiki/index.php/BUGbase ] I have downloaded them, but have found that I cannot open layers: 01, 03, 12, 19, 20 in gerbv. On my system, gerbv exits with a Segmentation fault, I'm not running a debug version so haven't got any other information. I'm running gerbv 2.3A (November 23 2009), which is in the kubuntu repos at the moment. Kind Regards Andrew ---------------------------------------------------------------------- Comment By: Julian Lamb (thepurlieu) Date: 2010-02-15 23:18 Message: Ok, I stayed up later than I should. The files have some invalid lines in them. Apparently the CAD package couldn't find some reference files, so lines like this show up in it: %ADD19,***** UNDEFINED APERTURE ******%%ADD13C,4.*% These are just bad lines I don't think we should bother trying to work around. So, instead I've found the segfault problem, and added a catch for it in the code. So, it'll complain with errors, and display what it can. Hope this is ok with everyone. Cheers-- ---------------------------------------------------------------------- Comment By: Julian Lamb (thepurlieu) Date: 2010-02-15 23:00 Message: Thanks Stefan...it seems the bug reporter has disappeared! Yes, I get a segfault on the 03 file, so I'll get it fixed tomorrow. Doesn't look too hard to track down, but I'm about ready for sleep right now. Cheers-- ---------------------------------------------------------------------- Comment By: Stefan Petersen (spetm) Date: 2010-02-15 17:35 Message: Hello! On this page I found a zip file with some gerber files that generates a seg fault. http://bugcommunity.com/wiki/index.php/BUGbase_R1.2A_-_microSD_card After an three second look it seems like an RS274X file with heavy aperture macros. I have not runned any debugger on it. Is aperture macros it sega faults this maybe bounce back to me? I have not pulled for a while, so maybe it is just a rediscover on an old bug? Thanks, /Stefan ---------------------------------------------------------------------- Comment By: Julian Lamb (thepurlieu) Date: 2010-02-11 08:50 Message: Andrew, Thanks for the bug report. I tried downloading the link to posted, but it looks like a ZIP file containing only a single .cad file (I'm guessing Allegro format?). Is there somewhere I can download the Gerber files in question? If you could point me to a place I can download it, or you can also email me one of the problem Gerber files to me directly (thepurl...@gmail.com), I can look into the problem. Thanks! Julian ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=409538&aid=2949590&group_id=33921 ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Gerbv-devel mailing list Gerbv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gerbv-devel