Hi Nakamura,
Let me try to explain in more details:
To acquire frame from G750C gigabit ethernet camera, we must use a lib
(PvApi.so and we don't have the source code, only the header files). What we
are trying to do is: create a program with -lpvApi, -lcv -highgui, using also
the patches that you created to run it in cell.
In this way, when we run this program, we get some frames (752x480) and it
crashes with that SPE error 4.
Inside our program, we just:
- acquire a frame,
- convert it to an IplImage,
- and show in the screen (cvShowImage) - nothing more, no processing, nothing.
Interestingly, if we just link the PvApi.so to a program without any OpenCv
function, this error still happens (example: taking the camera program
capture and link it to the opencv cell lib, without any opencv function)
Any idea?
Best regards
Luciano Oliveira
On Thursday 24 April 2008 13:18:44 Takashi Nakamura wrote:
> Hi Luciano,
>
> > I am trying to work a Prosilicat gigabit ethernet camera with
> > opencv-cell. Now, everything works, except that when I try to acquire a
> > frame from the camera using any of the SPE, I get my system crash with a
> > error in spe_allocator.c:
>
> I tried some test with web camera, and tests work fine.
> I don't know about 'prosilica g750' and gigabit ether camera,
> so, I can't guess cause of your error.
>
> According to 'SPE_Runtime_Management_API_v2.2.pdf',
> Stopping of SPE with error code 'SPE_RUNTIME_FATAL' means
> fatal operating system errors is occured.
> And, according to sources of libspe2,
> stopinfo means 'errno' when stop with SPE_RUNTIME_FATAL.
>
> In other words, 'spe_runtime_fatal=4' means
> SPU is stopped with EINTR, but I don't know about it well.
>
>
> When I have more infomation, I may understand your problem.
> Would you check what API is broken, and please tell me more information
> about passed image, such as width, height, channel and step.
>
> Regards,
|