I would say, do not use global variables, do you need them to be global (outside function scope?)
On Thu, Mar 24, 2011 at 5:40 PM, Carsten Presser <[email protected]> wrote: > Hi, > > I tried to write my own small userspace comp: > http://tinypaste.com/e78dc > > Compiling with "sudo comp --install hal_mydro.comp" runs fine without > errors. > > However, when I load it with > "halcmd loadusr -W hal_mydro" (as the same user that is running emc2) > it crashes with a segfault. > > GDB-output is here: > http://tinypaste.com/6172a5 > > Any hints? > > Regards > Carsten > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
