Ticket #72 (closed defect: fixed)

Opened 3 months ago

Last modified 2 months ago

EM.popen errors on exit, "cannot reap Subprocess"

Reported by: tmm1 Assigned to: raggi
Priority: major Milestone: EventMachine "Framework"
Keywords: Cc:

Description

#0  0x00002b20fa674e35 in raise () from /lib/libc.so.6
#1  0x00002b20fa676353 in abort () from /lib/libc.so.6
#2  0x00002b20fc791204 in __gnu_cxx::__verbose_terminate_handler () from /usr/lib/libstdc++.so.6
#3  0x00002b20fc78f616 in __cxxabiv1::__terminate () from /usr/lib/libstdc++.so.6
#4  0x00002b20fc78f643 in std::terminate () from /usr/lib/libstdc++.so.6
#5  0x00002b20fc78f72a in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x00002b20fbcb88b3 in PipeDescriptor::~PipeDescriptor ()
   from eventmachine/ext/rubyeventmachine.so
#7  0x00002b20fbcba637 in EventMachine_t::~EventMachine_t ()
   from eventmachine/ext/rubyeventmachine.so
#8  0x00002b20fbcbfb55 in evma_release_library () from eventmachine/ext/rubyeventmachine.so

Change History

08/17/08 03:02:41 changed by tmm1

  • owner set to raggi.
  • milestone set to EventMachine "Framework".

09/23/08 21:57:10 changed by tmm1

diff --git a/ext/pipe.cpp b/ext/pipe.cpp
index 807d3aa..0a9edbe 100644
--- a/ext/pipe.cpp
+++ b/ext/pipe.cpp
@@ -92,7 +92,7 @@ PipeDescriptor::~PipeDescriptor()
 	 * within other unbind calls. (Not sure if that's even possible.)
 	 */
 
-	struct timespec req = {0, 10000000};
+	struct timespec req = {0, 500000000};
 	kill (SubprocessPid, SIGTERM);
 	nanosleep (&req, NULL);
 	assert (MyEventMachine);

09/23/08 22:11:00 changed by raggi

  • status changed from new to closed.
  • resolution set to fixed.

(In [791]) Closes #72, patch from tmm1 for popen errors on exit