Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0005048Dwarf FortressAdventure Mode -- Conversationpublic2012-02-14 02:102014-07-09 18:12
pilgrimboy 
Toady One 
immediatecrashalways
resolvedfixed 
PCWindows 7Home Premium SP1
0.34.01 
0.34.02 
0005048: Crash when greeting/talking to villager (access violation)
First action in a new game in adventure mode. I go to greet a person in the house next to where I start, and the game crashes. Reproduced the crash three times.
Load game. Open door. Greet Lar Thilikamca, the great game crasher. I hate Lar.
.
0.34.01, crash
has duplicate 0005049resolved Knight Otu Adventure Mode Crash 
has duplicate 0005085resolved Footkerchief Adventure mode crashes upon beginning a conversation 
has duplicate 0005093resolved Footkerchief select villager with k, select "greet", game crash 
has duplicate 0005233resolved Logical2u Crash when trying to talk. 
Issue History
2012-02-14 02:10pilgrimboyNew Issue
2012-02-14 02:16pilgrimboyIssue Monitored: pilgrimboy
2012-02-14 02:16pilgrimboyIssue End Monitor: pilgrimboy
2012-02-14 02:17pilgrimboyNote Added: 0019495
2012-02-14 02:18pilgrimboyIssue Monitored: pilgrimboy
2012-02-14 02:18pilgrimboyIssue End Monitor: pilgrimboy
2012-02-14 02:39thvazNote Added: 0019496
2012-02-14 02:56Knight OtuRelationship addedhas duplicate 0005049
2012-02-14 03:42thvazIssue Monitored: thvaz
2012-02-14 04:35runiqNote Added: 0019500
2012-02-14 04:35runiqIssue Monitored: runiq
2012-02-14 05:04FootkerchiefSummaryCrash when greeting villager => Crash when greeting villager (access violation)
2012-02-14 05:05FootkerchiefSummaryCrash when greeting villager (access violation) => Crash when talking to villager (access violation)
2012-02-14 05:05FootkerchiefNote Added: 0019501
2012-02-14 05:30pilgrimboyNote Added: 0019505
2012-02-14 05:44runiqNote Added: 0019506
2012-02-14 07:24ulf_fenrirNote Added: 0019514
2012-02-14 07:25ulf_fenrirIssue Monitored: ulf_fenrir
2012-02-14 07:26ulf_fenrirNote Edited: 0019514bug_revision_view_page.php?bugnote_id=0019514#r7317
2012-02-14 10:08sunfire1226Note Added: 0019532
2012-02-14 12:10JotwebeNote Added: 0019539
2012-02-14 12:11JotwebeIssue Monitored: Jotwebe
2012-02-14 12:49runiqNote Added: 0019543
2012-02-14 13:17Iapetus144Note Added: 0019548
2012-02-14 13:23Iapetus144Note Added: 0019550
2012-02-14 14:09JotwebeNote Edited: 0019539bug_revision_view_page.php?bugnote_id=0019539#r7333
2012-02-14 14:25JotwebeNote Edited: 0019539bug_revision_view_page.php?bugnote_id=0019539#r7334
2012-02-14 14:33StromkoNote Added: 0019553
2012-02-14 17:39Rafal99Note Added: 0019577
2012-02-14 18:18FootkerchiefRelationship addedhas duplicate 0005085
2012-02-14 18:18FootkerchiefIssue Monitored: StrongAxe
2012-02-14 20:03FootkerchiefSummaryCrash when talking to villager (access violation) => Crash when greeting/talking to villager (access violation)
2012-02-14 20:03FootkerchiefRelationship addedhas duplicate 0005093
2012-02-14 20:04FootkerchiefSticky IssueNo => Yes
2012-02-14 21:18DeterminationTag Attached: 0.34.01
2012-02-14 21:18DeterminationTag Attached: crash
2012-02-14 21:37DeterminationNote Added: 0019598
2012-02-14 21:54DeterminationIssue Monitored: Determination
2012-02-14 22:11OhCrapNote Added: 0019600
2012-02-14 22:33sylveroneNote Added: 0019603
2012-02-14 22:33sylveroneNote Edited: 0019603bug_revision_view_page.php?bugnote_id=0019603#r7347
2012-02-15 01:38RiceMunkNote Added: 0019609
2012-02-15 03:42rowanasNote Added: 0019615
2012-02-15 06:10Rafal99Note Added: 0019623
2012-02-15 06:11Rafal99Issue Monitored: Rafal99
2012-02-15 11:25HopFlashNote Added: 0019652
2012-02-15 11:25HopFlashNote Edited: 0019652bug_revision_view_page.php?bugnote_id=0019652#r7356
2012-02-15 14:04HopFlashNote Added: 0019678
2012-02-15 14:30FootkerchiefNote Added: 0019684
2012-02-15 15:34KercsoIssue Monitored: Kercso
2012-02-15 16:01sektor666Note Added: 0019707
2012-02-15 16:02sektor666Issue Monitored: sektor666
2012-02-15 21:54lightmanIssue Monitored: lightman
2012-02-15 21:58lightmanNote Added: 0019744
2012-02-16 05:54RiceMunkIssue Monitored: RiceMunk
2012-02-16 13:49SilicoidTag Attached: mummy
2012-02-16 13:49SilicoidTag Attached: undead
2012-02-16 13:49SilicoidTag Detached: undead
2012-02-16 13:49SilicoidTag Detached: mummy
2012-02-16 16:29Toady OneNote Added: 0019855
2012-02-16 16:29Toady OneStatusnew => resolved
2012-02-16 16:29Toady OneFixed in Version => Next Version
2012-02-16 16:29Toady OneResolutionopen => fixed
2012-02-16 16:29Toady OneAssigned To => Toady One
2012-02-16 22:57JotwebeIssue End Monitor: Jotwebe
2012-02-17 13:33Logical2uRelationship addedhas duplicate 0005233
2012-02-17 16:26thvazIssue End Monitor: thvaz
2012-02-21 10:56Rafal99Issue End Monitor: Rafal99
2012-02-21 14:30runiqIssue End Monitor: runiq
2012-03-02 17:35DwarfuSticky IssueYes => No
2014-07-09 18:12lightmanIssue End Monitor: lightman

