Skip to content

fix nodejs macosx crashes on JSON test#16

Merged
adsharma merged 2 commits intomainfrom
nodejs_fix_crash
Apr 29, 2026
Merged

fix nodejs macosx crashes on JSON test#16
adsharma merged 2 commits intomainfrom
nodejs_fix_crash

Conversation

@adsharma
Copy link
Copy Markdown
Contributor

@adsharma adsharma commented Apr 29, 2026

Root cause: a commit landed on main repo that broke the extension ABI by adding an extra bool on DBConfig.

When using a prebuilt liblbug archive, derive the native addon extra
link libraries from Ladybug's generated link lines even when those
lines do not contain the archive itself. This keeps third-party
static libraries such as Thrift on the lbugjs.node link line and
avoids unresolved symbols when the addon is loaded.
Convert Ladybug JSON values through Value::toString() instead of
Value::getValue<std::string>(). JSON uses string-like storage but
the std::string getter asserts that the logical type is STRING,
BLOB, or UUID, so debug/assert-enabled builds failed while release
builds could appear to work by reading the underlying string value.
@adsharma adsharma merged commit 8e90c8c into main Apr 29, 2026
4 checks passed
@adsharma adsharma deleted the nodejs_fix_crash branch April 29, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant