I have a very weird issue after upgrading my RAM from 2 x 4GB to 2 x 8GB of RAM on my laptop. At least that is the only change I can think of that could cause this:
Pcbnew is constantly crashing. And with constantly I mean:
Upon (mouse) zooming the first time
Upon deselecting a layer
Upon switching zone display mode
Upon zooming with the dropdown menu and then moving the mouse afterwards
Pretty much anything that involves graphics somehow. I am pretty clueless. Does pcbnew produce any log files or something? I have been using pcbnew for a good 8 years by now and never had something like this (well, the early days probably…).
I am running KiCad 5.0.2 on Ubuntu 16.04.1
Any help appreciated!
Out of despair I tried now to sandbox pcbnew (firejail) - that actually makes it work without crashing…
This sounds like hardware/driver problem, most probably KiCad doesn’t have such a bug that it would react to memory upgrade. Have you used other software which requires accelerated graphics like 3D games? Have you run memtest?
So, I finally had the time to do a memtest and according to the results, my RAM is absolutely fine. At least I found the option now of non-accelerated mode which works fine but I am still wondering what causes these random crashes…
Then the problem is in graphics. Given that the problems started when you’ve changed RAM I am going to venture a guess saying that you have an integrated graphic card, which is using system RAM. As memtest passes the drivers are the most likely culprit. But this is where my help ends, as I don’t have a clue about linux and drivers.
So I upgraded to 18.04 on the weekend and indeed the crashes went away. I can now have fully hardware accelerated KiCad graphics. I mean, my desktop is broken, internet didn’t work at first, login loop, can’t open any gnome apps and everything but HEY my KiCad is working again, so what’s the big deal