Opened 9 years ago

Last modified 9 years ago

#1110 defect closed fixed (fixed)

Trial fails with "signal number out of range" for signal 64

Reported by: justinj Owned by:
Priority: high Milestone:
Component: trial Keywords:
Cc: exarkun, justinj Branch:
Author: Launchpad Bug:

Description


Change History (3)

comment:1 Changed 9 years ago by justinj

Error below occurs on signal.getsignal(64).  As best as I can tell from the 
headers on my system, 63 is the highest signal number.

[justinj@nutria justinj]$ uname -a
Linux nutria 2.4.20-31.9 #1 Tue Apr 13 18:04:23 EDT 2004 i686 i686 i386 
GNU/Linux

Running Python 2.4.1 and 2005-05-25 Twisted Sumo, RH9.



[justinj@nutria justinj]$ trial -v twisted.test.test_process.ClosingPipes
which: no dia in 
(/usr/local/bin:/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/home/
justinj/bin)

-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!
*@&-!*@&-!*@&-!*@&-!*@&

        WHOOP! WHOOP! DANGER WILL ROBINSON! DANGER! WHOOP! WHOOP!
        caught exception in TestSuite!

                TRIAL IS BROKEN!


        Traceback (most recent call last):
          File "/usr/local/bin/trial", line 24, in ?
            run()
          File "/usr/local/lib/python2.4/site-
packages/twisted/scripts/trial.py", line 676, in run
            suite = reallyRun(config)
          File "/usr/local/lib/python2.4/site-
packages/twisted/scripts/trial.py", line 657, in reallyRun
            suite.run(config['random'])
        --- <exception caught here> ---
          File "/usr/local/lib/python2.4/site-
packages/twisted/trial/runner.py", line 250, in run
            tr.runTests(randomize=(seed is not None))
          File "/usr/local/lib/python2.4/site-
packages/twisted/trial/runner.py", line 554, in runTests
            self._signalStateMgr.save()
          File "/usr/local/lib/python2.4/site-packages/twisted/trial/util.py", 
line 35, in save
            self._store[signum] = signal.getsignal(signum)
        exceptions.ValueError: signal number out of range


-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!*@&-!
*@&-!*@&-!*@&-!*@&-!*@&


-------------------------------------------------------------------------------
Ran 0 tests in 0.005s

PASSED
[justinj@nutria justinj]$

comment:2 Changed 9 years ago by exarkun

Changed the signal junk to ignore RT signals completely.

comment:3 Changed 4 years ago by <automation>

Note: See TracTickets for help on using tickets.