mifki / df-twbt

Text Will Be Text
186 stars 30 forks source link

Application crash with version 5.10 on Windows 7 #3

Closed Lucatir closed 10 years ago

Lucatir commented 10 years ago

The game crashes on start-up when using PRINT_MODE as TWBT. If I try TWBT_LEGACY the game runs and dfhack console says the plugin is successfully enabled.

When using TWBT as the print mode, hust before the crash, dfhack console says "resharp_graphics". I recall the old Next Gen branch doing something like this, albeit successfully.

Repro:

  1. Enable twbt plugin in dfhack.init
  2. Set [PRINT_MODE:TWBT] in init.txt
  3. Run Dwarf Fortress on Win32 platform
Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: Dwarf Fortress.exe
  Application Version:  0.0.0.0
  Application Timestamp:    5419c537
  Fault Module Name:    MSVCR100.dll
  Fault Module Version: 10.0.30319.1
  Fault Module Timestamp:   4ba1dbbe
  Exception Code:   c0000005
  Exception Offset: 00001fc8
  OS Version:   6.1.7601.2.1.0.256.1
  Locale ID:    1035
  Additional Information 1: 4887
  Additional Information 2: 4887a021f243e72fa919d7245388904c
  Additional Information 3: f675
  Additional Information 4: f675b9c0c8b4f63dc48841cb7e8c72cf
Lucatir commented 10 years ago

To add, even with TWBT_LEGACY, I sometime get a game hang. Dfhack console shows only TWBT version info and nothing else before the hang. The game's main window becomes unresponsive.

Don't know if this is related to the original bug or TWBT issue at all, but decided to share nevertheless.

Lucatir commented 10 years ago

If I disable multilevel command from dfhack.init, the game loads with TWBT set as print mode. However, if I, let's say, use multilevel 5 command, the game crashes again.

Lucatir commented 10 years ago

I just tried the following after launching with TWBT print mode and not setting multilevel at dfhack.init:

multilevel 0 <- no crash from 0 to 1 <- crash from 0 to 2 <- crash from 0 to 3 <- no crash and now can select any option from 0-5 without crash.

Very peculiar.