Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: ysc3839 on February 11th, 2015, 04:00 PM

Title: Server stop working when pressing Control-C
Post by: ysc3839 on February 11th, 2015, 04:00 PM
I used VS2013 to debug the server, it shows:
Quote
First-chance exception at 0x765722CB (KernelBase.dll) in server.exe: 0x40010005: Control-C.
If there is a handler for this exception, the program may be safely continued.
Then I click Continue, it shows:
Quote
Unhandled exception at 0x0046420D in server.exe: 0xC0000005: Access violation reading location 0x000000EC.
Please fix this bug!
Title: Re: Server stop working when pressing Control-C
Post by: . on February 11th, 2015, 05:42 PM
Does this happen without any plugins? Have you tried to locate where or what causes that error? Might be the script who does something that it shouldn't with the instances. Do you have any information other than that? No offense but I doubt the devs can do anything with just that.
Title: Re: Server stop working when pressing Control-C
Post by: Thijn on February 11th, 2015, 06:14 PM
Pressing ctrl-c on a clean server works fine. What plugins did you load?

If you want you can send me a zip in a PM that will reproduce this crash.
Title: Re: Server stop working when pressing Control-C
Post by: ysc3839 on February 12th, 2015, 08:17 AM
Quote from Thijn on February 11th, 2015, 06:14 PM
Pressing ctrl-c on a clean server works fine. What plugins did you load?

If you want you can send me a zip in a PM that will reproduce this crash.
Squirrel plugin. If I remove it, this error will not show.
Title: Re: Server stop working when pressing Control-C
Post by: . on February 12th, 2015, 05:05 PM
Quote from ysc3839 on February 12th, 2015, 08:17 AM
Squirrel plugin. If I remove it, this error will not show.
Then it's something wrong with your script. Try loading an empty script and see if it does the same.
Title: Re: Server stop working when pressing Control-C
Post by: Thijn on February 12th, 2015, 05:13 PM
Would you mind sending me the script? If this is a bug in the squirrel module it's easier to debug.
Title: Re: Server stop working when pressing Control-C
Post by: ysc3839 on February 13th, 2015, 08:38 AM
Quote from Thijn on February 12th, 2015, 05:13 PM
Would you mind sending me the script? If this is a bug in the squirrel module it's easier to debug.
I tried to remove the script, but is the same...
Title: Re: Server stop working when pressing Control-C
Post by: Thijn on February 13th, 2015, 04:33 PM
Make sure you use the latest server and plugin. I can't seem to reproduce this. Pressing ctrl+c just closes the server.