|Anonymous | Login | Signup for a new account||2022-07-01 00:01 PDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0011174||Dwarf Fortress||Dwarf Mode -- Thoughts and Preferences||public||2019-11-06 14:39||2021-12-01 10:23|
|Platform||OS||Linux||OS Version||Arch Linux 5.3.7|
|Target Version||Fixed in Version|
|Summary||0011174: Buffer Overflow When opening Thoughts and Preferences in PRINT_MODE:TEXT When Terminal Resoluion too large.|
|Description||When PRINT_MODE:TEXT is enabled on dwarf fortress, and when the Current Terminal Resolution is too large, Opening Thoughts and Preferences of any dwarf will cause a buffer overflow, and cause the game to crash.|
|Steps To Reproduce||1. Open ./data/init/init.txt |
2. Change the setting "PRINT_MODE:2D" to "PRINIT_MODE:TEXT"
3. Execute Dwarf fortress in your Terminal Emulator
4. Start the game in Fortress Mode
5. View Any Dwarf and Open Thoughts and Preferences
|Additional Information||I have a 1440P monitor and I am using a rather small terminal font, witch could be contributing to the problem.|
|Tags||No tags attached.|
|I've tried to set up a ssh game session in maximized terminal emulator with 6pt font on 1080p monitor, everything seemed to work fine. If the problem persists and desribed properly, then there should be specific environment issues.|
|NZOLBE: How many columns wide, exactly, is your terminal emulator?|
I've encountered a nearly identical issue - a buffer overflow that occurs on certain actions at high resolutions (embarking, viewing help pages, etc). Unsure if I should make a new report.
The error only seems to occur when the terminal is 260 columns wide (or above), and I haven't been able to trigger it by changing the vertical resolution.
Linux (Xubuntu 20LTS), XFCE terminal
That's the same issue - all of those actions open the same text viewer screen as "thoughts and preferences".
DF only currently supports resolutions of up to 255 (maybe 256) tiles in either dimension.
|2019-11-06 14:39||NZOLBE||New Issue|
|2019-11-07 20:01||risusinf||Note Added: 0039574|
|2019-11-22 09:27||lethosor||Note Added: 0039588|
|2021-11-12 19:57||WillHayCode||Issue Monitored: WillHayCode|
|2021-11-12 20:01||WillHayCode||Note Added: 0041174|
|2021-12-01 10:23||lethosor||Note Added: 0041184|
|Copyright © 2000 - 2010 MantisBT Group|