Skip to content

Enable stack traces on linux for bundled libraries#18363

Merged
Mytherin merged 1 commit intoduckdb:v1.3-ossivalisfrom
taniabogatsch:stacktraces-linux
Jul 22, 2025
Merged

Enable stack traces on linux for bundled libraries#18363
Mytherin merged 1 commit intoduckdb:v1.3-ossivalisfrom
taniabogatsch:stacktraces-linux

Conversation

@taniabogatsch
Copy link
Contributor

Not sure if we want to do the same for the main distribution binaries?

Currently, linux stack traces look like this:

./dist/myprogram() [0x25c97a6]
./dist/myprogram() [0x25c9864]
./dist/myprogram() [0x25cc6b9]
./dist/myprogram() [0x1e5ee8e]

See this PR, which added the flag: #15587

Related issue: https://github.com/duckdblabs/duckdb-internal/issues/5364

@taniabogatsch taniabogatsch requested a review from carlopi July 22, 2025 15:10
@carlopi carlopi requested a review from Mytherin July 22, 2025 15:13
@carlopi
Copy link
Contributor

carlopi commented Jul 22, 2025

@Mytherin has more context on why that's not the default on Linux (speed? size? portability?)

@Mytherin
Copy link
Collaborator

I lost that context some time ago :)

I think there's not a particular reason - at the time I just didn't want to risk breaking anything by setting it as a default

Copy link
Contributor

@carlopi carlopi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then I guess this is a best place where to experiment than others. LGTM.

One question is why we use bundled_libraries.cmake, does that mean we ship tpch code?

@Mytherin Mytherin merged commit 524b7f9 into duckdb:v1.3-ossivalis Jul 22, 2025
5 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

@taniabogatsch taniabogatsch deleted the stacktraces-linux branch July 23, 2025 07:58
github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Jul 23, 2025
More robustness around deprecated extension settings (duckdb/duckdb#18353)
Enable stack traces on linux for bundled libraries (duckdb/duckdb#18363)
Re-enable url-encode test (duckdb/duckdb#18360)
github-actions bot added a commit to duckdb/duckdb-r that referenced this pull request Jul 23, 2025
More robustness around deprecated extension settings (duckdb/duckdb#18353)
Enable stack traces on linux for bundled libraries (duckdb/duckdb#18363)
Re-enable url-encode test (duckdb/duckdb#18360)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
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.

3 participants