[Gambas-user] The WebCam Examples crash

richard terry rterry at ...1823...
Fri May 31 00:15:33 CEST 2013


I've asked about this before and wonder if anyone can help, as the web 
cam is/was critical to my clinical practice as it is integrated with 
EasyGP and I used to continually use it all day to do things ranging 
from snapping the patient's photo for their file, to taking pictures of 
skin lesions, rashes, etc etc, and inserting them directly into the notes.

As previously mentioned this used to work on my old kubuntu 9 machine, 
but no versions since eg 10/11/12 and now on Linux Mint ditto.

Running the  examples, or even my program does bring up the video image, 
but as soon as the form closes the program dies, below is the terminal 
printout.

I can't believe I'm the only one in the world with this problem.

I wonder if anyone else on the list could run the samples and report 
back - give suggestions or guidance.

Regards

richard

gb.v4l: v4l2: Device is V4L2!: Resource temporarily unavailable
gb.v4l: v4l2: cropping not supported: Invalid argument
gb.v4l: v4l2: Capture ON: Invalid argument
gb.v4l: v4l2: 'Source' not currently implemented for V4L2: Invalid argument
gb.v4l: v4l2: cropping not supported: Invalid argument
gb.v4l: v4l2: Capture ON: Invalid argument
gb.v4l: v4l2: cropping not supported: Invalid argument
gb.v4l: v4l2: Capture ON: Invalid argument
*** glibc detected *** MyWebCam: double free or corruption (!prev): 
0x00000000009e2b40 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7f5e8ef21b96]
MyWebCam[0x40f424]
MyWebCam[0x408077]
MyWebCam[0x4351a3]
MyWebCam[0x40a4fd]
MyWebCam[0x40abc3]
MyWebCam[0x41fb87]
MyWebCam[0x420a6d]
/usr/lib/gambas3/gb.gtk.so(+0x5a88f)[0x7f5e8d77088f]
/usr/lib/gambas3/gb.gtk.so(+0x4a42d)[0x7f5e8d76042d]
/usr/lib/gambas3/gb.gtk.so(+0x4a4ff)[0x7f5e8d7604ff]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x136599)[0x7f5e8cfde599]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x190)[0x7f5e8c04b140]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x21550)[0x7f5e8c05c550]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x9cb)[0x7f5e8c0640cb]
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f5e8c064642]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x24f95e)[0x7f5e8d0f795e]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main_do_event+0x54b)[0x7f5e8cfdcf5b]
/usr/lib/gambas3/gb.gtk.so(+0x5e09e)[0x7f5e8d77409e]
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x5bd7c)[0x7f5e8cc51d7c]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x135)[0x7f5e8bd8bab5]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x47de8)[0x7f5e8bd8bde8]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x34)[0x7f5e8bd8bea4]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main_iteration_do+0x1d)[0x7f5e8cfdbedd]
/usr/lib/gambas3/gb.gtk.so(+0x5bd0a)[0x7f5e8d771d0a]
/usr/lib/gambas3/gb.gtk.so(+0x5bd75)[0x7f5e8d771d75]
MyWebCam[0x40481a]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f5e8eec476d]
MyWebCam[0x40492d]
======= Memory map: ========
00400000-0044f000 r-xp 00000000 08:03 788835                             
/usr/bin/gbx3
0064e000-0064f000 r--p 0004e000 08:03 788835                             
/usr/bin/gbx3
0064f000-00659000 rw-p 0004f000 08:03 788835                             
/usr/bin/gbx3
00659000-0065c000 rw-p 00000000 00:00 0
007e3000-00b78000 rw-p 00000000 00:00 0                                  
[heap]
7f5e74000000-7f5e74022000 rw-p 00000000 00:00 0
7f5e74022000-7f5e78000000 ---p 00000000 00:00 0
7f5e7b927000-7f5e7b987000 rw-s 00000000 00:04 1933344                    
/SYSV00000000 (deleted)
7f5e7b987000-7f5e7b989000 r-xp 00000000 08:03 1311998 
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f5e7b989000-7f5e7bb88000 ---p 00002000 08:03 1311998 
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f5e7bb88000-7f5e7bb89000 r--p 00001000 08:03 1311998 
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f5e7bb89000-7f5e7bb8a000 rw-p 00002000 08:03 1311998 
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
7f5e7bb8a000-7f5e7bb8b000 ---p 00000000 00:00 0
7f5e7bb8b000-7f5e7c38b000 rw-p 00000000 00:00 0                          
[stack:3355]
7f5e7c38b000-7f5e7c397000 r-xp 00000000 08:03 2100975                    
/lib/x86_64-linux-gnu/libudev.so.0.13.0
7f5e7c397000-7f5e7c596000 ---p 0000c000 08:03 2100975                    
/lib/x86_64-linux-gnu/libudev.so.0.13.0
7f5e7c596000-7f5e7c597000 r--p 0000b000 08:03 2100975                    
/lib/x86_64-linux-gnu/libudev.so.0.13.0
7f5e7c597000-7f5e7c598000 rw-p 0000c000 08:03 2100975                    
/lib/x86_64-linux-gnu/libudev.so.0.13.0
7f5e7c5b7000-7f5e7c5ec000 r-xp 00000000 08:03 1312470 
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
7f5e7c5ec000-7f5e7c7ec000 ---p 00035000 08:03 1312470 
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
7f5e7c7ec000-7f5e7c7f1000 r--p 00035000 08:03 1312470 
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
7f5e7c7f1000-7f5e7c7f2000 rw-p 0003a000 08:03 1312470 
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so
7f5e7c7f2000-7f5e7c821000 r-xp 00000000 08:03 1312133 
/usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
7f5e7c821000-7f5e7ca20000 ---p 0002f000 08:03 1312133 
/usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
7f5e7ca20000-7f5e7ca21000 r--p 0002e000 08:03 1312133 
/usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
7f5e7ca21000-7f5e7ca23000 rw-p 0002f000 08:03 1312133 
/usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
7f5e7ca23000-7f5e7dd24000 r--p 00000000 08:03 2008689                    
/usr/share/icons/hicolor/icon-theme.cache
7f5e7dd24000-7f5e80fed000 r--p 00000000 08:03 1996331                    
/usr/share/icons/mate/icon-theme.cache
7f5e80fed000-7f5e85253000 r--p 00000000 08:03 1981540                    
/usr/share/icons/gnome/icon-theme.cache
7f5e85253000-7f5e8548c000 r--p 00000000 08:16 34608010 
/home/richard/.icons/Tango/icon-theme.cache
7f5e8592b000-7f5e8592d000 r-xp 00000000 08:03 1312661 
/usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
7f5e8592d000-7f5e85b2c000 ---p 00002000 08:03 1312661 
/usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
7f5e85b2c000-7f5e85b2d000 r--p 00001000 08:03 1312661 
/usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
7f5e85b2d000-7f5e85b2e000 rw-p 00002000 08:03 1312661 
/usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so
7f5e85b2e000-7f5e85b58000 r-xp 00000000 08:03 1312401 
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libclearlooks.so
7f5e85b58000-7f5e85d58000 ---p 0002a000 08:03 1312401 
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libclearlooks.so
7f5e85d58000-7f5e85d59000 r--p 0002a000 08:03 1312401 
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libclearlooks.so
7f5e85d59000-7f5e85d5a000 rw-p 0002b000 08:03 1312401 
/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libclearlooks.so
7f5e85d5a000-7f5e85d66000 r-xp 00000000 08:03 2102960 
/lib/x86_64-linux-gnu/libnss_files-2.15.so
7f5e85d66000-7f5e85f65000 ---p 0000c000 08:03 2102960 
/lib/x86_64-linux-gnu/libnss_files-2.15.so
7f5e85f65000-7f5e85f66000 r--p 0000b000 08:03 2102960 
/lib/x86_64-linux-gnu/libnss_files-2.15.so
7f5e85f66000-7f5e85f67000 rw-p 0000c000 08:03 2102960 
/lib/x86_64-linux-gnu/libnss_files-2.15.so
7f5e85f67000-7f5e85f71000 r-xp 00000000 08:03 2102953                    
/lib/x86_64-linux-gnu/libnss_nis-2.15.so
7f5e85f71000-7f5e86171000 ---p 0000a000 08:03 2102953                    
/lib/x86_64-linux-gnu/libnss_nis-2.15.so
7f5e86171000-7f5e86172000 r--p 0000a000 08:03 2102953                    
/lib/x86_64-linux-gnu/libnss_nis-2.15.so
7f5e86172000-7f5e86173000 rw-p 0000b000 08:03 2102953                    
/lib/x86_64-linux-gnu/libnss_nis-2.15.so
7f5e86173000-7f5e8618a000 r-xp 00000000 08:03 2102972                    
/lib/x86_64-linux-gnu/libnsl-2.15.so
7f5e8618a000-7f5e86389000 ---p 00017000 08:03 2102972                    
/lib/x86_64-linux-gnu/libnsl-2.15.so
7f5e86389000-7f5e8638a000 r--p 00016000 08:03 2102972                    
/lib/x86_64-linux-gnu/libnsl-2.15.so
7f5e8638a000-7f5e8638b000 rw-p 00017000 08:03 2102972                    
/lib/x86_64-linux-gnu/libnsl-2.15.so
7f5e8638b000-7f5e8638d000 rw-p 00000000 00:00 0
7f5e8638d000-7f5e86395000 r-xp 00000000 08:03 2102977 
/lib/x86_64-linux-gnu/libnss_compat-2.15.so
7f5e86395000-7f5e86594000 ---p 00008000 08:03 2102977 
/lib/x86_64-linux-gnu/libnss_compat-2.15.so
7f5e86594000-7f5e86595000 r--p 00007000 08:03 2102977 
/lib/x86_64-linux-gnu/libnss_compat-2.15.so
7f5e86595000-7f5e86596000 rw-p 00008000 08:03 2102977 
/lib/x86_64-linux-gnu/libnss_compat-2.15.so
7f5e86596000-7f5e865a9000 r-xp 00000000 08:03 798122                     
/usr/lib/gambas3/gb.eval.so.0.0.0
7f5e865a9000-7f5e867a9000 ---p 00013000 08:03 798122                     
/usr/lib/gambas3/gb.ev




More information about the User mailing list