cheese segfault when run

Bug #1433744 reported by zebul666 on 2015-03-18
42
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Cheese
New
Undecided
Unassigned
cheese (Ubuntu)
High
Unassigned
Nominated for Utopic by Alberto Salvia Novella

Bug Description

As soon as I start cheese, it crashes with a segfault

Program received signal SIGSEGV, Segmentation fault.
__GI___libc_free (mem=0x1e0000003c) at malloc.c:2929
2929 malloc.c: Aucun fichier ou dossier de ce type.
(gdb) bt
#0 __GI___libc_free (mem=0x1e0000003c) at malloc.c:2929
#1 0x00007fffd1e0e1d8 in gst_vp8_enc_stop (video_encoder=0x2c04c00) at gstvp8enc.c:1445
#2 0x00007fffef668ede in ?? () from /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0
#3 0x00007ffff74b7af2 in gst_element_change_state (element=0x2c04c00, transition=0) at gstelement.c:2602
#4 0x00007ffff74b80fa in gst_element_set_state_func (element=0x2c04c00, state=GST_STATE_READY) at gstelement.c:2558
#5 0x00007ffff749acdc in gst_bin_element_set_state (next=<optimized out>, current=<optimized out>, start_time=<optimized out>, base_time=<optimized out>,
    element=<optimized out>, bin=<optimized out>) at gstbin.c:2328
#6 gst_bin_change_state_func (element=0x2a60b30, transition=0) at gstbin.c:2665
#7 0x00007fffd180698a in ?? () from /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstencodebin.so
#8 0x00007ffff74b7af2 in gst_element_change_state (element=0x6c62c0, transition=0) at gstelement.c:2602
#9 0x00007ffff74b80fa in gst_element_set_state_func (element=0x6c62c0, state=GST_STATE_READY) at gstelement.c:2558
#10 0x00007ffff749acdc in gst_bin_element_set_state (next=<optimized out>, current=<optimized out>, start_time=<optimized out>, base_time=<optimized out>,
    element=<optimized out>, bin=<optimized out>) at gstbin.c:2328
#11 gst_bin_change_state_func (element=0x2a609b0, transition=0) at gstbin.c:2665
#12 0x00007ffff74d7293 in gst_pipeline_change_state (element=0x2b543e0, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstpipeline.c:469
#13 0x00007fffd3090b61 in gst_camera_bin_change_state (element=0x2b543e0, trans=GST_STATE_CHANGE_PAUSED_TO_READY) at gstcamerabin2.c:1922
#14 0x00007ffff74b7af2 in gst_element_change_state (element=0x2b543e0, transition=0) at gstelement.c:2602
#15 0x00007ffff74b7b87 in gst_element_change_state (element=0x2b543e0, transition=0) at gstelement.c:2646
#16 0x00007ffff74b80fa in gst_element_set_state_func (element=0x2b543e0, state=GST_STATE_NULL) at gstelement.c:2558
#17 0x00007ffff7bcebef in cheese_camera_stop () from /usr/lib/x86_64-linux-gnu/libcheese.so.7
#18 0x00007ffff7bcfaa5 in cheese_camera_switch_camera_device () from /usr/lib/x86_64-linux-gnu/libcheese.so.7
#19 0x000000000040ecdc in ?? ()
#20 0x00007ffff5b23474 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff5b3d057 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff5b3d9af in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff66bffdb in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#24 0x00007ffff66c2698 in gtk_combo_box_set_active_iter () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#25 0x000000000040d724 in ?? ()
#26 0x00007ffff582268b in g_ptr_array_foreach () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x000000000040f206 in cheese_preferences_dialog_construct ()
#28 0x000000000040c45e in ?? ()
#29 0x00007ffff5b23474 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#30 0x00007ffff5b3d057 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff5b3d9af in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x000000000040b019 in _start ()

$ lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 0c45:64ad Microdia
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller

Moreover apport-bug shows this error:
$ apport-bug cheese
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
Cheese 3.12.2

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: cheese 3.12.2-1ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-31.43-generic 3.16.7-ckt5
Uname: Linux 3.16.0-31-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Mar 18 19:45:56 2015
InstallationDate: Installed on 2014-01-22 (419 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: cheese
UpgradeStatus: Upgraded to utopic on 2014-10-24 (145 days ago)

zebul666 (zebul666) wrote :
zebul666 (zebul666) wrote :

guvcview also crashes with a segfault

I have no idea what's wrong
If no webcam is found these software are supposed to handle it gracefully, right ? so ?

zebul666 (zebul666) wrote :

webcam is working in windows 8 or Ubuntu 15.10 LiveCD

zebul666 (zebul666) wrote :

but vlc v4l2:///dev/video0 works

zebul666 (zebul666) wrote :

this is working with skype now.
and camorama

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cheese (Ubuntu):
status: New → Confirmed
Mateusz Bąk (mateuszbak3) wrote :

Program received signal SIGSEGV, Segmentation fault.
__GI___libc_free (mem=0x1e0000003c) at malloc.c:2929
2929 malloc.c: No such file or directory.
(gdb) bt
#0 __GI___libc_free (mem=0x1e0000003c) at malloc.c:2929
#1 0x00007fffd47111d8 in ?? ()
   from /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvpx.so
#2 0x00007fffef669ede in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0
#3 0x00007ffff74b7af2 in gst_element_change_state ()
   from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#4 0x00007ffff74b80fa in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#5 0x00007ffff749acdc in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#6 0x00007fffd410998a in ?? ()
   from /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstencodebin.so
#7 0x00007ffff74b7af2 in gst_element_change_state ()
   from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#8 0x00007ffff74b80fa in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#9 0x00007ffff749acdc in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#10 0x00007ffff74d7293 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#11 0x00007fffd5993b61 in ?? ()
   from /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcamerabin2.so

Changed in cheese (Ubuntu):
importance: Undecided → High
Or Schiro (orschiro) wrote :

For me the same on Ubuntu 15.04:

orschiro@x230:~$ ubuntu-bug cheese
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
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
Cheese 3.14.1

NoBugs! (luke32j) wrote :

Still broken in the LTS release!? Segfault every time on Ubuntu 16.04.3 LTS.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers