Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003762Dwarf FortressTrueTypepublic2010-11-30 17:512012-03-17 07:11
Reportercptjoker 
Assigned ToBaughn 
PrioritynormalSeveritycrashReproducibilitysometimes
StatusresolvedResolutionfixed 
PlatformPCOSWindowsOS VersionXP & Vista
Product Version0.31.18 
Target VersionFixed in Version0.34.01 
Summary0003762: Crash on moving (k) cursor over certain spatters with TrueType (long names?)
DescriptionAfter killing a large uninvited guest like a minotaur, the game crashes whenever I use the main cursor (k) to look at a certain tile around the corpse, usually drenched in the creature's blood (although even when the blood disappears the bug still remains.) This happened twice with minotaurs, and once with an outside-wandering spider creature that I can't remember the name of. The game carries on fine as long as I don't move the (k) cursor over that tile. After a while the bug seems to go away (long after the corpse has disappeared.) I'm also using Ironhand's v0.494 tileset.
Steps To ReproduceKill uninvited guest like a minotaur. Move (k) cursor over one of the 8 tiles surrounding the corpse, one causes CTD. Using Ironhand v0.494 tileset.
Additional InformationRunning Ironhand v0.494 tileset.
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0003821resolvedFootkerchief Crash after killing Forgotten Beast and looking at ground near the corpse 
has duplicate 0003381resolvedDwarfu Crash when viewing item name that is too long to display on screen 
has duplicate 0003944resolvedLogical2u Complete crash when using K (look around) on dropped megabeast items 
has duplicate 0004059resolvedDwarfu Crashing at random, mostly on unit inventory 
has duplicate 0003373resolvedDwarfu Animal Inventory crash 
has duplicate 0003747resolvedDwarfu crash upon inventory opening of Soldier (cannot follow orders) 
has duplicate 0004104resolvedDwarfu Bugged item selection 
has duplicate 0003385resolvedDwarfu artifact list crashes when TrueType font used 
has duplicate 0004369resolvedFootkerchief Blood Spatter Causing Crashes 
has duplicate 0004383resolvedDwarfu Crash on selecting barracks with TrueType 
has duplicate 0004485resolvedFootkerchief Game crashes when using expanded menu to place statues 
has duplicate 0004571resolvedLogical2u Crash when viewing inventories of blood-splattered creatures 
has duplicate 0004699resolvedDwarfu Game crashes when looking at bed 
has duplicate 0004643resolvedDwarfu Viewing A Unit With Blood Spatter Kills Game 
has duplicate 0004576resolvedDwarfu Game crashes when attempting to view inventory of some military dwarves. 
has duplicate 0004598resolvedDwarfu Game crash when viewing units items or ground items (often after invasion) 
has duplicate 0004749resolvedDwarfu Everytime i kill a minotaur the game crashes and closes 
has duplicate 0004754resolvedDwarfu Any time a specific dwarf dies, the game crashes 
has duplicate 0004781resolvedLogical2u Forgotten Beast makes DF crashes after killed. 
has duplicate 0004837resolvedDwarfu Using "k" on a specific tile results always to crash 
has duplicate 0004887resolvedDwarfu Crashing in Unit View 
has duplicate 0004891resolvedDwarfu Game crash when scrolling over a bed using the Q selection 
has duplicate 0004896resolvedKnight Otu Crash on viewing giantess blood 
has duplicate 0004629resolvedLogical2u Crash on second spout of dragonfire 
has duplicate 0003249resolvedFootkerchief Crash using zoom to site feature in adventure mode quest screen. 
has duplicate 0005008resolvedFootkerchief 100% reproducible CTD when viewing inventory of dwarves 
has duplicate 0003483resolvedFootkerchief Certain crash when using "v" key to view certain creatures inventory. 
has duplicate 0004961resolvedFootkerchief freeze/crash by overload of blood splatter in inventory on wardogs 
has duplicate 0005026resolvedFootkerchief Game crashes when going into inventory 
has duplicate 0004879resolvedFootkerchief Attempt to view 'z' of war dog caused segmentation fault in Linux 
related to 0003246resolvedBaughn TrueType: Some dwarves' names are cut off at diacritics, other diacritics are turned into blocks 
related to 0003713resolvedBaughn DF crashes when attempting to use Aimed attacks when using truetype display in Linux 
related to 0002750resolvedBaughn Crash when zooming in Windowed mode (TrueType related) 
related to 0003229resolvedFootkerchief Crash when navigating over a particular region of the world in preparation for embarking (TrueType) 
related to 0005446resolvedBaughn Crash when using TrueType, always happens when text runs off the screen. 

-  Notes
(0014327)
Footkerchief (manager)
2010-11-30 18:49
edited on: 2010-11-30 18:49

