Kazam crashes on record in 13.10

Bug #1244306 reported by timelf123 on 2013-10-24
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Kazam Screencaster
Undecided
Unassigned

Bug Description

In the previous Ubuntu release (13.04) I could use Kazam and it worked faultlessly.

Now in Ubuntu 13.10 Kazam does not work. What's gone wrong?

Steps to reproduce:
Start Kazam.
In "Screencast", click Capture.
Kazam icon appears for a split second in tray, then crashes without warning or error

David Klasinc (bigwhale) wrote :

Hi, thanks for your report.

If you can run kazam --debug from the console and make it crash, then please attach the debug output here.

turbolad (turbolad995) wrote :

Not sure if this is what you want? Run from Terminal.

timelf123 (timelf123) wrote :

I something like this:

DEBUG Main - Hiding main window.
DEBUG Main - Counter finished.
DEBUG Indicator - Recording started.
DEBUG GStreamer - Setting STATE_PLAYING
Segmentation fault (core dumped)

stavares (stavares) wrote :
Download full text (4.5 KiB)

I'm haveing the same issue. It is not just with Kazam. I get the same issue with RecordMyDesktop. Here is the --debug output none the less:

DEBUG Kazam - Starting ...
DEBUG Kazam - Running on: Ubuntu 13.10
DEBUG Kazam - Kazam version: 1.4.3-0ubuntu1 NCC-2000
DEBUG Kazam - Starting new instance ...
DEBUG Constants - Getting hardware specs
DEBUG Constants - Getting Video sources.
DEBUG Constants - Found 1 monitor(s).
DEBUG Constants - Monitor 0 - X: 0, Y: 0, W: 1680, H: 1050
DEBUG Prefs - XDG_PICTURES is a directory and accessible
DEBUG Main - Gstreamer version detected: 1.2.0.0
DEBUG Main - Setting variables.
DEBUG PulseAudio - Starting mainloop.
DEBUG PulseAudio - Getting API.
DEBUG PulseAudio - Setting context.
DEBUG PulseAudio - Set state callback.
DEBUG PulseAudio - Connecting to server.
DEBUG PulseAudio - Start mainloop.
DEBUG PulseAudio - State connected.
DEBUG Main - Connecting indicator signals.
DEBUG Main - Starting in silent mode: False
DEBUG Indicator - Indicatior silent: False
DEBUG Indicator - Trying to bind hotkeys.

** (kazam:16491): WARNING **: Binding '<Super><Ctrl>F' failed!
DEBUG Main - Main Window UI setup.
DEBUG Main - Unable to get name for '<Adjustment object at 0xb5574edc (GtkAdjustment at 0x9eb5780)>'

(kazam:16491): Gtk-WARNING **: Can't set a parent on widget which has a parent

(kazam:16491): Gtk-WARNING **: Can't set a parent on widget which has a parent

DEBUG Prefs - Getting Audio sources.
DEBUG PulseAudio - get_audio_sources() called.
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 0
DEBUG PulseAudio - Name: b'alsa_output.pci-0000_00_10.1.analog-stereo.monitor'
DEBUG PulseAudio - Desc: b'Monitor of Built-in Audio Analog Stereo'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 1
DEBUG PulseAudio - Name: b'alsa_input.pci-0000_00_10.1.analog-stereo'
DEBUG PulseAudio - Desc: b'Built-in Audio Analog Stereo'
DEBUG PulseAudio - pa_sourcelist_cb() -- finished
DEBUG Prefs - Device found:
DEBUG Prefs - - 0
DEBUG Prefs - - alsa_output.pci-0000_00_10.1.analog-stereo.monitor
DEBUG Prefs - - Monitor of Built-in Audio Analog Stereo
DEBUG Prefs - Device found:
DEBUG Prefs - - 1
DEBUG Prefs - - alsa_input.p...

Read more...

Ashley Goodman (ash-x) wrote :

I find audio isnt the issue. If I switch the screencast preferences to record with VP8/webM it no longer crashes. But if I record using H264/MP4 it does

timelf123 (timelf123) wrote :

This bug is a result of https://bugs.launchpad.net/ubuntu/+source/x264/+bug/1241772 "Miscompilation with gcc 4.8 (segfault in x264_cqm_init)"

A fix has been commited to saucy-proposed. You can either use that package (see above link for details) or use the following PPA.

https://launchpad.net/~maarten-baert/+archive/simplescreenrecorder
It's the original package from Ubuntu with the upstream patch applied to it.

For those who want to try it (at your own risk):

    sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder
    sudo apt-get update
    sudo apt-get upgrade

Yannick Warnier (ywarnier) wrote :

