[Pkg-electronics-devel] Bug#948626: kicad: Closing pcbnew hangs main kicad process

Bernhard Übelacker bernhardu at mailbox.org
Sat Jan 25 16:25:26 GMT 2020


Hello Paul,

> That was my first thought; as explained in my initial bug report:
>>> If run from the terminal there is no printed output of any kind.

Sorry I missed that one.

>> Otherwise maybe it is related to the used desktop environment,
>> if xorg or wayland is in use
> 
> I'm using xorg and the xfce desktop.
> 
>> or the used project - do
>> you observe this behaviour if you just open one
>> of the templates?
> 
> I observe it for any project, any template; even just opening "pcbnew"
> as a standalone program on a blank project then immediately trying to
> close it again.

I guess then I could not help any more.
Maybe the Maintainer have some other hints.


One thing that could help the maintainer still would be
the first time question if one wants to use hardware accelleration.
Did you enable it?

Seems to be stored there:
   $ grep canvas_type .config/kicad/pcbnew 
   canvas_type=1

(When switched on seems to be "=1", switched off to be "=2",
 but not completely sure about it.)
And maybe which graphics driver do you use?


As far as I see the pcbnew window when started from kicad lives
in the parents process. Now this process happens to run
__run_exit_handlers. This makes me think for some reason the
main function is left.

Does your CPU support the rr debugger [1]?
With that one could try to debug reverse from the point of failure.


Kind regards,
Bernhard


[1] https://github.com/mozilla/rr
    https://packages.debian.org/bullseye/rr



More information about the Pkg-electronics-devel mailing list