Are you using TrueType? Does the crash still occur if you move the save into a vanilla install of DF?

(0014341)
cptjoker (reporter)
2010-12-01 07:03

Yes, I have been using TrueType; and no, the bug does not occur in a vanilla install of DF v31.18.
(0014342)
Footkerchief (manager)
2010-12-01 08:30

Hmm, does it still crash if you just disable TrueType in your custom install?
(0014344)
cptjoker (reporter)
2010-12-01 08:38

Nope, turning TT off seems to fix the bug.
(0014346)
Footkerchief (manager)
2010-12-01 08:44

Thanks for investigating. Does the minotaur have an unusually long name or anything like that?
(0014347)
cptjoker (reporter)
2010-12-01 08:51

No, I don't think so. And I don't think it's limited to minotaur blood, as I originally thought, since I just had a battle with goblins and trolls and some of their bloody remains are also causing tiles to CTD - but there's nothing really consistent about which blood spatters or smears cause it. The only thing I can really observe is that the tiles seem to have five or six different blood spatters on them, and the blood owners (mostly dwarven) appear to have rather long names.
(0014499)
hyperactiveChipmunk (reporter)
2010-12-10 07:54

I notice this happening with what seems to be certain diacritic characters, depending on the font used. The problem is associated with viewing blood spatters most often, but that's only because that's the only time during normal run-of-play in which the game is asked to render the individual names of certain creatures with TrueType fonts.

With respect to this, I have found the open-source Gentium font best for handling nearly all the characters that it's asked to display, with only very few characters that trigger the "Nonexistent texture data" crash. However, there is still at least one character that even it crashes with, which I can narrow down to a certain page on the list of blood attached to a tame hoary marmot in my fortress. I'll attach a screenshot of the non-TrueType version as soon as I'm able.
(0014620)
ShunterAlhena (reporter)
2010-12-18 07:34

I also have this issue. Fresh DF, fresh world, Ironhand charset (current newest), and using "k" while in run-mode (as opposed to being paused) causes reproducible instant crash.

Turning off TrueType fixes the issue.
(0015296)
bloodtoes (reporter)
2011-02-20 00:20
edited on: 2011-02-20 00:28

I am adding this for the sole purpose of contributing more info since in my case, the crash occurred with (v) view unit, rather than (k) look around.

I received this crash with 31.18 and .19, on mac and windows. It happens immediately upon viewing the inventory of a specific dwarf. Turning off TTF resolved it. The font I was using was Anonymous Pro Bold Italic from http://www.ms-studio.com/FontSales/anonymouspro.html [^] (it's a free font).

The dwarf's inventory:

