Gerber Viewer crash to open gerberjob

Bug #1747409 reported by Hildo Guillardi Júnior
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Critical
Jon Evans

Bug Description

The Gerber Viewer crash and close and I try to open a Gerber job file in the graphical modes Modern (Fallback and Accelerated). In the Legacy graphics works fine.

My KiCad version is 201802041432+c7bc154~61~ubuntu16.04.1 and this error happens in different machines (with the same OS, just tested on Ubuntu).

To reproduce the error I used the Gerber attached on the issue https://bugs.launchpad.net/kicad/+bug/1745203.

On terminal, I got this output:

(gerbview:10172): GLib-GObject-CRITICAL **: g_closure_unref: assertion 'closure->ref_count > 0' failed
**
GLib-GObject:ERROR:/build/glib2.0-prJhLS/glib2.0-2.48.2/./gobject/gsignal.c:693:handler_unref_R: assertion failed: (hlist->tail_after == handler)

Tags: gerbview
Revision history for this message
Jon Evans (craftyjon) wrote :

If you have gdb installed, you can use it to get a backtrace

something like:
$ gdb gerbview
(gdb) run
... wait for crash
(gdb) backtrace

See also:
https://senarvi.github.io/2016/07/05/stack-trace-with-gdb

Jon Evans (craftyjon)
Changed in kicad:
importance: Undecided → Critical
assignee: nobody → Jon Evans (craftyjon)
Revision history for this message
Hildo Guillardi Júnior (hildogjr) wrote :

@Evans, did it and:
1) Running gerbview from Linux terminal (or form gdb doing `gdb gerbview`) the problem is the already reported bug #1745203 (not matter the size of the Gerber files);
2) This crash here is happening open "gerber job" using the Modern canvas (Fallback and Accelerated) when I open GerbView from KiCad;
3) The bug (2) not happen when I try to use (1).

So, I didn't got a useful log, because running `gdb kicad` I don't get a software crash, just a GerbView unexpected exit.

Neither of theses bug happen using Legacy canvas.

Revision history for this message
Jon Evans (craftyjon) wrote :

Maybe this was same bug as 1746770 which just got a fix committed, so once there is a new nightly available, please see if your crash is also fixed.

Revision history for this message
Hildo Guillardi Júnior (hildogjr) wrote :

Yes, @Evans.
Fixed in the version 201802062243+a35cc44~61~ubuntu16.04.1
It is not crash anymore, just freezing yet (bug #1745203). But this report can be closed.

Jon Evans (craftyjon)
Changed in kicad:
status: New → Fix Committed
tags: added: gerbview
Changed in kicad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.