New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

guid crash when coping clipboard from HVM domain #684

Closed
marmarek opened this Issue Mar 8, 2015 · 4 comments

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by joanna on 5 Dec 2012 22:17 UTC

qubes_guid[segfault at 7f7ef7ee0c0c ip 00007f7ef7571f2d sp 00007fffd8f0fac0 error 4 in libvchan.so[7f7ef7570000+3000](9372]:)

Upsss ;)

[~](user@dom0)$ rpm -qa | grep gui
qubes-gui-dom0-2.1.4-1.fc13.x86_64
xen-hvm-4.1.3gui2.1.4-3.fc13.x86_64

App RPMs are in the R2 current repo.

Migrated-From: https://wiki.qubes-os.org/ticket/684

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 6 Dec 2012 05:43 UTC
Some additional messages from /var/log/qubes/guid.X.log:

secure copy: success
ErrorHandler: BadShmSeg (invalid shared segment parameter)
                 Major opcode: 140 (MIT-SHM)
                 Minor opcode: 3 (X_ShmPutImage)
                 ResourceID:   0x2c00001
                 Failed serial number:  1488
                 Current serial number: 1484
qubes_guid: xcb_io.c:249: process_responses: Assertion `(((long) (dpy->last_request_read) - (long) (dpy->request)) <= 0)' failed.

Interestingly it happened only once to me, after VM restart it works...

Do you know how to extract function name/line number from segfault message? addr2line didn't worked for me...

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 6 Dec 2012 05:43 UTC
Some additional messages from /var/log/qubes/guid.X.log:

secure copy: success
ErrorHandler: BadShmSeg (invalid shared segment parameter)
                 Major opcode: 140 (MIT-SHM)
                 Minor opcode: 3 (X_ShmPutImage)
                 ResourceID:   0x2c00001
                 Failed serial number:  1488
                 Current serial number: 1484
qubes_guid: xcb_io.c:249: process_responses: Assertion `(((long) (dpy->last_request_read) - (long) (dpy->request)) <= 0)' failed.

Interestingly it happened only once to me, after VM restart it works...

Do you know how to extract function name/line number from segfault message? addr2line didn't worked for me...

@marmarek marmarek added the P: critical label Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 7 Dec 2012 18:01 UTC
Key to reproduce is fast Ctrl-C + Ctrl-Shift-C.

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 7 Dec 2012 18:01 UTC
Key to reproduce is fast Ctrl-C + Ctrl-Shift-C.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Modified by marmarek on 7 Dec 2012 21:31 UTC

Member

marmarek commented Mar 8, 2015

Modified by marmarek on 7 Dec 2012 21:31 UTC

@marmarek marmarek self-assigned this Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 8 Dec 2012 01:31 UTC
Found and fixed.
Short description: failed clipboard copy (fixed in [resulted in erroneously exit handlers called. Detailed description in commit message of fix 2).

[http://git.qubes-os.org/gitweb/?p=marmarek/gui.git;a=commit;h=e0d317af73337ed8a135563052a96bf2b03d33f0
2 http://git.qubes-os.org/gitweb/?p=marmarek/gui.git;a=commit;h=0de83d5ee3cf1e66338cd259c55ce777d4db6425

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 8 Dec 2012 01:31 UTC
Found and fixed.
Short description: failed clipboard copy (fixed in [resulted in erroneously exit handlers called. Detailed description in commit message of fix 2).

[http://git.qubes-os.org/gitweb/?p=marmarek/gui.git;a=commit;h=e0d317af73337ed8a135563052a96bf2b03d33f0
2 http://git.qubes-os.org/gitweb/?p=marmarek/gui.git;a=commit;h=0de83d5ee3cf1e66338cd259c55ce777d4db6425

@marmarek marmarek closed this Mar 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment