cvpcb crashes on start

Bug #1473082 reported by Timur Kristóf
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
New
Undecided
Unassigned

Bug Description

I'm using KiCAD 5906 on Fedora 22. When I try to launch cvpcb, it crashes. I managed to run it inside gdb and got a backtrace for you to help. Here it is: http://pastebin.com/5z7GSVQk

The problem seems to be at:
 0x00007fffd643b076 in GITHUB_PLUGIN::remote_get_zip(wxString const&) () at /usr/bin/_cvpcb.kiface

Revision history for this message
Timur Kristóf (venemo) wrote :

Same issue is present in 5889 and 5891.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

Please paste the result of selecting the Help->Copy Version Information from the main menu into this bug report so we know how KiCad was built. I'm assuming you have a valid internet connection since you are using the GitHub plugin to access the footprint libraries on-line. I've never seen this bug before even when GitHub calls fail so it may be due to your build environment. In any even, KiCad shouldn't crash when a github access attempt fails.

Revision history for this message
Nick Østergaard (nickoe) wrote :

Also try to paste the footprint library table entry. Maybe your string is malformed in some way that makes it segfault.

Revision history for this message
Timur Kristóf (venemo) wrote :

I've now upgraded to r5970 and the issue is still there. I use the Fedora builds from mangelajo's copr repo.

Here is the version info:

Application: kicad
Version: no-vcs-found-product debug build
wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 1008,GCC 5.1.1,wx containers,compatible with 2.8)
Platform: Linux 4.0.8-300.fc22.x86_64 x86_64, 64 bit, Little endian, wxGTK
Boost version: 1.57.0
         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

Revision history for this message
Timur Kristóf (venemo) wrote :

Note: the issue also occours if I just create a blank project, add a single resistor, annotate and then run cvpcb.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

Has KiCad ever worked properly for you? I cannot duplicate your problem on Debian testing so I'm at a loss to figure out what is going on here. Do you have your footprint library table (file ~/.config/kicad/fp-lib-table) configured properly?

Revision history for this message
Timur Kristóf (venemo) wrote :

Wayne, I'm not sure how to configure that table but the problem also appears after I delete ~/.config/kicad entirely.

Yes, it seems that KiCAD works correctly if I build it on my own machine. I use the following way to configure it:
cmake -DKICAD_STABLE_VERSION=OFF -DKICAD_STABLE_VERSION=OFF -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON -DCMAKE_BUILD_TYPE=Debug -DKICAD_SKIP_BOOST=ON ..

A possibility here is that the issue is in fact one of the libraries that KiCAD depends on. For instance, when building on my own machine, I use the boost version that comes with my OS, and that could make the difference.

Revision history for this message
Nick Østergaard (nickoe) wrote :

I think your boost version 1.57 is ok.

What about your project local fp-lib-table?

Try to create a new project or rename the file. Don't delete or we can't tell what the issue was, if caused by a borked table.

Revision history for this message
Timur Kristóf (venemo) wrote :

This is what I did:

1. Start KiCAD
2. Create a new project
3. Create a schematic
4. Place a single resistor
5. Export netlist
6. Start cvpcb

Attached my ~/.config/kicad/fp-lib-table to this post.

Revision history for this message
Nick Østergaard (nickoe) wrote :

What does your KIGITHUB varible look like in the configure dialog window? Do have it defined in the system also?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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