Hi Daniel,

Yes I suspected it. So it's a conflict between Qt versions.

Well unfortunately no, I'm not aware of any other application that's 
able to display raw bayer streams. Could you get access to a Fedora 
machine and test the stuff on it? There is another point. The driver is 
supposed to be compiled for 2.6.24-rc kernels and not for the old 
2.6.18. I think the developers have also updated the V4L2 API meanwhile 
along with a hefty bunch of fixes for the USB stack.

BR,
Ilyes Gouta.

Dan¡el Alejandro Fuentes wrote:
> Hi,
> 
> my system is a Debian etch, with kernel 2.6.18.
> I am not entirely sure, but I think my version of Qt is 4.2 (at least, 
> is the version are be showing in the Qt's libraries in /usr/lib).
> However, livecam appears to be compiled and linked with qt 3.3.7.
> 
> I installed libraries (from the repositories of Debian) with debugging 
> symbols, and gdb throws me:
>      35          QApplication App(argc, argv);
>    (gdb) next
> 
>    Program received signal SIGFPE, Arithmetic exception.
>    0xb795dd05 in create_dpis () at kernel/qpaintdevice_x11.cpp:531
>    531     kernel/qpaintdevice_x11.cpp: No existe el fichero o el 
> directorio.
>            in kernel/qpaintdevice_x11.cpp
> 
> So you reason, the problem is in my Qt libraries.
> I will continue to seek a solution, meanwhile
> Is this the driver in a position to be tested with another application? 
> (for instance: xawtv)
> 
> Daniel
> 
> Ilyes Gouta escribió:
>>
>> Hi Daniel,
>>
>> I've never seen this kind of errors in Qt or LiveCam. Can you provide 
>> me with more details concerning your machine, OS, etc. Can you get 
>> exactly the instruction where the program crashes? (for example in 
>> gdb, you can do: disass 0xb78ebd00 0xb78ebd10 to disassemble the 
>> machine code). 0xb78ebd05 is in the destructor of QPaintDevice and 
>> that's rather strange... Could you try to update your Qt library?
>>
>> BR,
>> Ilyes Gouta.
>>
>> Dan¡el Alejandro Fuentes wrote:
>>> Hi,
>>>
>>> after updating and compiling (configure && make && make install),
>>> I can't execute livecam (Exception floating point).
>>> I do't have experience using gdb, he give me:
>>>
>>>    (gdb) start -dograb
>>>    Breakpoint 1 at 0x804e566: file main.cpp, line 36.
>>>    Starting program: /home/daniel/proyectos/livecam/trunk/livecam 
>>> -dograb
>>>    [Thread debugging using libthread_db enabled]
>>>    [New Thread -1233844544 (LWP 15859)]
>>>    [Switching to Thread -1233844544 (LWP 15859)]
>>>    main (argc=2, argv=0xbfe0b5b4) at main.cpp:36
>>>    36          V4L2Viewer Viewer;
>>>    (gdb) next
>>>    33      int main(int argc, char **argv)
>>>    (gdb) next
>>>    35          QApplication App(argc, argv);
>>>     gdb) next
>>>    33      int main(int argc, char **argv)
>>>    (gdb) next
>>>    35          QApplication App(argc, argv);
>>>    (gdb) next
>>>      Program received signal SIGFPE, Arithmetic exception.
>>>    0xb78ebd05 in QPaintDevice::~QPaintDevice () from 
>>> /usr/lib/libqt-mt.so.3
>>>    (gdb) info line
>>>    Line 35 of "main.cpp" starts at address 0x804e56f <main+31> and 
>>> ends at 0x804e572 <main+34>.
>>>
>>> Moreover, the branch m5602-ov9560-2, compiles and inserted correctly.
>>> Runing dmesg:
>>>
>>>    m560x/branches/m5602-ov9650-2/m5602.c: usb_m5602_init - WebCam 
>>> driver startup
>>>    m560x/branches/m5602-ov9650-2/m5602.c: BisonCam webcam found.
>>>    m560x/branches/m5602-ov9650-2/m5602.c: [usb_m5602_probe:871] cam 
>>> cc788000
>>>    m560x/branches/m5602-ov9650-2/m5602.c: 
>>> [m5602_initialize_camera:253] m5602_initialize_camera
>>>    m560x/branches/m5602-ov9650-2/m5602.c: m5602_probe - m5602 WebCam 
>>> driver is now controlling video device 0
>>>    usbcore: registered new driver m5602
>>>    m560x/branches/m5602-ov9650-2/m5602.c: 0.1.0:M5602 Webcam Driver
>>>
>>> Daniel Fuentes
>>>
>>> Ilyes Gouta escribió:
>>>> Hi Fellow,
>>>>
>>>> I updated the m5602-ov9560-2 and livecam branches yesterday and I 
>>>> was wondering if you guys could give it a shot just to see if you 
>>>> can get something (using livecam, bayer stream only) from your sensors.
>>>>
>>>> Just to recall it a bit, you can check out your livecam from the 
>>>> following URL:
>>>>
>>>> https://livecam.svn.sourceforge.net/svnroot/livecam/trunk
>>>>
>>>> LiveCam has the ability to alter the pitch of the pictures on the 
>>>> fly. The option is available through Debug | Adjust Pitch, from the 
>>>> application's menu.
>>>>
>>>> Waiting for your reports.
>>>>
>>>> BR,
>>>> Ilyes Gouta.
>>>>
>>>> ------------------------------------------------------------------------- 
>>>>
>>>> SF.Net email is sponsored by: The Future of Linux Business White Paper
>>>> from Novell.  From the desktop to the data center, Linux is going
>>>> mainstream.  Let it simplify your IT future.
>>>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
>>>> _______________________________________________
>>>> M560x-driver-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
>>>>
>>>>   
>>>
>>>
>>>               __________________________________________________ 
>>> Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni 
>>> imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! 
>>> http://www.yahoo.com.ar/respuestas
>>>
>>
> 
> 
>     
> 
>     
>        
> __________________________________________________ Preguntá. Respondé. 
> Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en 
> Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas
> 

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
M560x-driver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel

Reply via email to