Ticket #608 (new defect )

Opened 5 years ago

Last modified 1 week ago

Twisted doesn't detect child process termination on HP-UX

Reported by: lzfnk Assigned to: warner
Type: defect Priority: high
Milestone: Component: core
Keywords: Cc: warner, lzfnk, thijs
Branch: Author:
Launchpad Bug:

Attachments

proctest.py (238 bytes) - added by lzfnk 5 years ago.

Change History

  2004-04-26 07:29:48+00:00 changed by lzfnk

  • attachment proctest.py added

  2004-04-26 07:29:48+00:00 changed by lzfnk

When running a subprocess via reactor.spawnProcess() under Twisted 1.2.0, the
ProcessProtocol's processEnded() method will not be called at child process
termination.  The very simple attached test program demonstrates the bug via the
twisted.internet.utils.getProcessOutput() utility function.  The test program
never terminates until the user hits ctrl-c.

  2004-04-26 07:37:57+00:00 changed by lzfnk

I forgot to mention, apparently HP has machines available for testing at
http://www.testdrive.compaq.com/
The problem occurs under HP-UX 11i, aka 11.11.

follow-up: ↓ 5   2006-07-31 15:43:03+00:00 changed by glyph

  • component set to conch

HP-UX isn't a supported platform, as no developers that I'm aware of have access to HP-UX machines and we don't have an HP-UX buildbot. None of our developers have any HP-UX experience that I know of either, so a maintainer would be a plus.

The buildbot is the major sticking point though. We can't even really accept patches to fix issues with HP-UX until we have that, since we don't have a way of verifying that they work.

It looks like the "testdrive" program is still around, and maybe somebody could create a buildbot there.

  2006-07-31 17:39:49+00:00 changed by jknight

  • component changed from conch to core

I hope the above doesn't scare anybody off from trying to identify the issue and make a patch.

If the solution is sufficiently straightforward, I think such a patch would have a chance of being accepted regardless of the existence of a buildbot.

Obviously HPUX cannot be a supported platform unless there's a buildbot, since it's liable to be broken by any future changes without anybody noticing, though.

in reply to: ↑ 3 ; follow-up: ↓ 6   2008-11-09 18:37:02+00:00 changed by thijs

  • cc changed from warner, lzfnk to warner, lzfnk, thijs
  • launchpad_bug deleted
  • branch deleted
  • branch_author deleted

Replying to glyph:

It looks like the "testdrive" program is still around, and maybe somebody could create a buildbot there.

Updated url: http://www.testdrive.hp.com/faq/

in reply to: ↑ 5   2008-11-09 18:38:39+00:00 changed by thijs

Replying to thijs:

Updated url: http://www.testdrive.hp.com/faq/

Ah, they closed this program down on Sept 30, 2008 (http://www.testdrive.hp.com/news/)

Note: See TracTickets for help on using tickets.