Bug 329605 - Kamoso doesn't recognize my camera and crashes when countdown ends.
Summary: Kamoso doesn't recognize my camera and crashes when countdown ends.
Status: RESOLVED UPSTREAM
Alias: None
Product: kamoso
Classification: Applications
Component: general (show other bugs)
Version: 2.0.2
Platform: Chakra Linux
: NOR crash
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2014-01-04 19:20 UTC by Anxo Varela
Modified: 2018-09-19 14:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-15460-0.html (2.15 KB, text/html)
2015-04-28 13:30 UTC, Anxo Varela
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anxo Varela 2014-01-04 19:20:43 UTC
After some updates of my system (I don't know when) Kamoso no longer works. I use  Chakra "Fritz". 

The program starts normally but can't connect properly with the laptop's camera. Every time that I open Kamoso, the led of the camera is off and can't see no image is in the window. If I clic on the "take photo" button, the countdown starts normally, but the only thing I take at the end is a "beautiful" crash window.

The laptop's camera is a Ricoh "Motion Eye" which uses r5u87x driver. But I can use the camera with other applications like QT V4L2 test Utility.

Reproducible: Always

Steps to Reproduce:
1. Open Kamoso. 
2. The camera is offline. Camera's led is off and there is no image in display.
3. Clic on "Take picture" button. The countdown (3, 2, 1...) starts.
Actual Results:  
When countdown reach the end, kamoso crashes.

Expected Results:  
When I click on "Take picture" button, usually I get a photo after a short countdown.

OS: Chakra Linux "Fritz" (64 bits).
Kernel: 3.12.6-3
KDE ver: 4.11.3
nVidia drivers, 331.20-3
Computer: Sony VAIO VGN-FZ21Z

Crash report:
"Application: Kamoso (kamoso), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7faa1a8a67c0 (LWP 4725))]

Thread 2 (Thread 0x7faa040e7700 (LWP 4727)):
#0  0x00007faa1655796d in poll () from /lib/libc.so.6
#1  0x00007faa130e1644 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007faa130e1764 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007faa17326e26 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007faa172f8f4f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007faa172f9245 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007faa171f864f in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007faa172da893 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007faa171fac8f in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007faa16f6a0a2 in start_thread () from /lib/libpthread.so.0
#10 0x00007faa1656043d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7faa1a8a67c0 (LWP 4725)):
[KCrash Handler]
#5  0x00007faa18f3ed80 in QGst::Bin::getElementByName(char const*, QGst::Bin::RecursionType) const () from /usr/lib/libQtGStreamer-0.10.so.0
#6  0x0000000000424118 in _start ()"

When I run kamoso at konsole, I take this:
"[anxova@chakra-anxova ~]$ kamoso
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)

(kamoso:5898): GStreamer-CRITICAL **: gst_bin_add: assertion `GST_IS_ELEMENT (element)' failed
KCrash: Application 'kamoso' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/anxova/.kde4/socket-chakra-anxova/kdeinit4__0

[2]+  Detenido                kamoso
[anxova@chakra-anxova ~]$ QSocketNotifier: Invalid socket 11 and type 'Read', disabling...

[2]-  Salida 253              kamoso
[anxova@chakra-anxova ~]$"

Thank you.
Comment 1 Aleix Pol 2015-04-28 13:26:51 UTC
Can you please check if you have the same crash with an updated version of gstreamer, running
gst-launch-1.0 camerabin?

Looks like a crash in gstreamer.

Sorry for the answering delay.
Comment 2 Anxo Varela 2015-04-28 13:30:15 UTC
Created attachment 92299 [details]
attachment-15460-0.html

Thank you very much. I'll test it soon.

2015-04-28 15:26 GMT+02:00 Aleix Pol <aleixpol@kde.org>:

> https://bugs.kde.org/show_bug.cgi?id=329605
>
> Aleix Pol <aleixpol@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>          Resolution|---                         |UPSTREAM
>                  CC|                            |aleixpol@kde.org
>              Status|UNCONFIRMED                 |NEEDSINFO
>
> --- Comment #1 from Aleix Pol <aleixpol@kde.org> ---
> Can you please check if you have the same crash with an updated version of
> gstreamer, running
> gst-launch-1.0 camerabin?
>
> Looks like a crash in gstreamer.
>
> Sorry for the answering delay.
>
> --
> You are receiving this mail because:
> You reported the bug.
> You are on the CC list for the bug.
>
Comment 3 Andrew Crouthamel 2018-09-19 14:41:08 UTC
This bug has had its resolution changed, but accidentally has been left in NEEDSINFO status. I am thus closing this bug and setting the status as RESOLVED to reflect the resolution change.