Activity log for bug #1835296

Date Who What changed Old value New value Message
2019-07-03 19:27:58 Christian Conkle bug added bug
2019-07-03 19:29:52 Christian Conkle description Running the 20190703 nightly MacOS build (which I believe has the new ngspice-30 library, although I don't know how to check), simulating the laser_driver or sallen_key demo project causes a hard crash of the entire KiCad application. In particular, pressing "Run/Stop Simulation" causes a segmentation fault in libngspice.0.dylib. Stack trace and version information below. The other two demo simulation projects (rectifier, pspice) do not crash, and seem to give sensible simulation results. The most obvious difference between the crashing (laser_driver, sallen_key) and working (rectifier, pspice) projects is that the crashing projects include external spice model libraries (e.g. ad8009.lib in laser_driver) and the working projects use only internal modules. My own projects seem to crash if they include external models, but I haven't systematically tested. Please let me know if I can provide any additional information. Stack trace: Crashed Thread: 13 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000001d0 Exception Note: EXC_CORPSE_NOTIFY ... Thread 13 Crashed: 0 libngspice.0.dylib 0x000000011a962c5d MIFsetup + 109 1 libngspice.0.dylib 0x000000012623f3d6 CKTsetup + 214 2 libngspice.0.dylib 0x00000001262391b1 CKTdoJob + 961 3 libngspice.0.dylib 0x0000000125e48050 if_run + 1296 4 libngspice.0.dylib 0x0000000125e4513e dosim + 894 5 libngspice.0.dylib 0x0000000125e148cb docommand + 299 6 libngspice.0.dylib 0x0000000125e13ece doblock + 126 7 libngspice.0.dylib 0x0000000125e13ca3 cp_evloop + 2547 8 libngspice.0.dylib 0x0000000125e0a531 _thread_run + 65 9 libsystem_pthread.dylib 0x00007fff71c342eb _pthread_body + 126 10 libsystem_pthread.dylib 0x00007fff71c37249 _pthread_start + 66 11 libsystem_pthread.dylib 0x00007fff71c3340d thread_start + 13 Version information: Application: Eeschema Version: (5.1.0-1195-g72308fe16), debug build Libraries: wxWidgets 3.0.4 libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1 Platform: Mac OS X (Darwin 18.6.0 x86_64), 64 bit, Little endian, wxMac Build Info: wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8) Boost: 1.69.0 OpenCASCADE Community Edition: 6.9.1 Curl: 7.54.0 Compiler: Clang 9.0.0 with C++ ABI 1002 Build settings: KICAD_SCRIPTING=ON KICAD_SCRIPTING_MODULES=ON KICAD_SCRIPTING_PYTHON3=OFF KICAD_SCRIPTING_WXPYTHON=ON KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF KICAD_SCRIPTING_ACTION_MENU=ON BUILD_GITHUB_PLUGIN=ON KICAD_USE_OCE=ON KICAD_USE_OCC=OFF KICAD_SPICE=ON Running the 20190703 nightly MacOS build (which I believe has the new ngspice-30 library, although I don't know how to check), simulating the laser_driver or sallen_key demo project causes a hard crash of the entire KiCad application. In particular, pressing "Run/Stop Simulation" causes a segmentation fault in libngspice.0.dylib. Stack trace and version information below. The other two demo simulation projects (rectifier, pspice) do not crash, and seem to give sensible simulation results. The most obvious difference between the crashing (laser_driver, sallen_key) and working (rectifier, pspice) projects is that the crashing projects include external spice model libraries (e.g. ad8009.lib in laser_driver) and the working projects use only internal models. My own projects seem to crash if they include external models, but I haven't systematically tested. Please let me know if I can provide any additional information. Stack trace: Crashed Thread: 13 Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000001d0 Exception Note: EXC_CORPSE_NOTIFY ... Thread 13 Crashed: 0 libngspice.0.dylib 0x000000011a962c5d MIFsetup + 109 1 libngspice.0.dylib 0x000000012623f3d6 CKTsetup + 214 2 libngspice.0.dylib 0x00000001262391b1 CKTdoJob + 961 3 libngspice.0.dylib 0x0000000125e48050 if_run + 1296 4 libngspice.0.dylib 0x0000000125e4513e dosim + 894 5 libngspice.0.dylib 0x0000000125e148cb docommand + 299 6 libngspice.0.dylib 0x0000000125e13ece doblock + 126 7 libngspice.0.dylib 0x0000000125e13ca3 cp_evloop + 2547 8 libngspice.0.dylib 0x0000000125e0a531 _thread_run + 65 9 libsystem_pthread.dylib 0x00007fff71c342eb _pthread_body + 126 10 libsystem_pthread.dylib 0x00007fff71c37249 _pthread_start + 66 11 libsystem_pthread.dylib 0x00007fff71c3340d thread_start + 13 Version information: Application: Eeschema Version: (5.1.0-1195-g72308fe16), debug build Libraries:     wxWidgets 3.0.4     libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1 Platform: Mac OS X (Darwin 18.6.0 x86_64), 64 bit, Little endian, wxMac Build Info:     wxWidgets: 3.0.4 (wchar_t,STL containers,compatible with 2.8)     Boost: 1.69.0     OpenCASCADE Community Edition: 6.9.1     Curl: 7.54.0     Compiler: Clang 9.0.0 with C++ ABI 1002 Build settings:     KICAD_SCRIPTING=ON     KICAD_SCRIPTING_MODULES=ON     KICAD_SCRIPTING_PYTHON3=OFF     KICAD_SCRIPTING_WXPYTHON=ON     KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF     KICAD_SCRIPTING_ACTION_MENU=ON     BUILD_GITHUB_PLUGIN=ON     KICAD_USE_OCE=ON     KICAD_USE_OCC=OFF     KICAD_SPICE=ON
2019-07-04 07:42:27 Nick Østergaard tags macos
2019-07-04 07:42:32 Nick Østergaard kicad: importance Undecided Critical
2019-07-04 07:42:36 Nick Østergaard kicad: milestone 6.0.0-rc1
2019-07-04 07:42:53 Nick Østergaard bug added subscriber Adam Wolf
2019-07-04 14:55:33 Michael Kavanagh tags macos eeschema macos ngspice
2019-07-04 18:19:15 Nick Østergaard kicad: status New Confirmed
2019-07-05 10:37:22 Nick Østergaard bug added subscriber Holger Vogt
2019-09-02 07:23:28 Nick Østergaard kicad: status Confirmed Incomplete
2019-09-12 12:45:57 Wayne Stambaugh kicad: milestone 6.0.0-rc1 5.1.5
2019-09-12 12:46:04 Wayne Stambaugh kicad: status Incomplete Confirmed
2019-09-17 13:17:50 Nick Østergaard bug watch added https://github.com/KiCad/kicad-mac-builder/issues/90
2019-09-29 07:21:07 Holger Vogt attachment added compile_linux_shared.sh https://bugs.launchpad.net/kicad/+bug/1835296/+attachment/5292448/+files/compile_linux_shared.sh
2019-09-30 21:45:59 Nick Østergaard kicad: status Confirmed Fix Committed
2019-09-30 21:46:22 Nick Østergaard kicad: status Fix Committed Confirmed
2019-10-01 11:51:39 Jonatan Liljedahl bug added subscriber Jonatan Liljedahl
2019-10-25 19:49:43 Wayne Stambaugh kicad: milestone 5.1.5 5.1.6
2019-11-14 21:53:31 Nick Østergaard kicad: status Confirmed Fix Committed