Closed Bug 154601 Opened 23 years ago Closed 22 years ago

No such signal (Running checksetup.pl)

Categories

(Bugzilla :: Installation & Upgrading, defect, P1)

x86
Windows 2000
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: big_eugene, Assigned: zach)

Details

(Whiteboard: [needed for Win32bz])

No such signal: SIGHUP at D:\usr\bugzilla-2.16rc1\checksetup.pl line 1928, <STDIN> line 4 (#1) (W signal) You specified a signal name as a subscript to %SIG that was not recognized. Say kill -l in your shell to see the valid signal names on your system.
Priority: -- → P1
Whiteboard: Win32
Target Milestone: --- → Bugzilla 2.18
Whiteboard: Win32 → [needed for Win32bz]
SIGHUP???? WTH are we sending a sighup? Are we sending a SIGHUP?
in BZ 2.17.3, excerpts from checksetup.pl with line numbers (ca.) 3736 # trap a few interrupts so we can fix the echo if we get aborted. 3737 $SIG{HUP} = \&bailout; 3738 $SIG{INT} = \&bailout; 3739 $SIG{QUIT} = \&bailout; 3740 $SIG{TERM} = \&bailout; ... 3770 # Crypt the administrator's password 3771 my $cryptedpassword = Crypt($pass1); 3772 3773 system("stty","echo"); # re-enable input echoing 3774 $SIG{HUP} = 'DEFAULT'; # and remove our interrupt hooks 3775 $SIG{INT} = 'DEFAULT'; 3776 $SIG{QUIT} = 'DEFAULT'; 3777 $SIG{TERM} = 'DEFAULT'; With my installation attempts (see bugs I will still enter:) it seemed to have no serious influence to the installation.
Reporter: can you pleast paste the output of the "kill -l" command? (that's an l as in logic, not the number 1)
Though I'm not the Reporter I own a Win 2000 box: --- C:\>ver Microsoft Windows 2000 [Version 5.00.2195] C:\>kill -l NULL HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM USR1 U SR2 CLD PWR WINCH URG POLL STOP TSTP CONT TTIN TTOU VTALRM PROF XCPU XFSZ IO C:\> ---
Sorry, I have to wannabe-Unix for the DOS box. To be precise I run both. The sorted output of C:\Tools\mks\mksnt/kill -l and C:\Tools\cygwin\bin\kill -l is here: ABRT ALRM BUS CLD CONT EMT FPE HUP ILL INT IO KILL NULL PIPE POLL PROF PWR QUIT SEGV STOP SYS TERM TRAP TSTP TTIN TTOU URG USR1 USR2 VTALRM WINCH XCPU XFSZ ABRT ALRM BUS CHLD CONT EMT FPE HUP ILL INT KILL LOST PIPE POLL PROF QUIT SEGV STOP SYS TERM TRAP TSTP TTIN TTOU URG USR1 USR2 VTALRM WINCH XCPU XFSZ
AFAICT, Win2k has no kill command by default. Zach, were you thinking that Eugene was running on a linux box or that win2k had a kill command?
Thanks for saving me such agony Jake. I didn't realize he was running windows and I was trying to figure out what kind of unix didn't have a HUP signal. Looks like all we need to do is wrap this in an if() block so the signal handler isn't set on windows.
This works for me Microsoft Windows 2000 [Version 5.00.2195] Bugzilla 2.17.4 Perl v5.8.0 built for cygwin-multi-64int I will check branch 2.17.3 on Wednesday I will check branch 2.16rc1 on Monday the 16th
This is strange. I've been running checksetup.pl for fairly many times in my life, but I have never encountered this. Not on Activestate, not on Cygwin. The worst I've got is "[Tue Nov 4 21:41:56 2003] checksetup.pl: Terminating on signal SIGINT(2)" when exiting from the password prompt with ^C. big_eugene@mail.ru, can you reproduce this on newer code? Or even the 2.16rc1? If you can, what do you do to make this appear? Does this occur automatically or after a certain keypress or something similar?
We have two people who say this works, and the reporter has yet to reply that he can still reproduce it. Closing this as WORKSFORME. If someone can still reproduce this, please reopen it.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
clearing target for duplicate/worksforme/wontfix/invalid so they'll show up as untriaged if they get reopened.
Target Milestone: Bugzilla 2.18 → ---
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.