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 when querying nearby object class #4730

Closed
DorpsGek opened this issue Aug 18, 2011 · 2 comments
Closed

Crash when querying nearby object class #4730

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

Comments

@DorpsGek
Copy link
Member

planetmaker opened the ticket and wrote:

When using the fenced land from opengfx+landscape OpenTTD crashes when it is built adjacent to one of the default objects.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x000000000000000c
0x00000001001a1f40 in GetObjectIDAtOffset [inlined] () at /Users/ingo/ottd/trunk/src/newgrf_object.cpp:143
143 if (spec->grf_prop.grffile->grfid == cur_grfid) { // same object, same grf ?

Full backtraces:
http://paste.openttdcoop.org/show/478/
http://paste.openttdcoop.org/show/477/

NewGRF: http://bundles.openttdcoop.org/ogfx-landscape/nightlies/r77/

tested in r22723

Reported version: trunk
Operating system: All


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

planetmaker wrote:

Default objects simply have no associated grffile.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4730#comment10199

@DorpsGek
Copy link
Member Author

planetmaker closed the ticket.

Reason for closing: Fixed

in r22757


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

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug 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