The International Simutrans Forum

 

Author Topic: [solved] Crash when removing tunnel as public  (Read 2289 times)

0 Members and 1 Guest are viewing this topic.

Offline z9999+

  • Coder/patcher
  • *
  • Posts: 377
[solved] Crash when removing tunnel as public
« on: October 11, 2009, 06:30:08 PM »
r2733
Crash when removing tunnel as public.

How to reproduce:
1. Load attached savegame
2. Change to public player
3. Select remove tool
4. Click on tunnel mouth

Quote
Message: karte_t::interactive_event(event_t &ev):   calling a tool
Message: wkz_remover():   at 30,44
Message: wkz_remover_intern():   at (30,44,-2)
Message: top_win():   win=1 ins_win=4
Message: karte_t::interactive_event(event_t &ev):   calling a tool
Message: wkz_remover():   at 42,52
Message: wkz_remover_intern():   at (42,52,-1)
Message: wkz_remover():   bound=0
Message: wkz_remover():   check tunnel/bridge
Message: wkz_remover():   removing tunnel  from 42,52,-1
Message: grund_t::weg_entfernen():   this 05A29980
Message: grund_t::weg_entfernen():   weg 0586A1F8
Message: grund_t::weg_entfernen():   this 05A29E80
Message: grund_t::weg_entfernen():   weg 0230C7F8
FATAL ERROR: unknown
pure virtual function call
Aborting program execution ...

« Last Edit: October 14, 2009, 05:01:32 AM by z9999+ »

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4899
  • Languages: EN, DE, AT
Re: [bug r2733] Crash when removing tunnel as public
« Reply #1 on: October 11, 2009, 07:23:34 PM »
should work in 2742

Offline z9999+

  • Coder/patcher
  • *
  • Posts: 377
Re: [bug r2733] Crash when removing tunnel as public
« Reply #2 on: October 12, 2009, 03:45:48 AM »
Tested in r2742.

Thank you, but problem is not solved yet.
This tunnel is public and busstop is Trikky Transport.
So, you can remove this tunnel as human player.

How to reproduce the problem:
- Load attached savegame
- As human player, select remove roads tool
- Click on tunnel mouth and drag to the other end of tunnel mouth

Result:
 Crash

Offline z9999+

  • Coder/patcher
  • *
  • Posts: 377
Re: [bug r2733] Crash when removing tunnel as public
« Reply #3 on: October 13, 2009, 04:47:03 AM »
Tested in r2748. Still crashed.

Solved in r2762. Thank you.
« Last Edit: October 14, 2009, 05:01:11 AM by z9999+ »