Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with new security guard in multiplayer and patrol area #2688

Closed
buscher opened this issue Jan 10, 2016 · 2 comments
Closed

Crash with new security guard in multiplayer and patrol area #2688

buscher opened this issue Jan 10, 2016 · 2 comments
Labels
duplicate Issue already existed.

Comments

@buscher
Copy link
Contributor

buscher commented Jan 10, 2016

Version: git 8997f2a

Steps to reproduce:
0. join a multiplayer game

  1. Hire a new Security Guard
  2. instantly click Set patrol area for this staff member (to make it visible)
  3. crash

BT:

Program received signal SIGSEGV, Segmentation fault.
0x01444e3f in map_element_get_type (element=0xc0f6b088) at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/world/map.c:190
190 in /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/world/map.c
(gdb) bt
#0 0x01444e3f in map_element_get_type (element=0xc0f6b088) at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/world/map.c:190
#1 0x01444fc2 in map_get_surface_element_at (x=185, y=8) at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/world/map.c:248
#2 0x0144cfa9 in map_update_tiles () at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/world/map.c:3995
#3 0x0145b018 in game_logic_update () at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/game.c:363
#4 0x0145ae18 in game_update () at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/game.c:282
#5 0x0151b644 in rct2_update () at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/rct2.c:446
#6 0x014613e3 in openrct2_loop () at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/openrct2.c:436
#7 0x01460e60 in openrct2_launch () at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/openrct2.c:305
#8 0x01439b4a in main (argc=3, argv=0xffffd214) at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/platform/posix.c:57
@buscher
Copy link
Contributor Author

buscher commented Jan 10, 2016

Or with new Handyman, similar but not the same, but also random broken patrol area

Program received signal SIGSEGV, Segmentation fault.
0x0145808b in scenery_update_tile (x=6016, y=256) at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/world/scenery.c:47
47 /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/world/scenery.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0 0x0145808b in scenery_update_tile (x=6016, y=256) at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/world/scenery.c:47
#1 0x0144cfeb in map_update_tiles () at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/world/map.c:3998
#2 0x0145b018 in game_logic_update () at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/game.c:363
#3 0x0145ae18 in game_update () at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/game.c:282
#4 0x0151b644 in rct2_update () at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/rct2.c:446
#5 0x014613e3 in openrct2_loop () at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/openrct2.c:436
#6 0x01460e60 in openrct2_launch () at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/openrct2.c:305
#7 0x01439b4a in main (argc=3, argv=0xffffd214) at /home/lucki/yaourt/yaourt-tmp-lucki/aur-openrct2-git/src/openrct2-git/src/platform/posix.c:57

@Gymnasiast Gymnasiast added bug Something went wrong. multiplayer Related to the multiplayer functionality of OpenRCT2. labels Jan 11, 2016
@duncanspumpkin duncanspumpkin added duplicate Issue already existed. and removed bug Something went wrong. multiplayer Related to the multiplayer functionality of OpenRCT2. labels Jan 11, 2016
@duncanspumpkin
Copy link
Contributor

Duplicate of #1943 and #2275

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issue already existed.
Projects
None yet
Development

No branches or pull requests

3 participants