Notes
(0019495)
pilgrimboy   
2012-02-14 02:17   
I reproduced it two more times with two other villagers. So it isn't just Lar. But I still hate him.
(0019496)
thvaz   
2012-02-14 02:39   
In the first wolrd I genned, I tried with 3 adventurers with 3 different people. All crashed. I dind't have this problem in another world I generated.
(0019500)
runiq   
2012-02-14 04:35   
Happening on Linux as well. Would a save file be helpful?
(0019501)
Footkerchief   
2012-02-14 05:05   
Reminder sent to: pilgrimboy, runiq

It would probably help for Toady to have at least one save, yes. http://dffd.wimbli.com/ [^]
(0019505)
pilgrimboy   
2012-02-14 05:30   
http://dffd.wimbli.com/file.php?id=5482 [^]
(0019506)
runiq   
2012-02-14 05:44   
And mine: http://dffd.wimbli.com/file.php?id=5483 [^]
(0019514)
ulf_fenrir   
2012-02-14 07:24   
(edited on: 2012-02-14 07:26)
Crash confirmed on Mac OS X 10.7.3 as well. Talked to the first person I see, the standard conversation screen is displayed then crash without any additional action.

(0019532)
sunfire1226   
2012-02-14 10:08   
Happens on mine too on my Mac, OS 10.6.8.
(0019539)
Jotwebe   
2012-02-14 12:10   
(edited on: 2012-02-14 14:25)
Same here, tried genning another work, no help. Segfaults whenever talking to someone and choosing "greet" (not on "nevermind"). Ubuntu Linux, 64 bit.

EDIT: A goblin chieftain boasting did not crash.

EDIT: Aaaand third time's the charm. Genned another world, and this time the bug appears to be absent.

