Re: [racket-dev] crash with subprocess

2012-08-30 Thread Matthew Flatt
It looks like we still have problems with the `subprocess'
implementation that cooperates with places.

Does your program use multiple places, or just one? If it uses multiple
places, does it use `subprocess' in multiple places?

Is your platform 32-bit Linux?

At Thu, 30 Aug 2012 13:38:23 +0200, Tobias Hammer wrote:
 Hi,
 
 i am experiencing random crashes when using subprocess followed by a
 subprocess-wait. My test program, that i call via subprocess is special,
 in that it kills itself very fast with a sigkill after executing.
 
 Unfortunately, i wasn't able to reproduce this behavior in a small sample
 but i could record three different core dumps with full debug info  
 (attached).
 I tested with my own build of git head and 5.3.0.21.
 
 All crashes/freezes are preceded by the message
 unexpected error from waitpid(138321448[1]): 10
 with a completely invalid pid argument to waitpid. The errno 10
 is No child processes.
 
 What follows this message are random freezes (ctrl+c has no effect),
 heap corruptions or segfaults.
 
 I hope the supplied information is enough to locate whatever goes wrong,
 otherwise i can, of course send in more.
 
 Tobias

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] crash with subprocess

2012-08-30 Thread Tobias Hammer

It uses only a single place. The system is 32bit Linux:
Linux 2.6.32.59-0.7-pae #1 SMP 2012-07-13 15:50:56 +0200 i686 i686 i386  
GNU/Linux


Tobias


On Thu, 30 Aug 2012 15:17:05 +0200, Matthew Flatt mfl...@cs.utah.edu  
wrote:



It looks like we still have problems with the `subprocess'
implementation that cooperates with places.

Does your program use multiple places, or just one? If it uses multiple
places, does it use `subprocess' in multiple places?

Is your platform 32-bit Linux?

At Thu, 30 Aug 2012 13:38:23 +0200, Tobias Hammer wrote:

Hi,

i am experiencing random crashes when using subprocess followed by a
subprocess-wait. My test program, that i call via subprocess is special,
in that it kills itself very fast with a sigkill after executing.

Unfortunately, i wasn't able to reproduce this behavior in a small  
sample

but i could record three different core dumps with full debug info
(attached).
I tested with my own build of git head and 5.3.0.21.

All crashes/freezes are preceded by the message
unexpected error from waitpid(138321448[1]): 10
with a completely invalid pid argument to waitpid. The errno 10
is No child processes.

What follows this message are random freezes (ctrl+c has no effect),
heap corruptions or segfaults.

I hope the supplied information is enough to locate whatever goes wrong,
otherwise i can, of course send in more.

Tobias





--
-
Tobias Hammer
DLR / Institute of Robotics and Mechatronics
Muenchner Str. 20, D-82234 Wessling
Tel.: 08153/28-1487
Mail: tobias.ham...@dlr.de
_
 Racket Developers list:
 http://lists.racket-lang.org/dev


Re: [racket-dev] crash with subprocess

2012-08-30 Thread Matthew Flatt
Thanks. If you don't need places, compiling with places disabled (i.e.,
`configure --disable-places') would likely work around the bug for now.

At Thu, 30 Aug 2012 16:18:15 +0200, Tobias Hammer wrote:
 It uses only a single place. The system is 32bit Linux:
 Linux 2.6.32.59-0.7-pae #1 SMP 2012-07-13 15:50:56 +0200 i686 i686 i386  
 GNU/Linux
 
 Tobias
 
 
 On Thu, 30 Aug 2012 15:17:05 +0200, Matthew Flatt mfl...@cs.utah.edu  
 wrote:
 
  It looks like we still have problems with the `subprocess'
  implementation that cooperates with places.
 
  Does your program use multiple places, or just one? If it uses multiple
  places, does it use `subprocess' in multiple places?
 
  Is your platform 32-bit Linux?
 
  At Thu, 30 Aug 2012 13:38:23 +0200, Tobias Hammer wrote:
  Hi,
 
  i am experiencing random crashes when using subprocess followed by a
  subprocess-wait. My test program, that i call via subprocess is special,
  in that it kills itself very fast with a sigkill after executing.
 
  Unfortunately, i wasn't able to reproduce this behavior in a small  
  sample
  but i could record three different core dumps with full debug info
  (attached).
  I tested with my own build of git head and 5.3.0.21.
 
  All crashes/freezes are preceded by the message
  unexpected error from waitpid(138321448[1]): 10
  with a completely invalid pid argument to waitpid. The errno 10
  is No child processes.
 
  What follows this message are random freezes (ctrl+c has no effect),
  heap corruptions or segfaults.
 
  I hope the supplied information is enough to locate whatever goes wrong,
  otherwise i can, of course send in more.
 
  Tobias
 
 
 
 -- 
 -
 Tobias Hammer
 DLR / Institute of Robotics and Mechatronics
 Muenchner Str. 20, D-82234 Wessling
 Tel.: 08153/28-1487
 Mail: tobias.ham...@dlr.de
_
  Racket Developers list:
  http://lists.racket-lang.org/dev