Dune-II---The-Maker icon indicating copy to clipboard operation
Dune-II---The-Maker copied to clipboard

Linux: launch campaign may crash program

Open Mira-Chronos opened this issue 3 years ago • 9 comments

  • Launch the game
  • take campaign mode
  • house Harkonnen
  • proceed

Program crash. Here what say gdb

Capture d’écran_2022-02-27_21-37-19

Mira-Chronos avatar Feb 27 '22 20:02 Mira-Chronos

looks like something with the ini file (scenario) that seems to be interpreted as garbage? A quick google brings me here: https://stackoverflow.com/questions/13830338/377-character-in-c

perhaps it has to do with something like that?

stefanhendriks avatar Feb 28 '22 20:02 stefanhendriks

D2TM was working last week.

Maybe it's a bug that was integrated by a commit?

Mira-Chronos avatar Mar 01 '22 11:03 Mira-Chronos

In that case you could use git bisect to trace down the commit that broke it?

stefanhendriks avatar Mar 01 '22 18:03 stefanhendriks

I discover git bisect !! Cool !!!

I discover something usefull for this issue First bad commit: bc3355181a1873e025d307797fcc1ab0bb20b872

Capture d’écran_2022-03-02_00-24-43

Mira-Chronos avatar Mar 01 '22 23:03 Mira-Chronos

yeah git bisect is actually pretty neat huh? :D

stefanhendriks avatar Mar 02 '22 18:03 stefanhendriks

although, I am unsure how that commit broke things. Considering your gdb dump it looks like as if it broke on ini.cpp, but the commit that broke it is not touching that?

stefanhendriks avatar Mar 02 '22 18:03 stefanhendriks

On https://github.com/stefanhendriks/Dune-II---The-Maker/pull/498 branch, this bug is gone.

800x600_0000

On https://github.com/stefanhendriks/Dune-II---The-Maker/pull/490 the bug is real.

I don't fix it. (it's not conscious!)

Just #458 is always there.

Mira-Chronos avatar Mar 06 '22 06:03 Mira-Chronos

Is this still bugged? (on master)

stefanhendriks avatar Mar 26 '22 14:03 stefanhendriks

Yes. PR #498 the bug is gone.

Mira-Chronos avatar Mar 27 '22 07:03 Mira-Chronos