Bug 868164

Summary: xscreensaver/maze was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: caluml
Component: xscreensaverAssignee: Mamoru TASAKA <mtasaka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: mtasaka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xscreensaver-5.21-7.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-07 23:53:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description caluml 2012-10-19 07:59:46 UTC
I have the same problem as #766769

I am raising this as a new bug though because:


 abrt detects it as the bug mentioned above ( https://retrace.fedoraproject.org/faf/reports/8118/ )
 I can't reopen the old one
 I am on x86_64 ( the bug appears to specify i686
 I am on FC17 (which isn't mentioned in the bug)
 My version of virt-manager is 0.9.4-1.fc17.noarch, which is newer than the version mentioned in the other bug.

Comment 1 Mamoru TASAKA 2012-10-19 12:43:35 UTC
virt-manager is not related to this issue (I don't know why abrt says so).

* At least full backtrace is needed to investigate this issue. Would you gain the information from core file (perhaps located uder ~/.abrt/spool)?
* Also the line 1230 in maze.c is really complicated. Can you take the real value of st, st->maze *(st->maze), ss, *ss?
* And do you have some idea about when this issue occurred?

Currently I don't have x86_64 machine so I cannot analyze your core file...

Comment 2 caluml 2012-10-19 13:00:16 UTC
Yes, I was very surprised to see that the bug had virt-manager for the resolution.
It didn't seem that it could be related, but who knows.

I think abrt correctly identifies it as bug 766769, but maybe the resolution given in that bug is wrong.

I only have one thing under ~/.cache/abrt/spool/ : ccpp-2012-10-17-19:00:08-1151

$ cat core_backtrace 
299dc351ed4bf6ab068452328b2873f27205ea34 0x4942 - /usr/libexec/xscreensaver/maze bfed8be0a2dc26612a3c3c6bdb3971c058100fa4
299dc351ed4bf6ab068452328b2873f27205ea34 0x297d - /usr/libexec/xscreensaver/maze f914286b73387cc3323a5b47e4eb98189d60d713
df54c88ec91ef43fa6225e34d46e847dd76e1348 0x21735 __libc_start_main /lib64/libc.so.6 075acda5d3230e115cf7c88597eaba416bdaa6bb
299dc351ed4bf6ab068452328b2873f27205ea34 0x326d - /usr/libexec/xscreensaver/maze -

$ cat var_log_messages 
Oct 17 19:00:08 4gbl10280 kernel: [207476.582494] maze[1151]: segfault at 7ff96db588e0 ip 0000000000404942 sp 00007fffc6c62b60 error 4 in maze[400000+17000]
Oct 17 19:00:09 4gbl10280 abrt[1238]: Saved core dump of pid 1151 (/usr/libexec/xscreensaver/maze) to /var/spool/abrt/ccpp-2012-10-17-19:00:08-1151 (20742144 bytes)

$ cat cmdline 
maze -root

This issue occurs pretty much randomly, but not that often.
I will lock my screen (either to go to a meeting, lunch, or home), and when I come back, it is unlocked, which is obviously not a great situation.

I am running XFCE.
I have to run xscreensaver & after it has crashed to get it locking again. I might write a little script in cron to start it if it isn't already running - that way, there'll only be a little window where my machine is unlocked until the bug is fixed.

Let me know if you need anything else.

Comment 3 caluml 2012-10-19 13:08:56 UTC
(gdb) print ss->x
$3 = -1
(gdb) print ss->y
$4 = 22


ss->maze produces a lot of output - I can send it if you need it.

Comment 4 Mamoru TASAKA 2012-10-19 14:19:50 UTC
(In reply to comment #3)
> (gdb) print ss->x
> $3 = -1

This is difinitely an issue. Would you tell also me the following value?

* ss->i
* dir
* st->path[ss->i].y
* st->path[ss->i].x
* st->path[ss->i -1].y
* st->path[ss->i -1].x
* st->maze[st->path[ss->i].x][st->path[ss->i].y]
* st->maze[st->path[ss->i].x + 1][st->path[ss->i].y]
* st->maze[st->path[ss->i].x - 1][st->path[ss->i].y]
* st->maze[st->path[ss->i].x][st->path[ss->i].y + 1]
* st->maze[st->path[ss->i].x][st->path[ss->i].y - 1]

Some values may be invalid.

Comment 5 Mamoru TASAKA 2012-10-19 14:26:07 UTC
(In reply to comment #3)

> ss->maze produces a lot of output - I can send it if you need it.

For now I want to see the value in comment 4. If some other values are needed, I will ask you again.

Comment 6 caluml 2012-10-19 15:38:31 UTC
Arrrgh, I've absentmindedly clicked Delete in the abrt tool, and have lost the coredump. :/

I'll wait for the next crash (shouldn't be too long - a few days), and I'll give you the values from that one.

Thanks for your help on this, by the way.

Comment 7 Mamoru TASAKA 2012-11-02 04:27:39 UTC
Hello:

Were there any change that you could reproduce this issue?

Comment 8 Fedora Update System 2013-06-07 01:53:23 UTC
xscreensaver-5.21-7.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/FEDORA-2013-9679/xscreensaver-5.21-7.fc19

Comment 9 Fedora Update System 2013-06-07 01:54:22 UTC
xscreensaver-5.21-7.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2013-9712/xscreensaver-5.21-7.fc18

Comment 10 Fedora Update System 2013-06-07 01:54:41 UTC
xscreensaver-5.21-7.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/FEDORA-2013-9690/xscreensaver-5.21-7.fc17

Comment 11 Mamoru TASAKA 2013-06-07 01:55:49 UTC
I think 5.21-7 should fix this issue.

Comment 12 Fedora Update System 2013-06-07 04:31:36 UTC
xscreensaver-5.21-7.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2013-06-07 23:50:59 UTC
xscreensaver-5.21-7.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2013-06-07 23:53:17 UTC
xscreensaver-5.21-7.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.