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 in #4067

Closed
DorpsGek opened this issue Aug 22, 2010 · 4 comments
Closed

crash in #4067

DorpsGek opened this issue Aug 22, 2010 · 4 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

planetmaker opened the ticket and wrote:

OpenTTD r20565 hangs upon connect to the PublicServer:
(gdb) run
Starting program: /Users/ingo/ottd/ottdbash/autostart/ps.openttdcoop.org-3979-svn/bin/openttd
Reading symbols for shared libraries .+++++++++++++++++++++................................................................................... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
openttd(23784,0x7fff70ee5c20) malloc: *** error for object 0x9550: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Program received signal SIGABRT, Aborted.
0x00007fff8723f3d6 in __kill ()

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/4067
@DorpsGek
Copy link
Member Author

planetmaker wrote:

setting the breakpoint gives this additional backtrace.

openttd(23848,0x7fff70ee5c20) malloc: *** error for object 0x9550: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Breakpoint 1, 0x00007fff872cd491 in malloc_error_break ()
(gdb) bt
# 0 0x00007fff872cd491 in malloc_error_break ()
# 1 0x00007fff871f7603 in free ()
# 2 0x000000010033519f in SlObjectMember ()
# 3 0x0000000100335aec in SlObject ()
# 4 0x000000010032ba03 in Load_BKOR ()
# 5 0x000000010032f98f in SlLoadChunks ()
# 6 0x00000001003342bc in SaveOrLoad ()
# 7 0x00000001002a257c in SafeSaveOrLoad ()
# 8 0x000000010023832d in NetworkPacketReceive_PACKET_SERVER_MAP_command ()
# 9 0x0000000100236b35 in NetworkClient_ReadPackets ()
# 10 0x00000001002332f9 in NetworkGameLoop ()
# 11 0x00000001002a2fe5 in GameLoop ()
# 12 0x0000000100406421 in QZ_GameLoop ()


This comment was imported from FlySpray: https://bugs.openttd.org/task/4067#comment8595

@DorpsGek
Copy link
Member Author

planetmaker wrote:

The attached savegame is from the server. It also triggers the saveload crash locally

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4067#comment8596

@DorpsGek
Copy link
Member Author

avd wrote:

In the hope this osx report will be usefull

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4067#comment8597

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r20593


This comment was imported from FlySpray: https://bugs.openttd.org/task/4067

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant