cheese crashes on start

Bug #1401090 reported by Tobias Wolter
34
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Ubuntu GNOME
Confirmed
Undecided
Unassigned

Bug Description

cheese segfaults while starting. I'm guessing the extra info you'll find attached won't be of use as the cheese apport hook fails:

ERROR: hook /usr/share/apport/package-hooks/source_cheese.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 197, in _run_hook
    symb['add_info'](report, ui)
  File "/usr/share/apport/package-hooks/source_cheese.py", line 16, in add_info
    report['lspci'] = command_output(['lspci', '-vvnn'])
NameError: name 'command_output' is not defined

Anyway, I've got a backtrace of the actual issue:

Core was generated by `cheese'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 notify_swap_buffers (swap_event=<optimised out>, swap_event=<optimised out>, context=<optimised out>) at ./winsys/cogl-winsys-glx.c:439
439 ./winsys/cogl-winsys-glx.c: No such file or directory.
(gdb) bt
#0 notify_swap_buffers (swap_event=<optimised out>, swap_event=<optimised out>, context=<optimised out>) at ./winsys/cogl-winsys-glx.c:439
#1 glx_event_filter_cb (xevent=0x7fff39947210, data=0x167f960) at ./winsys/cogl-winsys-glx.c:561
#2 0x00007fc21b7cbc68 in _cogl_renderer_handle_native_event (renderer=<optimised out>, event=0x7fff39947210) at ./cogl-renderer.c:732
#3 0x00007fc21e2221c0 in ?? () from /tmp/apport_sandbox_E0rYbK/usr/lib/x86_64-linux-gnu/libclutter-1.0.so.0
#4 0x00007fc21e22226e in ?? () from /tmp/apport_sandbox_E0rYbK/usr/lib/x86_64-linux-gnu/libclutter-1.0.so.0
#5 0x00007fc21e223f02 in clutter_x11_handle_event () from /tmp/apport_sandbox_E0rYbK/usr/lib/x86_64-linux-gnu/libclutter-1.0.so.0
#6 0x00007fc21e549ef0 in ?? () from /tmp/apport_sandbox_E0rYbK/usr/lib/x86_64-linux-gnu/libclutter-gtk-1.0.so.0
#7 0x00007fc21d4c4a31 in gdk_event_apply_filters (xevent=xevent@entry=0x7fff39947210, event=event@entry=0x7fc1d80275f0, window=window@entry=0x0) at /build/buildd/gtk+3.0-3.14.4/./gdk/x11/gdkeventsource.c:81
#8 0x00007fc21d4c4cf1 in gdk_event_source_translate_event (xevent=0x7fff39947210, event_source=0x10ff7f0) at /build/buildd/gtk+3.0-3.14.4/./gdk/x11/gdkeventsource.c:195
#9 _gdk_x11_display_queue_events (display=0x10fc060) at /build/buildd/gtk+3.0-3.14.4/./gdk/x11/gdkeventsource.c:338
#10 0x00007fc21d49b859 in gdk_display_get_event (display=display@entry=0x10fc060) at /build/buildd/gtk+3.0-3.14.4/./gdk/gdkdisplay.c:321
#11 0x00007fc21d4c4ab2 in gdk_event_source_dispatch (source=<optimised out>, callback=<optimised out>, user_data=<optimised out>) at /build/buildd/gtk+3.0-3.14.4/./gdk/x11/gdkeventsource.c:360
#12 0x00007fc21c9c2c5d in g_main_dispatch (context=0x10cea20) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3111
#13 g_main_context_dispatch (context=context@entry=0x10cea20) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3710
#14 0x00007fc21c9c2f48 in g_main_context_iterate (context=context@entry=0x10cea20, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimised out>) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3781
#15 0x00007fc21c9c2ffc in g_main_context_iteration (context=0x10cea20, context@entry=0x0, may_block=may_block@entry=1) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3842
#16 0x00007fc21cf7f1ac in g_application_run (application=0x10a4100, argc=1, argv=0x7fff399475b8) at /build/buildd/glib2.0-2.42.1/./gio/gapplication.c:2282
#17 0x0000000000413e06 in _vala_main ()
#18 0x00007fc21c3b7ec5 in __libc_start_main (main=0x40aa00 <main>, argc=1, argv=0x7fff399475b8, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7fff399475a8) at libc-start.c:287
#19 0x000000000040aa43 in _start ()

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: cheese 3.14.0-1ubuntu1~utopic1 [origin: LP-PPA-gnome3-team-gnome3-staging]
Uname: Linux 3.17.1-031701-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Dec 10 13:30:42 2014
InstallationDate: Installed on 2013-05-06 (582 days ago)
InstallationMedia: Ubuntu-GNOME 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: cheese
UpgradeStatus: Upgraded to utopic on 2014-10-23 (47 days ago)

Revision history for this message
Tobias Wolter (towo) wrote :
Revision history for this message
Tobias Wolter (towo) wrote :

So this seems to be partially related to having Redshift running, which modifies the display colour values with xrandr.

Revision history for this message
Bruce Pieterse (octoquad) wrote :

Hi Tobias,

I was trying to reproduce this crash, and I think I was successful. If I fire cheese from the command line the first time around I get a segmentation fault, and then if I do it again from the command line, it works normally. If I close it and then run it again from the command line it crashes again with a segmentation fault. If I fire it up again it works normally. I have already tried to obtain a backtrace with GDB and Valgrind, but it was a bit difficult because if I use a debugger cheese opens fine all the time!

I have filed a new bug report against cheese which has just completed a stack trace and the segmentation fault is the same as this one.
This report is currently private, but once a bug triager has had a look and removed any personal information, I will mark this bug as a duplicate of #1407433 as it has more useful information for developers to fix this.

Out of curiosity could you try opening cheese again from a command line twice and tell me if you get the same behaviour as described above or if it crashes on every start. This wasn't indicated in your bug report.

Thanks

Changed in ubuntu-gnome:
status: New → Incomplete
Changed in ubuntu-gnome:
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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