[PD] [GEM] pix_mano and latest linux kernels

Jaime Oliver jaime.oliver2 at gmail.com
Sat Oct 13 23:27:13 CEST 2012


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



More information about the Pd-list mailing list