(0019543)
runiq   
2012-02-14 12:49   
After two worlds with this issue, I just genned another world and the issue is gone. Greeting people works now, albeit there's a bit of a delay before the rest of the dialog options appear.
(0019548)
Iapetus144   
2012-02-14 13:17   
Everytime I "Greet" someone in the talk menu, the game freezes. I'm using Windows 7.

I'll try genning another world. That seems to have helped some people.
(0019550)
Iapetus144   
2012-02-14 13:23   
Created a second world. The bug isn't present in the new world.
(0019553)
Stromko   
2012-02-14 14:33   
First world I generated has this problem too. Hoping I can generate a world without the bug soon, as it takes about 30 minutes per.
(0019577)
Rafal99   
2012-02-14 17:39   
I have this problem too. I have created 2 worlds and adventurer in each of them and it always happens. The crash doesn't seem related to TrueType as it happens even with TRUETYPE:NO.
(0019598)
Determination   
2012-02-14 21:37   
My bugged save as well:
http://dffd.wimbli.com/file.php?id=5506 [^]
(0019600)
OhCrap   
2012-02-14 22:11   
Very easy to reproduce, without modifications to init file.
(0019603)
sylverone   
2012-02-14 22:33   
I got this bug too. Vanilla SDL on Windows 7.

(0019609)
RiceMunk   
2012-02-15 01:38   
Got this crash as well on the first three worlds I created. On the fourth one I used a pretty low number of years in the worldgen (50, as opposed to e.g. 250 on one of the others) and didn't get a crash when talking to villagers. Not sure if there's a relation between years of history and crashes happening.
(0019615)
rowanas   
2012-02-15 03:42   
I get this crash if I try to talk as well. I'm using Mac OS 5.8
(0019623)
Rafal99   
2012-02-15 06:10   
I noticed that when you select to talk to someone, the DF memory usage starts rapidly growing. At one occasion the DF process memory usage was almost exactly 2GB when it crashed, which would suggest that crash happens because of running out of memory. In another try, it crashed at about 1.7GB DF memory usage, which is also pretty close.
This would also explain why smaller worlds don't crash, as smaller world means less memory usage at start, and also less when it peeks the moment you talk. If total memory usage at the peek is less than 2GB then it could have chance of not crashing.
Still the question is why it eats so much memory when you start the talk, is it a bug, or just a necessity because of amount of data in the world.
(0019652)
HopFlash   
2012-02-15 11:25   
I watched my DF memory usage with the task manager under Win7-64bit and it was still at 700 MB before and at the moment I Greet the trader (or other people) and it crashed.

My savegame is here: http://dffd.wimbli.com/file.php?id=5515 [^]

(0019678)
HopFlash   
2012-02-15 14:04   
In the savegame above I had a relative long world generation time (somewhere after year 200 it needs significant longer for one year step).
Thereafter I created a new world with short history and small world...it was generated with light speed. And no crashes with Greetings.

On my other computer I generate a medium map with medium history and the first years of generation were fast but somewhere after year 200 it takes loooong to step further. After 2 1/2 hours and year 234 I wanted to abort but my keypress wasn't recognized. After 4 hours it was finally finished.
Then I start with an adventurer and tried to Greet someone...it crashed.

So perhaps there is some junction between the long world generation part and talking to people. Perhaps something with the history?
(0019684)
Footkerchief   
2012-02-15 14:30   
That's probably enough savegames for Toady to fix the problem. Thanks all!
(0019707)
sektor666   
2012-02-15 16:01   
Confirmed. I downloaded 34.01 yesterday and played no problem.
Then I generated a new region today and it started crashing upon 'Greet'ing anyone. Regenerated the region two more times, same thing.
(0019744)
lightman   
2012-02-15 21:58   
I am also seeing this issue. Windows 7, 2D
(0019855)
Toady One   
2012-02-16 16:29   
This is sorted out for next time. I think it had to do with bandits living in ruins. There was also a 14 second or so delay in talking to people in longer history/larger worlds which I've managed to mostly eliminate.