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

[MorphOS] game crashes if no TCP/IP stack is loaded #8

Closed
DorpsGek opened this issue Nov 28, 2005 · 5 comments
Closed

[MorphOS] game crashes if no TCP/IP stack is loaded #8

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

Comments

@DorpsGek
Copy link
Member

tokai opened the ticket and wrote:

game crashes on start when no TCP/IP stack is loaded (some network related function is used before the network is initialized, aka OpenLibrary("bsdsocket.library",4UL); is executed).

There are 2 workarounds for this: open bsdsocket.library manually before the network function (which has to be found ;) is called or use new libnix constructor handling (which initializes bsdsocket.library before main() ), so it can fail gracefully w/o crash. Constructor handling is maybe a bit problematic with the crosscompiled nightly builds.

Reported version: 0.4.0.1
Operating system: MorphOS


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

Darkvater wrote:

Good, needs patch :)


This comment was imported from FlySpray: https://bugs.openttd.org/task/8#comment53

@DorpsGek
Copy link
Member Author

Darkvater wrote:

By which I mean that someone with MorphOS should fix it.


This comment was imported from FlySpray: https://bugs.openttd.org/task/8#comment85

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2006

tokai wrote:

Finally found the time to look into the issue, fix was quite easy then. ;)

Diff includes additionally a personal fix and a slightly updated ReadMe for MorphOS.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/8#comment347

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 4, 2006

tokai wrote:

it worked for me, but broke things i didnt noticed. this new diff should works for all cases (/me hopes) :)

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/8#comment348

@DorpsGek
Copy link
Member Author

TrueBrain closed the ticket.

Reason for closing: Implemented


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

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