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

Very long path causes error when spawning CGI process #63

Closed
GoogleCodeExporter opened this issue Aug 28, 2015 · 5 comments
Closed

Very long path causes error when spawning CGI process #63

GoogleCodeExporter opened this issue Aug 28, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Changed title: Very long path causes error when spawning CGI process
  • Changed state: Accepted
  • Added labels: Priority-High
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

Fixed in revision aa18aa4550de.

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

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Chrome 31.4 and MSIE 1.12 released.

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

@GoogleCodeExporter
Copy link
Author

Project will move to Github. Find this issue at the new address (soon): 
https://github.com/cztomczak/phpdesktop/issues/63

Original comment by czarek.t...@gmail.com on 24 Aug 2015 at 3:23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant