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

Bug when downloading updates for NewGRF's #4840

Closed
DorpsGek opened this issue Nov 15, 2011 · 2 comments
Closed

Bug when downloading updates for NewGRF's #4840

DorpsGek opened this issue Nov 15, 2011 · 2 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Transportman opened the ticket and wrote:

When downloading the update for the Total Town Renewal Set through the Online Content System, OpenTTD crashes. I have done this with the most recent trunk (r23229).

When restarting OpenTTD and accessing the Online Content System, the game keeps running fine. It also has completed the download.

I have done this on the Windows 7 (64 bits) version of OpenTTD.

Attachments

Reported version: trunk
Operating system: All


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

planetmaker wrote:

Backtrace:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000001607a0bed0
0x0000000100118222 in std::_Rb_tree<std::string, std::pair<std::string const, TarListEntry>, std::_Select1st<std::pair<std::string const, TarListEntry> >, std::lessstd::string, std::allocator<std::pair<std::string const, TarListEntry> > >::_S_right () at /usr/include/c++/4.2.1/bits/stl_tree.h:1381
1381 break;
(gdb) bt
# 0 0x0000000100118222 in std::_Rb_tree<std::string, std::pair<std::string const, TarListEntry>, std::_Select1st<std::pair<std::string const, TarListEntry> >, std::lessstd::string, std::allocator<std::pair<std::string const, TarListEntry> > >::S_right () at /usr/include/c++/4.2.1/bits/stl_tree.h:1381
# 1 0x0000000100118222 in TarScanner::AddFile (this=0x7fff5fbf9c70, filename=0x7fff5fbf9c70 "м?
?", basepath_length=0, tar_filename=0x1005094c0 "") at fileio.cpp:1381
# 2 0x000000010016d825 in ClientNetworkContentSocketHandler::AfterDownload (this=0x7fff5fbfbcd0) at network_content.cpp:534
# 3 0x000000010016ce2b in ClientNetworkContentSocketHandler::OnReceiveData (this=0x100516880, data=0x0, length=0) at network_content.cpp:604
# 4 0x0000000100160bbc in NetworkHTTPSocketHandler::Receive (this=0x7fff5fbf9c90) at tcp_http.cpp:249
# 5 0x0000000100160ce9 in NetworkHTTPSocketHandler::HTTPReceive () at tcp_http.cpp:322
# 6 0x00000001001627ca in NetworkUDPGameLoop () at network.cpp:832
# 7 0x00000001001c27ae in GameLoop () at openttd.cpp:1343
# 8 0x00000001002da84f in QZ_GameLoop () at event.mm:615
# 9 0x00000001002da1f9 in -[OTTDMain applicationDidFinishLaunching:] (self=0x7fff5fbf9c90, note=0x0) at cocoa_v.mm:71
# 10 0x00007fff833e6ad5 in _nsnote_callback ()
# 11 0x00007fff81fe2fd0 in __CFXNotificationPost ()
# 12 0x00007fff81fcf548 in _CFXNotificationPostNotification ()
# 13 0x00007fff833dda36 in -[NSNotificationCenter postNotificationName:object:userInfo:] ()
# 14 0x00007fff866f644a in -[NSApplication _postDidFinishNotification] ()
# 15 0x00007fff866f637f in -[NSApplication _sendFinishLaunchingNotification] ()
# 16 0x00007fff867c135d in -[NSApplication(NSAppleEventHandling) _handleAEOpen:] ()
# 17 0x00007fff867c0fd9 in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] ()
# 18 0x00007fff834150d6 in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] ()
# 19 0x00007fff83414f06 in _NSAppleEventManagerGenericHandler ()
# 20 0x00007fff896af32b in aeDispatchAppleEvent ()
# 21 0x00007fff896af224 in dispatchEventAndSendReply ()
# 22 0x00007fff896af12b in aeProcessAppleEvent ()
# 23 0x00007fff881a5619 in AEProcessAppleEvent ()
# 24 0x00007fff866c6095 in _DPSNextEvent ()
# 25 0x00007fff866c5801 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
# 26 0x00007fff8668b68f in -[NSApplication run] ()
# 27 0x00000001001c38a0 in ttd_main (argc=31172704, argv=0x7fff5fbff7f0) at openttd.cpp:816
# 28 0x00000001001cfe6c in main (argc=1, argv=0x7fff5fbff830) at unix.cpp:266


This comment was imported from FlySpray: https://bugs.openttd.org/task/4840#comment10500

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r23234


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

@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