View Issue Details

IDProjectCategoryView StatusLast Update
0011227Dwarf FortressAdventure Mode -- Conversationpublic2021-04-28 07:50
Reporternoxiilarxene Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status newResolutionopen 
Product Version0.47.01 
Summary0011227: Telling Story about Person or Creature Crashes the Game
DescriptionTelling a story in adventure mode about a person or creature crashes before you can select which person
Steps To Reproduce1. Start adventure mode game
2. Begin a performance
3. About person/creature
4. Crash
TagsNo tags attached.

Activities

Ziusudra

2020-02-06 20:11

reporter   ~0039924

Last edited: 2020-02-06 20:13

Probably not helpful but here's a backtrace

Core was generated by `./libs/Dwarf_Fortress'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000000000706b04 in ?? ()
[Current thread is 1 (Thread 0x7fc903e50700 (LWP 28819))]
/usr/lib/../share/gcc-9.2.0/python/libstdcxx/v6/xmethods.py:731: SyntaxWarning: list indices must be integers or slices, not str; perhaps you missed a comma?
  refcounts = ['_M_refcount']['_M_pi']
(gdb) bt
0 0x0000000000706b04 in ()
1 0x000000000071a419 in ()
2 0x00007fc906eed234 in interfacest::loop() ()
    at /home/ziusudra/Games/Roguelikes/DwarfFortress/other-versions/0.47.01/libs/libgraphics.so
3 0x0000000000a4678e in mainloop() ()
4 0x00007fc906ed11c5 in enablerst::async_loop() ()
    at /home/ziusudra/Games/Roguelikes/DwarfFortress/other-versions/0.47.01/libs/libgraphics.so
5 0x00007fc906ed14e0 in call_loop(void*) ()
    at /home/ziusudra/Games/Roguelikes/DwarfFortress/other-versions/0.47.01/libs/libgraphics.so
6 0x00007fc9074dc71b in () at /usr/lib/libSDL-1.2.so.0
7 0x00007fc90751d6ba in () at /usr/lib/libSDL-1.2.so.0
8 0x00007fc90675b4cf in start_thread () at /usr/lib/libpthread.so.0
9 0x00007fc90687a2d3 in clone () at /usr/lib/libc.so.6

Shonai_Dweller

2020-02-06 20:21

reporter   ~0039925

Works for me (47.01). You'll need to provide a save which crashes to work out what's going on here.

Upload to Bay12's file server and post a link here:
http://dffd.bay12games.com/

noxiilarxene

2020-02-07 06:19

reporter   ~0039934

Whatever it was, seems to work in 47.02 - genned new world + vanilla raws to test, and I was able to get it to work

Ziusudra

2020-02-07 23:33

reporter   ~0039950

Last edited: 2020-02-07 23:42

http://dffd.bay12games.com/file.php?id=14754

talk -> begin a performance -> tell a story -> choose '... person or creature' -> segfault

generated in 0.47.01, crashes in .01 or .02

only modding is to change tiles for grasses and shrubs

default linux package downloaded from bay12 manually installed on Arch linux

I may have some time tomorrow to try generating a new world.

noxiilarxene

2020-02-08 05:26

reporter   ~0039959

So it's definitely not 100% of the time, nor 0%

Ziusudra

2020-02-08 21:39

reporter   ~0039968

Last edited: 2020-02-08 22:42

OK, so...

I exported the w.g. parameters from the save I linked above.

I then regenerated the world in 0.47.02 and the crash doesn't happen.

But, I also regenerated it in 0.47.01 and the crash also doesn't happen. I made sure to start at the same place and as part of the same religion.

In the linked save, I had been playing for a while before I found the crash. I had gone new places, met new histfigs, and learned new things. It seems likely to me that when first starting out, the adventurer doesn't know about the "person or creature" that triggers the crash.

So, just because it doesn't crash at the beginning, doesn't mean it won't crash sometime later.

lurepaints

2021-04-27 18:35

reporter   ~0041039

I believe the storytelling crash occurs when Villains having fake identities show up on the story telling name-list.

I can replicate this crash by starting in a human civilization with nearby tower, traveling to the big city, head to the fortress, and ask around using Persuasion about the local corruption. As soon as the local Vampire or Intelligent undead villain is referenced, (or not mentioned with blank placeholder), this is when storytelling becomes catastrophic. Funny thing, if you manage to find and kill them, the crash goes away.

Shonai_Dweller

2021-04-27 20:33

reporter   ~0041040

Pretty simple to test then. Just start up a party, have one member take on a secret identity, then have another tell a story about him. Does that result in a crash?

lurepaints

2021-04-28 07:50

reporter   ~0041041

No it does not. So far I encounter the problem in a world generated in unmodded in 47.04 and another in 47.05 (running Ubuntu Linux). I start an adventurer (no party) in a human civilization, visit the human sites using the story-telling feature and the intrigue/persuasion like an in-game 'Legends' to learn the lore. Once I come into contact with, or hear mentioned, a certain Vampire or intelligent Undead, the game will always crash when I select tell a story about a person. It does not story-tell crash if I start a new character, but it does once that character encounters the villain. My fix has been to copy the game and load legends into another workspace, currently trying to track another down and kill it to confirm that this gets rid of the issue.

Add Note

Note

Issue History

Date Modified Username Field Change
2020-01-29 09:45 noxiilarxene New Issue
2020-02-06 20:11 Ziusudra Note Added: 0039924
2020-02-06 20:13 Ziusudra Note Edited: 0039924
2020-02-06 20:21 Shonai_Dweller Note Added: 0039925
2020-02-07 06:19 noxiilarxene Note Added: 0039934
2020-02-07 23:33 Ziusudra Note Added: 0039950
2020-02-07 23:42 Ziusudra Note Edited: 0039950
2020-02-08 05:26 noxiilarxene Note Added: 0039959
2020-02-08 21:39 Ziusudra Note Added: 0039968
2020-02-08 22:42 Ziusudra Note Edited: 0039968
2021-04-27 18:35 lurepaints Note Added: 0041039
2021-04-27 20:33 Shonai_Dweller Note Added: 0041040
2021-04-28 07:50 lurepaints Note Added: 0041041