sbirkmann / phpdesktop

Automatically exported from code.google.com/p/phpdesktop
0 stars 0 forks source link

Very long path causes error when spawning CGI process #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See the attached image and view path I installed this test. Actually where I 
downloaded to.

Only changes I made to settings.json were: 1) turned debugging 2) Changed name 
3) tested using icon

Moving the same exact folder to C:\PHPDesktop solves the error and works as 
expected.

Using phpdesktop-chrome-31.3-php-5.5.8-minified on Win Vista SP2

This is really not an issue for me because I will never make software with such 
a directory. Just though you may like to see.

Original issue reported on code.google.com by ccn...@gmail.com on 22 Jan 2014 at 10:03

Attachments:

GoogleCodeExporter commented 9 years ago
I have reproduced the problem using the same path as you. I have removed the 
spaces and still had the same error. There are two important logs in the 
console:

  - 23:09:32.249 WARNING: vsnprintf error
  - 23:09:32.249 WARNING: spawn_process: CreateProcess(): 87

vsnprintf() warning means that it probably exceeded the available buffer or 
something.

This is definitely a bug in the Mongoose webserver.

Original comment by czarek.t...@gmail.com on 22 Jan 2014 at 10:11

GoogleCodeExporter commented 9 years ago
More debug logs from mongoose:

  *** 1390582331.00001548.spawn_process.1357: Running []
  *** 1390582331.00001548.send_http_error.970: [Error 500: Internal Server Error
Cannot spawn CGI process [C:\phpdesktop\Projects-Software 
Builders\PHPDesktop\phpdesktop-chrome-31.3-php-5.5.8-minified\phpdesktop-chrome-
31.3-php-5.5.8-minified\phpdesktop-chrome\www/index.php]: No such device or 
address] 

Seems like the problem is in the spawn_process() function on line 1357.

Original comment by czarek.t...@gmail.com on 24 Jan 2014 at 4:54

GoogleCodeExporter commented 9 years ago
Fixed in revision aa18aa4550de.

Original comment by czarek.t...@gmail.com on 24 Jan 2014 at 5:09

GoogleCodeExporter commented 9 years ago
Chrome 31.4 and MSIE 1.12 released.

Original comment by czarek.t...@gmail.com on 26 Jan 2014 at 1:24