Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault on 0.47.03-beta1 #1521

Closed
ror6ax opened this issue Mar 15, 2020 · 10 comments
Closed

Segfault on 0.47.03-beta1 #1521

ror6ax opened this issue Mar 15, 2020 · 10 comments
Labels
crash/hang develop only Specific to current development (not stable) builds

Comments

@ror6ax
Copy link

ror6ax commented Mar 15, 2020

./dfhack: line 83: 103134 Segmentation fault      (core dumped) setarch "$setarch_arch" -R env LD_PRELOAD="$PRELOAD_LIB" ./libs/Dwarf_Fortress "$@"

How do I upload more data for debugging? Error logs are empty.

@ragundo
Copy link

ragundo commented Mar 15, 2020

If you have a RelWithDbgInfo version of DFHack, start it and attach gdb/Visual Studio or whatever debugger you use to the process.

@lethosor
Copy link
Member

We didn't release a 0.47.03-rc1 - can you double-check what build you're using?
When does this segfault occur? Is it reproducible?

@erikjuvan
Copy link

Hello, since the issue is open, I also seem to be having similiar issues, so I thought I would pitch in.
My system:
Linux arch 5.4.15-arch1-1 #1 SMP PREEMPT Sun, 26 Jan 2020 09:48:50 +0000 x86_64 GNU/Linux
Dwarffortress v0.47.04
DFHack version 0.47.04-alpha0 - built from AUR

Segfault happenes in plugins/stonesense/ItemConfiguration.cpp on line if(contentLoader->itemConfigs[main_type] == nullptr) because itemConfigs seems to be empty.

Also the last text that is displayed before it hangs is: Loading stonesense/items/greiger items/Grei_items.xml

Also the logs (stderr.log and stdout.log) are empty.

@lethosor
Copy link
Member

@erikjuvan does that happen when you launch Stonesense or when you start DF (or something else)?

@erikjuvan
Copy link

erikjuvan commented Mar 17, 2020

@lethosor I run ./dfhack, then from dfhack console I run stonesense. Segfault happens when DF goes to actual gameplay (when stonesense starts loading resources).

@lethosor
Copy link
Member

Your issue might be DFHack/stonesense#68, then

@lethosor lethosor changed the title Segfault on 0.47.03-rc1 Segfault on 0.47.03-beta1 Apr 14, 2020
@lethosor lethosor added the develop only Specific to current development (not stable) builds label Apr 14, 2020
@lethosor
Copy link
Member

@ror6ax we're going to need more details to address this - first off, does it occur in 0.47.04-beta1 or newer? If so, is it reproducible? Is it specific to any save (if so, uploading it would help)? What architecture (32-bit or 64-bit) are you using?

@lethosor
Copy link
Member

We're going to need more information to be able to reproduce/fix this, unfortunately. Feel free to reopen this if it's reproducible in >=0.47.04.

@shawntan
Copy link

Just tested this on 0.47.04, same thing happens for me, stops at:

Loading stonesense/items/greiger items/Grei_items.xml

@lethosor
Copy link
Member

Could you add details on the Stonesense crash to DFHack/stonesense#68? The initial report here is likely unrelated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash/hang develop only Specific to current development (not stable) builds
Projects
None yet
Development

No branches or pull requests

5 participants