Try running Pd with gdb and you'll get a lot more information on the crash. Search puredata.info for "gdb" for howto.
the "backtrace" command in gdb is a good place to start, it'll show you in which function the crash is occuring.
.hc
On Oct 13, 2012, at 5:27 PM, Jaime Oliver wrote:
Hi all, IOhannes,
I am porting my systems from fedora 11 to ubuntu 12.04, but I am having some trouble with pix_mano. In Ubuntu 12.04 I get:
Segmentation fault (core dumped)
and Pd crashes
I have tested it in two different computers and get the same results. The exact same code and versions of Pd ( I have tried both pd-0.42-5 and pd-0.43-4) And I am using GEM: ver: 0.93.git 6d584fa
The only thing that is different between ubuntu and fedora is the camera driver, but this is stable for other applications, and as far as I can understand a segmentation fault refers to a problem in memory allocation?
IOhannes, I was trying to debug this and found that you had introduced some pimpl idiom stuff I don't know very well such as:
if(m_pimpl->p_enteringPoint->size < i) { delete m_pimpl->p_enteringPoint; m_pimpl->p_enteringPoint=NULL; } if(!m_pimpl->p_enteringPoint) m_pimpl->p_enteringPoint=new PIMPL::enteringPoint(i);
Do you think these might have anything to do with these segmentation fault crashes?
best,
J
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list