Just to be clear (because I got confused), the given PPA is *not* a PPA that *just* contains a patched version of Kazam, it's actually another project (I mean SimpleScreenRecorder) and as far as I am concerned it serves my purpose completely (recording a screencast).
I would even say it is better than Kazam, but I think the point about Kazam is that it was trying (as much as possibile) to reduce the number of options, while SimpleScreenRecorder seems to let go of the options restriction and give more of these (but they're documented), but it's definitely not overcomplicated.
It would be great to have it included in the default Ubuntu packages list.

Regarding this bug, I had the issue as well, and as far as I understand, https://bugs.launchpad.net/ubuntu/+source/x264/+bug/1241772 is effectively the right explanation for this issue. Kazam's developer being apparently not so active maintaining it at the moment (see blog linked from the main Launchpad page), SimpleScreenRecorder is the only nice solution I can see under Ubuntu 13.10.

Changed in kazam:
status: New → Confirmed

The bug is in the h264 / mp4 codec. You can work around this by instead setting vp8 / webm in the codec settings as follows:

"""
$ kazam --preferences
"""

Next choose Screencast, Record With, vp8 / webm.

Open kazam and record again to workaround the issue...

moto man (motoman422) wrote :
Download full text (4.5 KiB)

Gnome Ubuntu 14.04 64 Bit:

DEBUG Kazam - Starting ...
DEBUG Kazam - Running on: Ubuntu 14.04
DEBUG Kazam - Kazam version: 1.4.4 NCC-80102
DEBUG Kazam - Starting new instance ...
DEBUG Prefs - XDG_PICTURES is a directory and accessible
DEBUG Prefs-HW - Getting hardware specs
DEBUG Prefs-HW - Getting Video sources.
DEBUG Prefs-HW - Found 1 monitor(s).
DEBUG Prefs-HW - Monitor 0 - X: 0, Y: 0, W: 1920, H: 1200
DEBUG Main - Gstreamer version detected: 1.2.3.0
DEBUG Main - Setting variables.
DEBUG PulseAudio - Starting mainloop.
DEBUG PulseAudio - Getting API.
DEBUG PulseAudio - Setting context.
DEBUG PulseAudio - Set state callback.
DEBUG PulseAudio - Connecting to server.
DEBUG PulseAudio - Start mainloop.
DEBUG PulseAudio - State connected.
DEBUG Main - Connecting indicator signals.
DEBUG Main - Starting in silent mode: False
DEBUG Indicator - Indicatior silent: False
DEBUG Indicator - Trying to bind hotkeys.
DEBUG Main - Main Window UI setup.
DEBUG Main - Unable to get name for '<Adjustment object at 0x7f341c398090 (GtkAdjustment at 0x27e4430)>'

(kazam:4782): Gtk-WARNING **: Can't set a parent on widget which has a parent

(kazam:4782): Gtk-WARNING **: Can't set a parent on widget which has a parent

DEBUG Prefs - Getting Audio sources.
DEBUG PulseAudio - get_audio_sources() called.
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 0
DEBUG PulseAudio - Name: b'alsa_output.pci-0000_00_1b.0.analog-stereo.monitor'
DEBUG PulseAudio - Desc: b'Monitor of Built-in Audio Analog Stereo'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 1
DEBUG PulseAudio - Name: b'alsa_input.pci-0000_00_1b.0.analog-stereo'
DEBUG PulseAudio - Desc: b'Built-in Audio Analog Stereo'
DEBUG PulseAudio - pa_sourcelist_cb() -- finished
DEBUG Prefs - Device found:
DEBUG Prefs - - 0
DEBUG Prefs - - alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
DEBUG Prefs - - Monitor of Built-in Audio Analog Stereo
DEBUG Prefs - Device found:
DEBUG Prefs - - 1
DEBUG Prefs - - alsa_input.pci-0000_00_1b.0.analog-stereo
DEBUG Prefs - - Built-in Audio Analog Stereo
DEBUG Main - Capture cursor: True.
DEBUG Main - Capture speakers: True.
DEBUG Main - Capture microphone: True.
DEBUG Main - Capture cursor_pic: True.
DEBUG Main - Capture borders_pic: True.
DEBUG Main - Area ON.
DEBUG Window Select - Initializing select window.
DEBUG Window Select - Compositing window manager detected.
DEBUG Main - Area mode clicked.
DEBUG Window Select - Selected coords: 102 191 1380 911
DEBUG Main - Area selected: SX: 102, SY: 191, EX: 1380, EY: 911
DEBUG Main - Area selected: GX: 102, GY: 191, GX: 1380, GY: 911
DEBUG Window Select - Move to X: 0 Y: 0
DEBUG Main - Record clicked, invoking Screencast.
DEBUG GStreamer - Audio_source : alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
DEBUG GStreamer - Audio2_source : alsa_input.pci-0000_00_1b.0.analog-stereo
DEBUG GStreamer - Video_source: {'x': 0, 'width': 1920, 'y': 0, 'height': 1200}
DEBUG GStreamer - Xid: None
DEBUG GStreamer - Area: (102, 191, 1380, 911, 1278, 720)
DEBUG GStreamer - Capture Cursor: True
DEBUG GStreamer - Framerate : 15.0
DEBUG GStreamer - Capturing area.
DEBUG GStreamer - Coordinates SX: 1...

Read more...

David Klasinc (bigwhale) wrote :

Is this still an issue in 14.04 and kazam 1.4.x or 1.5.x versions? If it is, I'd appreciate if someone posts a debug log and reopens this bug. Thanks!

Changed in kazam:
status: Confirmed → Incomplete

Thus bug is still valid and present in Ubuntu 14.04.

--
Regards,

Kristian Erik Hermansen
https://www.linkedin.com/in/kristianhermansen
On Aug 18, 2014 1:51 PM, "David Klasinc" <email address hidden> wrote:

> Is this still an issue in 14.04 and kazam 1.4.x or 1.5.x versions? If it
> is, I'd appreciate if someone posts a debug log and reopens this bug.
> Thanks!
>
> ** Changed in: kazam
> Status: Confirmed => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1244306
>
> Title:
> Kazam crashes on record in 13.10
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kazam/+bug/1244306/+subscriptions
>

David Klasinc (bigwhale) wrote :

Please start kazam with --debug option and try to reproduce the error. Just recently a crash when using area selection was fixed in the stable PPA. Unstable Kazam has this fixed for some time now.

Launchpad Janitor (janitor) wrote :

[Expired for Kazam Screencaster because there has been no activity for 60 days.]

Changed in kazam:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions

Bug attachments