We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpVideo Capture,  Movie Playback,  Vision Libraries › error message with opencv and processing in ubuntu
Page Index Toggle Pages: 1
error message with opencv and processing in ubuntu (Read 2426 times)
error message with opencv and processing in ubuntu
Mar 24th, 2009, 6:41pm
 
hi, i just installed opencv and am trying out the examples shown here: http://ubaa.net/shared/processing/opencv/

i'm running ubuntu intrepid 8.10 and when i run the examples in sketchbook here is the error i get:

this is the error for the 'movie' example:

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb7f76472, pid=6749, tid=2904116112
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode linux-x86)
# Problematic frame:
# C  [libc.so.6+0x71472]  cfree+0x52
#
# An error report file with more information is saved as:
# /home/yayu/processing/processing-1.0.3/hs_err_pid6749.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


can you tell me whats going on? please help!
Re: error message with opencv and processing in ub
Reply #1 - Mar 24th, 2009, 6:45pm
 
and when i try the example here;

http://createdigitalmotion.com/2009/02/06/processing-tutorials-getting-started-with-video-processing-via-opencv/

i get the following error:




Error while starting capture : device 0

OpenCV could not define source dimensions.

OpenCV ERROR: Null pointer (NULL array pointer is passed)
in function cvGetMat, cxarray.cpp(2780)
Terminating the application...
called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xabb10974, pid=7103, tid=2902412176
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode linux-x86)
# Problematic frame:
# C  [libselinux.so.1+0x12974]
#
# An error report file with more information is saved as:
# /home/yayu/processing/processing-1.0.3/hs_err_pid7103.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


what do you think is going on? please help!
Page Index Toggle Pages: 1