Re: [libxml++] Segmentation fault calling libxml++ function



Wu Shiau Ning-A20800 wrote:

Hi,
I've been trying to run my program, and it core dumps on the call to parse_file. I a m using libxml++-1.0.3 on a Solaris 9 machine. Could you please tell me what is wrong ? I know its very little information, but I am wondering if there has been any problem for libxml to run on Solaris machine

Helping you on this without at least a backtrace is quite difficult.

However a common issue on Solaris is the static initialisations of libxml++.

Try adding a :

xmlpp::Document::Init init;

Somewhere in your main program.


Regards,

Christophe




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]