Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 607 characters in body
Source Link
#0  0x0006de50 in PyErr_Format ()
#1  0x70952ee0 in v412_read_frame () from /usr/lib/python2.7/dist-packages/pygame/_camera.so
#2  0x7094ede0 in camera_get_image () from /usr/lib/python2.7/dist-packages/pygame/_camera.so
#3  0x0008360c in PyEval_EvalFrameEx ()
#4  0x00081ca4 in PyEval_EvalCodeEx ()
#5  0x000c37c4 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)  
 
                                                                                                  

I found a new function of gdb. I type info threads and I get...

 Id   Target ID         Frame
 2    Thread 0x72df9460 (LWP 601) "python2.7" 0x76e3ab80 in poll ()at ../sysdeps/unix/syscall-template.S:81
*1    Thread 0x76ff6000 (LWP 600) "python2.7" 0x0006de50 in PyErr_Format ()

then if I type list I get this

1        ../sysdeps/unix/syscall-template.S: No such file or directory

I believe that the asterisk means that is the thread that ended the program, but I am not certain. Does anybody know what to do from here? Or have any ideas of how to fix this or work around it??

#0  0x0006de50 in PyErr_Format ()
#1  0x70952ee0 in v412_read_frame () from /usr/lib/python2.7/dist-packages/pygame/_camera.so
#2  0x7094ede0 in camera_get_image () from /usr/lib/python2.7/dist-packages/pygame/_camera.so
#3  0x0008360c in PyEval_EvalFrameEx ()
#4  0x00081ca4 in PyEval_EvalCodeEx ()
#5  0x000c37c4 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)  
 
                                                                                                                                                       
#0  0x0006de50 in PyErr_Format ()
#1  0x70952ee0 in v412_read_frame () from /usr/lib/python2.7/dist-packages/pygame/_camera.so
#2  0x7094ede0 in camera_get_image () from /usr/lib/python2.7/dist-packages/pygame/_camera.so
#3  0x0008360c in PyEval_EvalFrameEx ()
#4  0x00081ca4 in PyEval_EvalCodeEx ()
#5  0x000c37c4 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)  

I found a new function of gdb. I type info threads and I get...

 Id   Target ID         Frame
 2    Thread 0x72df9460 (LWP 601) "python2.7" 0x76e3ab80 in poll ()at ../sysdeps/unix/syscall-template.S:81
*1    Thread 0x76ff6000 (LWP 600) "python2.7" 0x0006de50 in PyErr_Format ()

then if I type list I get this

1        ../sysdeps/unix/syscall-template.S: No such file or directory

I believe that the asterisk means that is the thread that ended the program, but I am not certain. Does anybody know what to do from here? Or have any ideas of how to fix this or work around it??

added 551 characters in body
Source Link
(gdb) bt
#0 0x00087024 in PyEval_EvalFrameEx ()
#1 0x000840cc in PyEval_EvalFrameEx ()
#2 0x000a4520 in ?? ()  

If I take the photo using pygame and do a backtrace, I get a segmentation fault with slightly more information

#0  0x0006de50 in PyErr_Format ()
#1  0x70952ee0 in v412_read_frame () from /usr/lib/python2.7/dist-packages/pygame/_camera.so
#2  0x7094ede0 in camera_get_image () from /usr/lib/python2.7/dist-packages/pygame/_camera.so
#3  0x0008360c in PyEval_EvalFrameEx ()
#4  0x00081ca4 in PyEval_EvalCodeEx ()
#5  0x000c37c4 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)  

                                                                                                                                                       
(gdb) bt
#0 0x00087024 in PyEval_EvalFrameEx ()
#1 0x000840cc in PyEval_EvalFrameEx ()
#2 0x000a4520 in ?? ()  

                                                                                                                                                        
(gdb) bt
#0 0x00087024 in PyEval_EvalFrameEx ()
#1 0x000840cc in PyEval_EvalFrameEx ()
#2 0x000a4520 in ?? ()  

If I take the photo using pygame and do a backtrace, I get a segmentation fault with slightly more information

#0  0x0006de50 in PyErr_Format ()
#1  0x70952ee0 in v412_read_frame () from /usr/lib/python2.7/dist-packages/pygame/_camera.so
#2  0x7094ede0 in camera_get_image () from /usr/lib/python2.7/dist-packages/pygame/_camera.so
#3  0x0008360c in PyEval_EvalFrameEx ()
#4  0x00081ca4 in PyEval_EvalCodeEx ()
#5  0x000c37c4 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)  

                                                                                                                                                       
added 277 characters in body
Source Link
(gdb) bt
#0  0x000835f4 in PyEval_EvalFrameEx ()
#1  0x00081ca4 in PyEval_EvalCodeEx ()
#2  0x000c37c4 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)     
 

Today I found that if all that I do is import SimpleCV, image and camera, then open a camera and enter an infinite loop, I still get a segmentation fault

(gdb) bt
#0 0x00087024 in PyEval_EvalFrameEx ()
#1 0x000840cc in PyEval_EvalFrameEx ()
#2 0x000a4520 in ?? ()   

                                                                                                                                                        
(gdb) bt
#0  0x000835f4 in PyEval_EvalFrameEx ()
#1  0x00081ca4 in PyEval_EvalCodeEx ()
#2  0x000c37c4 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)     
 
                                                                                                                                                                       
(gdb) bt
#0  0x000835f4 in PyEval_EvalFrameEx ()
#1  0x00081ca4 in PyEval_EvalCodeEx ()
#2  0x000c37c4 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)     

Today I found that if all that I do is import SimpleCV, image and camera, then open a camera and enter an infinite loop, I still get a segmentation fault

(gdb) bt
#0 0x00087024 in PyEval_EvalFrameEx ()
#1 0x000840cc in PyEval_EvalFrameEx ()
#2 0x000a4520 in ?? ()   

                                                                                                                                                        
deleted 2063 characters in body
Source Link
Loading
added 2593 characters in body
Source Link
Loading
added 68 characters in body
Source Link
Loading
added 82 characters in body
Source Link
Loading
Source Link
Loading