[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 <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimstar@opensuse.org --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> 2013-12-13 23:06:36 UTC --- Good (?) news first: does not hang on my machine:
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 <badshah400@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |badshah400@gmail.com --- Comment #2 from Atri Bhattacharya <badshah400@gmail.com> 2013-12-13 23:28:28 UTC --- Does not hang on my computer (13.1 + Official Updates) as well
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 <arvidjaar@gmail.com> 2013-12-14 04:03:34 UTC --- (In reply to comment #2)
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 <badshah400@gmail.com> 2013-12-14 04:04:48 UTC --- (In reply to comment #3)
(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 <arvidjaar@gmail.com> 2013-12-14 04:17:48 UTC --- (In reply to comment #4)
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 <badshah400@gmail.com> 2013-12-14 04:26:59 UTC --- Here are the results: ~> pgrep -l gnome-session 4668 gnome-session ~> grep SigBlk /proc/4688/status grep: /proc/4688/status: No such file or directory ~> pgrep -l gnome-terminal 10059 gnome-terminal- ~> grep SigBlk /proc/10059/status SigBlk: 0000000000000000 -- 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#c7 --- Comment #7 from Andrey Borzenkov <arvidjaar@gmail.com> 2013-12-14 06:24:31 UTC --- (In reply to comment #6)
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 <badshah400@gmail.com> 2013-12-14 06:29:29 UTC --- Hey, sorry. Silly me! Anyway, here's the correct thing (from a different computer, still openSUSE 13.1 + official updates)... ~> pgrep -l gnome-session 14168 gnome-session ~> grep SigBlk /proc/14168/status SigBlk: 0000000000000000 I am on 64-bit. -- 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#c9 --- Comment #9 from Andrey Borzenkov <arvidjaar@gmail.com> 2014-01-11 18:27:30 UTC --- Looks like the root cause was nVidia drivers https://bugzilla.novell.com/show_bug.cgi?id=858421 -- 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#c10 Andrey Borzenkov <arvidjaar@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #10 from Andrey Borzenkov <arvidjaar@gmail.com> 2014-01-12 06:53:10 UTC --- Looks like it was indeed nVidia drivers so marking as duplicate. *** This bug has been marked as a duplicate of bug 858421 *** http://bugzilla.novell.com/show_bug.cgi?id=858421 -- 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.
participants (1)
-
bugzilla_noreply@novell.com