geis_ugsubscription_release_for_device() fails -- causes compiz to crash on resume from S3

Bug #1046927 reported by Ayan George
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
geis (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Summary:
Aftr resuming from s3, the GUI screen was all black. I could Ctrl-Alt-F1 (2,3,...) and get to alternate consoles. I was able to in the black GUI to hit the password and see the white mouse arrow change to a vertical "I" in the middle of the screen and an arrow when it was palced on the left side of the screen where the lanucher would be.

Steps:
1) Login to the desktop.
2) Open Firefox and a terminal session.
3) Click on the gear in the upper right corner of the screen and select "Suspend"
4) Close the lid and wait a minute.
5) Observe that the power LED flashes slowly on and off.
6) Lift the laptop lid.
7) log in
8) Repeat steps 3 through 7

Expected results: System resumes to the GUI login screen.

Actual results: System screen is all black with a white arrow for a mouse cursor.

Additional information:
1) Happens about 1 out of 5 tries.
2) If you run [sudo service lightdm restart] in a virtual console the GUI will restart.

THIS HAPPENS ON YET TO BE RELEASED HARDWARE.

Revision history for this message
Ayan George (ayan) wrote :
Download full text (3.1 KiB)

This is a backtrace of compiz when this occurs.

Restarting compiz fixes the problem.

#0 0x00007f643d9a9445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f643d9acbab in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007f643d9e6e2e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007f643d9f1626 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x00007f6429cc820d in geis_ugsubscription_release_for_device (store=0x1710e10, filter=0x1710b70, device=0x170f340, window_grabs=0x170f200)
    at geis_ugsubscription_store.c:177
#5 0x00007f6429cc6192 in _grail_be_unsubscribe_removed_device (device=0x170f340, gbe=<optimized out>) at geis_grail_backend.c:747
#6 _geis_grail_remove_device (frame_device=0x170f340, gbe=0x16f9988) at geis_grail_backend.c:935
#7 _geis_be_flush_frame_events (gbe=0x16f9988) at geis_grail_backend.c:997
#8 _grail_be_frame_fd_callback (fd=<optimized out>, ev=<optimized out>, ctx=0x16f9988) at geis_grail_backend.c:1021
#9 0x00007f6429cbb426 in geis_backend_multiplexor_pump (mx=0x16f6240) at geis_backend_multiplexor.c:416
#10 0x00007f6429cc0d0c in geis_event_dispatch (instance=<optimized out>) at geis_v1.c:603
#11 0x00007f642a3a27e0 in GeisAdapter::OnWatchIn(_GIOChannel*, GIOCondition, void*) () from /usr/lib/compiz/libunityshell.so
#12 0x00007f643c2c8d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007f643c2c90a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007f643c2c9164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f64387c8cb9 in processEvents (flags=<optimized out>) at /build/buildd/compizconfig-backend-gconf-0.9.5.92/src/gconf.c:1918
#16 processEvents (flags=<optimized out>) at /build/buildd/compizconfig-backend-gconf-0.9.5.92/src/gconf.c:1913
#17 0x00007f643947d59e in CcpScreen::timeout (this=0x1252200) at /build/buildd/libcompizconfig-0.9.7.0~bzr428/plugin/ccp/src/ccp.cpp:430
#18 0x00007f643e2bfe5b in operator() (this=<optimized out>) at /usr/include/boost/function/function_template.hpp:1013
#19 CompTimer::triggerCallback (this=<optimized out>) at /build/buildd/compiz-0.9.7.8/src/timer/src/timer.cpp:227
#20 0x00007f643e2bff5f in CompTimeoutSource::callback (this=<optimized out>) at /build/buildd/compiz-0.9.7.8/src/timer/src/timer.cpp:150
#21 0x00007f643e2bf40d in operator() (this=<optimized out>) at /usr/include/sigc++-2.0/sigc++/functors/slot.h:440
#22 dispatch (slot=<optimized out>, this=<optimized out>) at /build/buildd/compiz-0.9.7.8/src/timer/src/timer.cpp:133
#23 CompTimeoutSource::dispatch (this=<optimized out>, slot=<optimized out>) at /build/buildd/compiz-0.9.7.8/src/timer/src/timer.cpp:131
#24 0x00007f643c7c0f2f in Glib::Source::dispatch_vfunc(_GSource*, int (*)(void*), void*) () from /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1
#25 0x00007f643c2c8d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f643c2c90a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f643c2c949a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x000000000040241e in main (argc=<optimized out>, argv=0x7ffff3ec1d28) at /build/buildd/compiz-0.9.7.8/src/...

Read more...

summary: geis_ugsubscription_release_for_device() fails -- causes compiz to crash
+ on resume from S3
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

What do you mean by "s3" when you say "resuming from s3"?

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Ah, ok. Must be some suspend state.

Revision history for this message
Ayan George (ayan) wrote :

Yes.

Also, we've seen a similar (the same?) bug present itself as a simple compiz crash without the black screen and mouse.

The backtrace looks the same.

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Could you tell me what version of geis library you used?

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Tried over 10 times on a Dell Vostro 3550 running precise without and didn't see the bug.

It's likely related to the presence of multitouch input devices. Could you please attach the output of "xinput --list --long" when run in the computer that shows the crash?

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

> Tried over 10 times on a Dell Vostro 3550 running precise without and didn't see the bug.

Correcting:
Tried over 10 times on a Dell Vostro 3550 running precise and didn't see the bug.

Changed in geis (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Ayan George (ayan) wrote :
Revision history for this message
Ayan George (ayan) wrote :

Daniel,

I'm using libtouch-geis1 2.2.9-0ubuntu3

I've attached xinput output in the previous comment.

Revision history for this message
Daniel d'Andrada (dandrader) wrote :

Thanks for the xinput.

Changed in geis (Ubuntu):
status: Incomplete → New
Revision history for this message
Daniel d'Andrada (dandrader) wrote :

xinput log shows no multitouch device. I've also tested it with a laptop containg a multitouch input device and still couldn't reproduce the crash.

Stephen M. Webb (bregma)
Changed in geis (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Changed in geis (Ubuntu):
assignee: Daniel d'Andrada (dandrader) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.