ufairiya / mongoose

Automatically exported from code.google.com/p/mongoose
MIT License
0 stars 0 forks source link

Crash on line 2630 mongoose.c #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Code compiles but crashes.
Debug shows that the code crashes in:
Line: 2630
Function: set_ports_option()
Code: FOR_EACH_WORD_IN_LIST(p, len) {

Debug error message:
First-chance exception at 0x750e58cf in Mongoose.exe: 0xC0000005: Access
violation reading location 0x00000050.
Unhandled exception at 0x750e58cf in Mongoose.exe: 0xC0000005: Access
violation reading location 0x00000050.

What version of the product are you using? On what operating system?
Latest rev from svn.
Win Vista x64 Home Premium

Original issue reported on code.google.com by matthewj...@googlemail.com on 12 Dec 2008 at 12:26

GoogleCodeExporter commented 9 years ago
Have found out the cause of the crash.
There is an undefined var PORT used in embed.c line 119.

I guess you would normally set that yourself but for the test script I think 
that it
sould be defined.

Original comment by matthewj...@googlemail.com on 12 Dec 2008 at 12:35

GoogleCodeExporter commented 9 years ago
Yes, PORT is set in the compilation command line, see test/test.pl
But I think it must have some default value. Fixed, thanks!

Original comment by valenok on 12 Dec 2008 at 10:18