kicad-jlcpcb-tools: Crash during DB download on MacOS
Hi there, this plugin looks awesome, unfortunately I could not try it out yet, because of the following issue:
Bug/Reproduction
Every single time I open the plugin, it starts to download the zip parts of the parts DB, but then KiCAD crashes before completion. I monitored the $plugin/jlcpcb folder, and the furthest the download ever got was parts 001-007 complete (80000000 bytes), but part 008 still at 0 bytes. Unfortunately I could not get a readable exception, but if you can help me to run the download step manually, I’m happy to debug further!
Version information
OS: MacOS 13.6.6 (22G630)
Plugin: 2024.04.03
Application: KiCad arm64 on arm64
Version: 8.0.1, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.13.2
HarfBuzz 8.3.0
FontConfig 2.15.0
libcurl/8.4.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.51.0
Platform: macOS Ventura Version 13.6.6 (Build 22G630), 64 bit, Little endian, wxMac
Build Info:
Date: Mar 14 2024 13:30:33
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.84.0
OCC: 7.7.2
Curl: 7.87.0
ngspice: 42
Compiler: Clang 14.0.3 with C++ ABI 1002
Build settings:
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (1 by maintainers)
Well I guess my theory of working memory doesn’t appear to be necessarily the cause of the crash. I figured loading 70MB repeatedly was causing too much memory allocated at once.
I have one more theory to try out based on the ui feedback. I have to take a quick shower but I can whip up a proof of concept fix within the hour.
On Sat, Apr 27, 2024 at 3:23 PM velolala @.***> wrote:
@Bouni and others, I can try to reproduce it here. I’ve seen it happen prior to the fts5 changes but it’s sporadic. Crash, then restart and download finishes. If I can catch it on the debugger that should help, and I’ll look at the issue text above.