Cvpcb crashes after 5-10 minutes of work.

Bug #1735608 reported by Alexander Korotkevich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Expired
Critical
Unassigned

Bug Description

May be related to the Bug# 1735604, may be not. This is why I file it separately. (UPDATE: the bugs are not related. After workaround described in the comments to Bug#1735604 Cvpcb still crashes. PCBnew and Gerberview have no troubles, spent several hours in them yesterday.)

After calling Cvpcb from eeschema the whole KiCAD crashes after few minutes of work.
(UPDATE) The error line in terminal:
*** longjmp causes uninitialized stack frame ***: kicad terminated

This issue was present in 4.0.6 and still is in 4.0.7. May be this can be related as well:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856277

I repeat configuration description from the bug# 1735604 and attach the whole debug log as an attachment.

Application: kicad
Version: 4.0.7 release build
wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 1010,GCC 6.4.0,wx containers,compatible with 2.8)
Platform: Linux 4.13.5-gentoo x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.65.0
Curl version: libcurl/7.57.0 OpenSSL/1.0.2m zlib/1.2.11
         USE_WX_GRAPHICS_CONTEXT=OFF
         USE_WX_OVERLAY=OFF
         KICAD_SCRIPTING=ON
         KICAD_SCRIPTING_MODULES=ON
         KICAD_SCRIPTING_WXPYTHON=ON
         USE_FP_LIB_TABLE=HARD_CODED_ON
         BUILD_GITHUB_PLUGIN=ON

Tools to compile:
gcc (Gentoo 6.4.0 p1.0) 6.4.0
glibc 2.26-r3
qtcore 5.9.3

Desktop environment: Plasma 5.40.0 (haven't changed from default colour scheme).

Please, let me know if I can provide something in addition.

Tags: 4.0.7
Revision history for this message
Alexander Korotkevich (alexkor) wrote :
description: updated
Revision history for this message
Alexander Korotkevich (alexkor) wrote :

Just in case I attach the project files. All I was trying to do was to associate one pin connectors with some footprint. Usually crash happens when I browse through the list of possible connectors.

description: updated
description: updated
Revision history for this message
Alexander Korotkevich (alexkor) wrote :

Any test needs to be run by me? Any additional info needed?

Changed in kicad:
importance: Undecided → Critical
tags: added: 4.0.7
Revision history for this message
jean-pierre charras (jp-charras) wrote :

I encourage you to download .pretty libraries yoy want to use, and use a *local copy* on disk, and see if you still have crashes.
looks like a library (for some reason) has a issue:
see the message:
/var/tmp/portage/sci-electronics/kicad-4.0.7/work/kicad-4.0.7/common/fp_lib_table.cpp(172): assert "aFootprintName == (wxString) fpid.GetFootprintName()" failed in FootprintLoad(). [in thread 7fade2ffd700]

Using local libraries avoid many issues (no longer existing libs, different footprints...)

Revision history for this message
eelik (eelik) wrote :

Sometimes it's surprising how doing a search with the relevant part of the error message can help. Try "longjmp causes uninitialized stack frame" and the first google hit https://stackoverflow.com/questions/9191668/error-longjmp-causes-uninitialized-stack-frame combined with the hint from your data "Curl version:..." makes me think it may be a bug somewhere else than kicad. The described bug in curl was old and fixed but you never know...

Changed in kicad:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for KiCad because there has been no activity for 60 days.]

Changed in kicad:
status: Incomplete → Expired
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.