[Gambas-user] The WebCam Examples crash
Laurent Carlier
lordheavym at ...626...
Fri May 31 11:07:38 CEST 2013
Le vendredi 31 mai 2013 10:37:00 Adrien Prokopowicz a écrit :
> Le Fri, 31 May 2013 10:25:16 +0200, Fabien Bodard <gambas.fr at ...626...> a
>
> écrit:
> > me too :
> > [...]
>
> Hi,
>
> Same thing here. My v4l version is 0.9.5, and valgrind's output is
> attached.
And probably a better gdb output:
--8<--
[lordh at ...2346... WebCam]$ gdb gbx3
GNU gdb (GDB) 7.6
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gbx3...Reading symbols from
/usr/lib/debug/usr/bin/gbx3.debug...done.
done.
(gdb) run
Starting program: /usr/bin/gbx3
warning: no loadable sections found in added symbol-file system-supplied DSO
at 0x7ffff7ffa000
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading
configurations from ~/.fonts.conf is deprecated.
gb.v4l: v4l2: Device is V4L2!: Ressource temporairement non disponible
gb.v4l: v4l2: Capture ON: Argument invalide
Program received signal SIGSEGV, Segmentation fault.
OBJECT_detach (ob=ob at ...2861...=0xa09138) at gbx_object.c:122
122 gbx_object.c: Aucun fichier ou dossier de ce type.
(gdb) bt
#0 OBJECT_detach (ob=ob at ...2861...=0xa09138) at gbx_object.c:122
#1 0x000000000042674a in OBJECT_free (class=0x6ab7e8, ob=0xa09138) at
gbx_object.c:230
#2 0x00000000004267c5 in OBJECT_release (class=<optimized out>, ob=<optimized
out>) at gbx_object.c:350
#3 0x000000000040f3e2 in CLASS_free (object=0xa09138) at gbx_class.c:731
#4 0x000000000040941f in RELEASE_many (value=0x7ffff6707040,
value at ...2861...=0x7ffff6707120, n=1, n at ...2861...=8) at gbx_exec.c:238
#5 0x000000000040a18e in EXEC_leave_keep () at gbx_exec.c:811
#6 0x0000000000434716 in EXEC_loop () at gbx_exec_loop.c:1028
#7 0x000000000040a50b in EXEC_function_loop () at gbx_exec.c:906
#8 0x000000000040abc7 in EXEC_function_real () at gbx_exec.c:870
#9 0x000000000041ed4b in raise_event (observer=observer at ...2861...=0x8c2658,
object=object at ...2861...=0x8c2658, func_id=158, func_id at ...2861...=159,
nparam=nparam at ...2861...=0) at gbx_api.c:810
#10 0x00000000004207ee in GB_Raise (object=0x8c2658, event_id=<optimized out>,
nparam=0) at gbx_api.c:946
#11 0x00007ffff60a5ca0 in CWINDOW_activate (ob=ob at ...2861...=0x8c2658) at
CWindow.cpp:2613
#12 0x00007ffff60a0281 in post_focus_change () at CWidget.cpp:2335
#13 0x0000000000412886 in EVENT_check_post () at gbx_event.c:244
#14 0x00007ffff43b2c5e in QObject::event(QEvent*) () from
/usr/lib/libQtCore.so.4
#15 0x00007ffff48ca0ac in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007ffff48d0670 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#17 0x00007ffff439ac3d in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/libQtCore.so.4
#18 0x00007ffff439dc8f in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/libQtCore.so.4
#19 0x00007ffff43caacf in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#20 0x00007ffff4967986 in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007ffff439996f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#22 0x00007ffff4399c65 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#23 0x00007ffff439eccb in QCoreApplication::exec() () from
/usr/lib/libQtCore.so.4
#24 0x00007ffff609c4ba in hook_loop () at main.cpp:777
#25 0x000000000040482e in main (argc=1, argv=0x7fffffffe1f8) at gbx.c:402
-->8--
--
Laurent Carlier
ArchLinux Trusted User
http://www.archlinux.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20130531/624f65d7/attachment.sig>
More information about the User
mailing list