(warthog leather trousers), Lower body
(giant cave spider silk dress), Upper body
(elk bird leather robe), Upper body
(pig tail fiber cloak), Upper body
(cat leather cap), Head
(pig tail fiber hood), Head
(cheetah leather left glove), Left hand
(leopard leather left glove), Left hand
(pig tail fiber left mitten), Left hand
(cheetah leather right glove), Right hand
(cheetah leather right glove), Right hand
(pig tail fiber right mitten), Right hand
*spiny dogfish leather waterskin*, (giant cave spider

In vanilla, the display cuts off there.

ETA: The above mentioned Genitum font allowed me to view the inventory without crash, and the complete text of the final entry is "*spiny dogfish leather waterskin*, (giant cave spider silk dress)"

(0015422)
Niveras (reporter)
2011-02-23 08:25
edited on: 2011-02-23 09:14

I am experiencing a crash when attempting to loo'k' at a huge pool of contaminants. Some blood pools belong to dwarves with titles awarded by kills, making them a few characters longer than the rest. The crash also occurs intermittently when attempting to 'v'iew certain dwarves, though I am not certain if that is also due to contaminants or, as bloodtoes shows, simply a long entry due to stacked equipment.

My initial belief is that it was caused purely by fixed width fonts. This held true when using AnonymousPro-Bold (linked by bloodtoes), my default CourierNew-Bold, and additionally FixedSys provided by default in Windows. It did not crash when using Ironhand's Liberation, DF's original Droid, or Ebrima (a random non-fixed width provided by Windows). However, I found that I could view the pool of contaminants even with the fixed width fonts if I did not maximize the DF window (through double clicking the title bar). Testing further, I found that if I left DF to determine the size of the window (WINDOWED:YES, GRAPHICS_WINDOWEDX:0, GRAPHICS_WINDOWEDY:0), I could view the pool with any kind of font. If I resized the window in any way (manually dragging the borders, WINDOWED:NO, GRAPHICS_WINDOWEDX:80, GRAPHICS_WINDOWEDY:64, maximizing the window via title bar), viewing the pool with a fixed width font would cause a crash. Turning off graphics (but leaving TTF enabled and using any kind of font) would allow me to loo'k' at the pool without crashing, even if I changed the size of the game window.

(0016484)
Footkerchief (manager)
2011-03-22 15:46

Saves:
0003381: http://dl.dropbox.com/u/877292/region1.zip [^]
0003373: http://www.mediafire.com/?bfdbmwgsjxstwbw [^]
0003747: http://dffd.wimbli.com/file.php?id=3493 [^]
0004104: http://dffd.wimbli.com/file.php?id=3877 [^]
(0016610)
Dwarfu (manager)
2011-03-25 22:28

Save from 0003385 with TrueType crash on the artifact list:
http://dffd.wimbli.com/file.php?id=3235 [^]
(0016774)
Dwarfu (manager)
2011-03-29 13:47

Save from 0004383 with TrueType crash on selection 'q' of barracks:
http://dffd.wimbli.com/file.php?id=4073 [^]
(0017825)
Baughn (manager)
2011-05-23 05:25

I fixed this some time ago; it was a case of signed (char) overflow in array dereferencing. It'll be fine next release.
(0019454)
Footkerchief (manager)
2012-02-02 09:15

Reminder sent to: Quietust

I've changed the status on this bug to allow you to post the binary patch info.
(0019455)
Quietust (reporter)
2012-02-02 11:31
edited on: 2012-02-02 11:43

Binary patch for Win32 DF 0.31.25 SDL:
2F063F : BE -> B6
2F07DD : BE -> B6

Binary patch for Linux DF 0.31.25 (libgraphics.so):
EB641 : BE -> B6
EBE51 : BE -> B6


- Issue History
Date Modified Username Field Change
2010-11-30 17:51 cptjoker New Issue
2010-11-30 18:49 Footkerchief Category Dwarf Mode -- Interface, Main View => Contaminants/Spatter
2010-11-30 18:49 Footkerchief Summary CTD on moving (k) cursor near body of minotaur => Crash on moving (k) cursor over minotaur blood
2010-11-30 18:49 Footkerchief Note Added: 0014327
2010-11-30 18:49 Footkerchief Note Edited: 0014327 View Revisions
2010-12-01 07:03 cptjoker Note Added: 0014341
2010-12-01 08:30 Footkerchief Note Added: 0014342
2010-12-01 08:38 cptjoker Note Added: 0014344
2010-12-01 08:42 Footkerchief Category Contaminants/Spatter => TrueType
2010-12-01 08:43 Footkerchief Summary Crash on moving (k) cursor over minotaur blood => Crash on moving (k) cursor over minotaur blood with TrueType
2010-12-01 08:44 Footkerchief Note Added: 0014346
2010-12-01 08:51 cptjoker Note Added: 0014347
2010-12-01 09:27 Footkerchief Summary Crash on moving (k) cursor over minotaur blood with TrueType => Crash on moving (k) cursor over certain spatters with TrueType (long names?)
2010-12-10 07:54 hyperactiveChipmunk Note Added: 0014499
2010-12-11 09:26 Footkerchief Relationship added related to 0003806
2010-12-16 15:48 Footkerchief Relationship added has duplicate 0003821
2010-12-18 07:34 ShunterAlhena Note Added: 0014620
2011-02-04 08:02 Dwarfu Relationship added has duplicate 0003381
2011-02-11 08:34 Footkerchief Relationship added has duplicate 0003944
2011-02-11 09:04 Logical2u Issue Monitored: neilarm
2011-02-20 00:20 bloodtoes Note Added: 0015296
2011-02-20 00:22 bloodtoes Note Edited: 0015296 View Revisions
2011-02-20 00:28 bloodtoes Note Edited: 0015296 View Revisions
2011-02-23 08:25 Niveras Note Added: 0015422
2011-02-23 08:48 Footkerchief Relationship added has duplicate 0004059
2011-02-23 09:11 Niveras Issue Monitored: Niveras
2011-02-23 09:14 Niveras Note Edited: 0015422 View Revisions
2011-02-26 08:41 Dwarfu Relationship added has duplicate 0003373
2011-02-26 08:41 Dwarfu Issue Monitored: Noctune
2011-02-26 21:03 Dwarfu Relationship added has duplicate 0003747
2011-03-01 22:39 Dwarfu Relationship added has duplicate 0004104
2011-03-01 23:42 Footkerchief Sticky Issue No => Yes
2011-03-22 10:13 Footkerchief Relationship added related to 0003246
2011-03-22 15:46 Footkerchief Note Added: 0016484
2011-03-25 22:27 Dwarfu Relationship added has duplicate 0003385
2011-03-25 22:28 Dwarfu Note Added: 0016610
2011-03-28 01:20 Footkerchief Relationship added has duplicate 0004369
2011-03-28 01:20 Footkerchief Issue Monitored: dieffenbachj
2011-03-28 23:28 Footkerchief Relationship added related to 0003713
2011-03-29 13:06 Footkerchief Relationship added related to 0004383
2011-03-29 13:45 Dwarfu Relationship replaced has duplicate 0004383
2011-03-29 13:45 Dwarfu Issue Monitored: agatharchides
2011-03-29 13:47 Dwarfu Note Added: 0016774
2011-04-07 13:28 Footkerchief Relationship added related to 0004461
2011-04-09 12:15 Footkerchief Relationship added parent of 0004485
2011-05-15 14:48 Logical2u Relationship added has duplicate 0004571
2011-05-23 05:25 Baughn Note Added: 0017825
2011-05-23 05:25 Baughn Status new => resolved
2011-05-23 05:25 Baughn Fixed in Version => Next Version
2011-05-23 05:25 Baughn Resolution open => fixed
2011-05-23 05:25 Baughn Assigned To => Baughn
2011-06-13 13:46 Dwarfu Relationship added has duplicate 0004699
2011-06-28 13:39 Dwarfu Relationship added has duplicate 0004643
2011-06-28 14:31 Dwarfu Relationship added has duplicate 0004576
2011-06-28 14:31 Dwarfu Issue Monitored: Ghosti
2011-07-08 22:51 Dwarfu Relationship added has duplicate 0004598
2011-07-12 18:43 Dwarfu Relationship added has duplicate 0004749
2011-07-28 09:42 Footkerchief Relationship added related to 0004754
2011-07-28 09:51 Footkerchief Relationship added related to 0004781
2011-08-17 01:41 Dwarfu Relationship added has duplicate 0004837
2011-09-10 08:27 Logical2u Relationship added related to 0004887
2011-09-12 00:39 Dwarfu Relationship added has duplicate 0004891
2011-09-13 14:21 Knight Otu Relationship added has duplicate 0004896
2011-11-29 12:20 Footkerchief Relationship added related to 0004972
2011-11-29 12:26 Footkerchief Relationship added related to 0004961
2011-12-10 09:35 Logical2u Relationship added related to 0002750
2011-12-10 09:36 Logical2u Relationship added has duplicate 0004629
2011-12-10 09:37 Logical2u Relationship replaced has duplicate 0004781
2011-12-11 09:32 Dwarfu Relationship replaced has duplicate 0004887
2011-12-11 09:32 Dwarfu Issue Monitored: nDomenique
2011-12-11 16:00 Dwarfu Relationship added related to 0003249
2012-01-06 18:35 Footkerchief Relationship added has duplicate 0005008
2012-01-07 23:03 Dwarfu Relationship added parent of 0003229
2012-01-07 23:03 Dwarfu Relationship replaced related to 0003229
2012-01-20 10:40 Footkerchief Relationship added related to 0003483
2012-01-20 10:40 Footkerchief Relationship deleted related to 0004961
2012-01-20 10:42 Footkerchief Relationship deleted related to 0003806
2012-01-20 10:42 Footkerchief Relationship replaced related to 0004485
2012-01-20 10:43 Footkerchief Relationship replaced has duplicate 0004754
2012-01-20 10:43 Footkerchief Relationship deleted related to 0004461
2012-02-02 09:14 Footkerchief Status resolved => assigned
2012-02-02 09:15 Footkerchief Issue Monitored: Quietust
2012-02-02 09:15 Footkerchief Note Added: 0019454
2012-02-02 11:31 Quietust Note Added: 0019455
2012-02-02 11:43 Quietust Note Edited: 0019455 View Revisions
2012-02-02 17:17 Quietust Issue End Monitor: Quietust
2012-02-06 08:07 Footkerchief Status assigned => resolved
2012-02-14 17:05 Footkerchief Relationship replaced has duplicate 0003249
2012-02-19 15:52 Footkerchief Relationship replaced has duplicate 0003483
2012-02-19 15:52 Footkerchief Issue Monitored: Knight Otu
2012-02-19 15:53 Footkerchief Relationship added has duplicate 0004961
2012-02-19 15:53 Footkerchief Relationship added has duplicate 0005026
2012-02-19 15:53 Footkerchief Issue Monitored: Durithill
2012-02-28 07:25 Footkerchief Relationship added related to 0005446
2012-03-17 07:11 Dwarfu Sticky Issue Yes => No
2012-03-30 06:50 Footkerchief Relationship replaced has duplicate 0004485
2014-07-22 10:53 Footkerchief Relationship deleted related to 0004972
2015-01-06 12:00 Footkerchief Relationship added has duplicate 0004879
2015-01-06 12:00 Footkerchief Issue Monitored: rawrmage


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker