[Gambas-user] Web cam examples ububuntu 12 not working properly

richard rterry at ...1823...
Thu Nov 15 23:30:31 CET 2012


I wondered if anyone had tried using these recently under kubuntu 12.

when the form is closed the error is:
"The program has stopped unexpectedly (Aborted 6).

I tried another app:

Kamerka is a Qt4 app that uses KDE4 libraries. It uses Video4Linux

This works without problems.


The following is the terminal output from the gambas example

gb.qt4: warning: unable to load Qt translation: en_AU.UTF-8
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: maxWidth not implemented in V4l2: Resource temporarily 
unavailable
gb.v4l: v4l2: maxHeight not implemented in V4l2: Resource temporarily 
unavailable
gb.v4l: v4l2: minWidth not implemented in V4l2: Resource temporarily 
unavailable
gb.v4l: v4l2: minHeight not implemented in V4l2: Resource temporarily 
unavailable
*** glibc detected *** MyWebCam: double free or corruption (!prev): 
0x000000000129d1a0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7e626)[0x7f2e26ff8626]
MyWebCam[0x40f3d8]
MyWebCam[0x407ef4]
MyWebCam[0x43516a]
MyWebCam[0x40a37d]
MyWebCam[0x40aa44]
MyWebCam[0x41f5d0]
MyWebCam[0x41fcff]
/usr/lib/gambas3/gb.qt4.so(+0x5a2e1)[0x7f2e25c342e1]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0xa2e)[0x7f2e249f54ee]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb4)[0x7f2e249a4894]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x113)[0x7f2e249a9713]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c)[0x7f2e24481e9c]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN14QWidgetPrivate12close_helperENS_9CloseModeE+0x1fd)[0x7f2e249ef24d]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication16x11ClientMessageEP7QWidgetP7_XEventb+0x1b6)[0x7f2e24a25766]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0xe0b)[0x7f2e24a23beb]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x274b3a)[0x7f2e24a4db3a]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x7f2e24480c82]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xf7)[0x7f2e24480ed7]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN16QCoreApplication4execEv+0x87)[0x7f2e24485f67]
/usr/lib/gambas3/gb.qt4.so(+0x5092f)[0x7f2e25c2a92f]
MyWebCam[0x4047b2]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f2e26f9b76d]
MyWebCam[0x4048a9]
======= Memory map: ========
00400000-0044f000 r-xp 00000000 08:03 657185                             
/usr/bin/gbx3
0064e000-0064f000 r--p 0004e000 08:03 657185                             
/usr/bin/gbx3
0064f000-00659000 rw-p 0004f000 08:03 657185                             
/usr/bin/gbx3
00659000-0065c000 rw-p 00000000 00:00 0
00e41000-0132c000 rw-p 00000000 00:00 0                                  
[heap]
7f2e0f7d6000-7f2e0f7da000 r-xp 00000000 08:03 674002 
/usr/lib/kde4/plugins/imageformats/kimg_xview.so
7f2e0f7da000-7f2e0f9d9000 ---p 00004000 08:03 674002 
/usr/lib/kde4/plugins/imageformats/kimg_xview.so
7f2e0f9d9000-7f2e0f9da000 r--p 00003000 08:03 674002 
/usr/lib/kde4/plugins/imageformats/kimg_xview.so
7f2e0f9da000-7f2e0f9db000 rw-p 00004000 08:03 674002 
/usr/lib/kde4/plugins/imageformats/kimg_xview.so
7f2e0f9db000-7f2e0f9ea000 r-xp 00000000 08:03 673996 
/usr/lib/kde4/plugins/imageformats/kimg_xcf.so
7f2e0f9ea000-7f2e0fbe9000 ---p 0000f000 08:03 673996 
/usr/lib/kde4/plugins/imageformats/kimg_xcf.so
7f2e0fbe9000-7f2e0fbea000 r--p 0000e000 08:03 673996 
/usr/lib/kde4/plugins/imageformats/kimg_xcf.so
7f2e0fbea000-7f2e0fbeb000 rw-p 0000f000 08:03 673996 
/usr/lib/kde4/plugins/imageformats/kimg_xcf.so
7f2e0fbeb000-7f2e0fbef000 rw-p 00000000 00:00 0
7f2e0fbef000-7f2e0fbf4000 r-xp 00000000 08:03 674004 
/usr/lib/kde4/plugins/imageformats/kimg_tga.so
7f2e0fbf4000-7f2e0fdf3000 ---p 00005000 08:03 674004 
/usr/lib/kde4/plugins/imageformats/kimg_tga.so
7f2e0fdf3000-7f2e0fdf4000 r--p 00004000 08:03 674004 
/usr/lib/kde4/plugins/imageformats/kimg_tga.so
7f2e0fdf4000-7f2e0fdf5000 rw-p 00005000 08:03 674004 
/usr/lib/kde4/plugins/imageformats/kimg_tga.so
7f2e0fdf5000-7f2e0fdfe000 r-xp 00000000 08:03 673994 
/usr/lib/kde4/plugins/imageformats/kimg_rgb.so
7f2e0fdfe000-7f2e0fffe000 ---p 00009000 08:03 673994 
/usr/lib/kde4/plugins/imageformats/kimg_rgb.so
7f2e0fffe000-7f2e0ffff000 r--p 00009000 08:03 673994 
/usr/lib/kde4/plugins/imageformats/kimg_rgb.so
7f2e0ffff000-7f2e10000000 rw-p 0000a000 08:03 673994 
/usr/lib/kde4/plugins/imageformats/kimg_rgb.so
7f2e10000000-7f2e10021000 rw-p 00000000 00:00 0
7f2e10021000-7f2e14000000 ---p 00000000 00:00 0
7f2e141de000-7f2e141e3000 r-xp 00000000 08:03 673986 
/usr/lib/kde4/plugins/imageformats/kimg_ras.so
7f2e141e3000-7f2e143e2000 ---p 00005000 08:03 673986 
/usr/lib/kde4/plugins/imageformats/kimg_ras.so
7f2e143e2000-7f2e143e3000 r--p 00004000 08:03 673986 
/usr/lib/kde4/plugins/imageformats/kimg_ras.so
7f2e143e3000-7f2e143e4000 rw-p 00005000 08:03 673986 
/usr/lib/kde4/plugins/imageformats/kimg_ras.so
7f2e143e4000-7f2e143e9000 r-xp 00000000 08:03 673998 
/usr/lib/kde4/plugins/imageformats/kimg_psd.so
7f2e143e9000-7f2e145e8000 ---p 00005000 08:03 673998 
/usr/lib/kde4/plugins/imageformats/kimg_psd.so
7f2e145e8000-7f2e145e9000 r--p 00004000 08:03 673998 
/usr/lib/kde4/plugins/imageformats/kimg_psd.so
7f2e145e9000-7f2e145ea000 rw-p 00005000 08:03 673998 
/usr/lib/kde4/plugins/imageformats/kimg_psd.so
7f2e145ea000-7f2e145ef000 r-xp 00000000 08:03 674006 
/usr/lib/kde4/plugins/imageformats/kimg_pic.so
7f2e145ef000-7f2e147ee000 ---p 00005000 08:03 674006 
/usr/lib/kde4/plugins/imageformats/kimg_pic.so
7f2e147ee000-7f2e147ef000 r--p 00004000 08:03 674006 
/usr/lib/kde4/plugins/imageformats/kimg_pic.so
7f2e147ef000-7f2e147f0000 rw-p 00005000 08:03 674006 
/usr/lib/kde4/plugins/imageformats/kimg_pic.so
7f2e147f0000-7f2e147f7000 r-xp 00000000 08:03 673992 
/usr/lib/kde4/plugins/imageformats/kimg_pcx.so
7f2e147f7000-7f2e149f7000 ---p 00007000 08:03 673992 
/usr/lib/kde4/plugins/imageformats/kimg_pcx.so
7f2e149f7000-7f2e149f8000 r--p 00007000 08:03 673992 
/usr/lib/kde4/plugins/imageformats/kimg_pcx.so
7f2e149f8000-7f2e149f9000 rw-p 00008000 08:03 673992 
/usr/lib/kde4/plugins/imageformats/kimg_pcx.so
7f2e149f9000-7f2e14a45000 r-xp 00000000 08:03 663194 
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0
7f2e14a45000-7f2e14c44000 ---p 0004c000 08:03 663194 
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0
7f2e14c44000-7f2e14c45000 r--p 0004b000 08:03 663194 
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0
7f2e14c45000-7f2e14c49000 rw-p 0004c000 08:03 663194 
/usr/lib/x86_64-linux-gnu/libjasper.so.1.0.0
7f2e14c49000-7f2e14c50000 rw-p 00000000 00:00 0
7f2e14c50000-7f2e14c55000 r-xp 00000000 08:03 674000 
/usr/lib/kde4/plugins/imageformats/kimg_jp2.so
7f2e14c55000-7f2e14e54000 ---p 00005000 08:03 674000 
/usr/lib/kde4/plugins/imageformats/kimg_jp2.so
7f2e14e54000-7f2e14e55000 r--p 00004000 08:03 674000 
/usr/lib/kde4/plugins/imageformats/kimg_jp2.so
7f2e14e55000-7f2e14e56000 rw-p 00005000 08:03 674000 
/usr/lib/kde4/plugins/imageformats/kimg_jp2.so
7f2e14e56000-7f2e14e5c000 r-xp 00000000 08:03 656907                     
/usr/lib/libIlmThread.so.6.0.0
7f2e14e5c000-7f2e1505b000 ---p 00006000 08:03 656907                     
/usr/lib/libIlmThread.so.6.0.0
7f2e1505b000-7f2e1505c000 r--p 00005000 08:03 656907                     
/usr/lib/libIlmThread.so.6.0.0
7f2e1505c000-7f2e1505d000 rw-p 00006000 08:03 656907                     
/usr/lib/libIlmThread.so.6.0.0
7f2e1505d000-7f2e15061000 r-xp 00000000 08:03 656909                     
/usr/lib/libImath.so.6.0.0
7f2e15061000-7f2e15261000 ---p 00004000 08:03 656909                     
/usr/lib/libImath.so.6.0.0
7f2e15261000-7f2e15262000 r--p 00004000 08:03 656909                     
/usr/lib/libImath.so.6.0.0
7f2e15262000-7f2e15263000 rw-p 00005000 08:03 6569




More information about the User mailing list