[Bug 855415] New: SIGALRM is blocked in gnome-terminal
https://bugzilla.novell.com/show_bug.cgi?id=855415 https://bugzilla.novell.com/show_bug.cgi?id=855415#c0 Summary: SIGALRM is blocked in gnome-terminal Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: arvidjaar@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=571749) --> (http://bugzilla.novell.com/attachment.cgi?id=571749) Test program to demonstrated SIGALRM blocked by default User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 All current GNOME patches, GNOME 3.10.2. bor@opensuse:~> rpm -q gnome-version gnome-session gnome-terminal gnome-version-3.10.2-5.1.x86_64 gnome-session-3.10.1-1.1.x86_64 gnome-terminal-3.10.2-6.1.x86_64 bor@opensuse:~> Attached is trivial test program. When using GNOME - gnome-terminal - bash this program hangs. When you start zsh which resets signals to default initially the program exits after 2 seconds as it should. The problem appeared after updated to 13.1 and means that any program that depends on SIGALRM but does not explicitly unblocks it may hang. I'm not sure which component is ultimately responsible for blocking it. Looking at processes in GNOME session I see two processes with blocked SIGALRM (0x2000) bor@opensuse:~> grep SigBlk /proc/1423/status SigBlk: 00007ffe090a7888 bor@opensuse:~> ll /proc/8298/exe lrwxrwxrwx 1 bor bor 0 дек 13 19:53 /proc/8298/exe -> /usr/lib/gnome-terminal-server bor@opensuse:~> grep SigBlk /proc/8298/status SigBlk: 00007ffe3293ac78 This is clear regression against 12.3 which actually breaks programs. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=855415
https://bugzilla.novell.com/show_bug.cgi?id=855415#c1
Dominique Leuenberger
time ./test Alarm clock
real 0m2.002s user 0m0.000s sys 0m0.000s But then: this is not (anymore) 13.1, as i already moved to Factory again... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=855415
https://bugzilla.novell.com/show_bug.cgi?id=855415#c2
Atri Bhattacharya
time ./a.out Alarm clock
real 0m2.001s user 0m0.001s sys 0m0.000s -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=855415
https://bugzilla.novell.com/show_bug.cgi?id=855415#c3
--- Comment #3 from Andrey Borzenkov
Does not hang on my computer (13.1 + Official Updates) as well
Which shell are you using? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=855415
https://bugzilla.novell.com/show_bug.cgi?id=855415#c4
--- Comment #4 from Atri Bhattacharya
(In reply to comment #2)
Does not hang on my computer (13.1 + Official Updates) as well
Which shell are you using?
Bash. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=855415
https://bugzilla.novell.com/show_bug.cgi?id=855415#c5
--- Comment #5 from Andrey Borzenkov
Bash.
Interesting. Could you do me a favor and check blocked signals on gnome-session and gnome-terminal-server? bor@opensuse:~> pgrep -l gnome-session 1423 gnome-session bor@opensuse:~> pgrep -l gnome-terminal 8298 gnome-terminal- bor@opensuse:~> grep SigBlk /proc/1423/status SigBlk: 00007ffe090a7888 bor@opensuse:~> grep SigBlk /proc/8298/status SigBlk: 00007ffe3293ac78 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=855415
https://bugzilla.novell.com/show_bug.cgi?id=855415#c6
--- Comment #6 from Atri Bhattacharya
https://bugzilla.novell.com/show_bug.cgi?id=855415
https://bugzilla.novell.com/show_bug.cgi?id=855415#c7
--- Comment #7 from Andrey Borzenkov
4668 gnome-session ~> grep SigBlk /proc/4688/status 4668, but it seems OK ...
grep: /proc/4688/status: No such file or directory ~> pgrep -l gnome-terminal 10059 gnome-terminal- ~> grep SigBlk /proc/10059/status SigBlk: 0000000000000000
Do you have 32 or 64 bit system? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=855415
https://bugzilla.novell.com/show_bug.cgi?id=855415#c8
--- Comment #8 from Atri Bhattacharya
https://bugzilla.novell.com/show_bug.cgi?id=855415
https://bugzilla.novell.com/show_bug.cgi?id=855415#c9
--- Comment #9 from Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=855415
https://bugzilla.novell.com/show_bug.cgi?id=855415#c10
Andrey Borzenkov
participants (1)
-
bugzilla_noreply@novell.com