2017-12-13 08:57 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0014207CentOS-6-OTHERpublic2017-11-29 21:35
ReporterNaatan 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0014207: Subprocess launching exits with code 32512
DescriptionHi, I'm the team lead for Komodo IDE. Komodo IDE is meant to support CentOS 6 onward but as of Komodo version 11 this is no longer the case. It seems CentOS has issues with the way subprocesses are launched. For this we use the Mozilla child_process SDK described here:

https://developer.mozilla.org/en-US/docs/Archive/Add-ons/Add-on_SDK/Low-Level_APIs/system_child_process

When running any sort of process through that SDK it results in exit code 32512. After thorough testing it does not appear that the process is executed at all, something prevents it from executing.

This issue is not present on CentOS 7, but has also been reproduced on RedHat 6 (7 again is fine).

Searching for the exit code on google gives me numerous results of a similar nature, almost always relating to subprocesses.

I've tried disabling selinux to no avail. Is there any way to find out what's happening? Given this is working in CentOS 7 and that this is based on production code from Firefox (the Mozilla SDK) I feel the issue most likely originates from CentOS.
Steps To ReproduceTo reproduce the issue you will need to use Komodo IDE 11, which you can download here:

http://downloads.activestate.com/Komodo/releases/11.0.1/

Both IDE and Edit should reproduce the issue, but I have only used IDE for my tests.

Once installed simply open Komodo and run the following from the "Console widget" (in the bottom pane):

```
var child_process = require("sdk/system/child_process");
var p = child_process.spawn('/usr/bin/whoami');

p.stdout.on('data', console.log);
p.stderr.on('data', console.error);
p.on('close', console.warn);
```
Additional InformationAdditional debug logging from Mozilla's child_process SDK:

```
getlimit: maxFD=1024
subprocess started; got PID 4099
Creating new stdin worker
Got msg from stdout: initialising library with libc.so.6
Got msg from stdout: waitpid signaled subprocess stop, exitcode=32512
Got msg from stdout: poll returned HUP
```
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2017-11-29 21:35 Naatan New Issue
+Issue History