You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Justin Kirby <ju...@rochester.rr.com> on 2002/08/23 10:08:23 UTC

getting xalan-c to work.. need help

Having several problems. Have been using XercesC 1.6.0 for quite
sometime with great success. I now have need to use xsl, so XalanC was a
natural choice....

First I tried building the source (which I must say is *not* an
easy/intuitive experience)... either way, I am getting a segfault
running testXSLT (see below for a backtrace)


Second I tried the linux bin... I am getting the following:
./testXSLT: error while loading shared libraries:
/usr/local/lib/libxalan-c1_3.so: undefined symbol:
_6XMLUni.fgNullPointerException_Name



The backtrace of Xalan-C segfault:

(gdb) bt
#0  __pthread_mutex_lock (mutex=0x4d8b0417) at mutex.c:99
#1  0x406c6be8 in __libc_free (mem=0x4077a8e0) at malloc.c:3152
#2  0x08050e38 in std::__default_alloc_template<true,
0>::deallocate(void*, unsigned) ()
#3  0x4022af66 in std::_Deque_base<std::vector<unsigned short,
std::allocator<unsigned short> >, std::allocator<std::vector<unsigned
short, std::allocator<unsigned short> > >
>::_M_destroy_nodes(std::vector<unsigned short, std::allocator<unsigned
short> >**, std::vector<unsigned short, std::allocator<unsigned short>
>**) () from /usr/local/lib/libxalan-c1_3.so
#4  0x4022a14b in std::_Deque_base<std::vector<unsigned short,
std::allocator<unsigned short> >, std::allocator<std::vector<unsigned
short, std::allocator<unsigned short> > > >::~_Deque_base() () from
/usr/local/lib/libxalan-c1_3.so
#5  0x4012019d in initializeElementFlagsMap2(XalanArrayKeyMap<unsigned
short, FormatterToHTML::ElemDesc, less_no_case_ascii_wide_string>&) ()
   from /usr/local/lib/libxalan-c1_3.so
#6  0x40139a18 in
FormatterToHTML::initializeElementFlagsMap(XalanArrayKeyMap<unsigned
short, FormatterToHTML::ElemDesc, less_no_case_ascii_wide_string>&) ()
   from /usr/local/lib/libxalan-c1_3.so
#7  0x40152d33 in FormatterToHTML::initialize() ()
   from /usr/local/lib/libxalan-c1_3.so
#8  0x4015b6ac in XMLSupportInit::initialize() ()
   from /usr/local/lib/libxalan-c1_3.so
#9  0x4015b5bd in XMLSupportInit::XMLSupportInit() ()
   from /usr/local/lib/libxalan-c1_3.so
#10 0x401fd463 in XSLTInit::XSLTInit() () from
/usr/local/lib/libxalan-c1_3.so
#11 0x0804ddc0 in xsltMain(CmdLineParams const&) ()
#12 0x0804eb11 in main ()
#13 0x40662507 in __libc_start_main (main=0x804ea70 <main>, argc=1, 
    ubp_av=0xbffff604, init=0x804b674 <_init>, fini=0x8050fc0 <_fini>, 
    rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffff5fc)
    at ../sysdeps/generic/libc-start.c:129


-- 
JID: Zion@openaether.org

      ,/^^^^\,
     /       \\.
   /|
  /|  /''\___/
        /''\__/  |/
     /''\__/    |/
      \\      ./
       `\..../

http://www.openaether.org


Re: getting xalan-c to work.. need help

Posted by Justin Kirby <ju...@rochester.rr.com>.
On Fri, 2002-08-23 at 04:14, Eric Pailleau wrote:
> Justin Kirby a écrit:
> Hi, I'm using Xalan and on some building I need to use otion -XD.
> 
> Try option -XD to use  Xerces DOM instead of Xalan source tree.
> 
> In fact, I don't know why it works ;>). If it can help you ...
> 
> Try it and tell me the issue of the test .

Same with -XD on testXSLT  ... It just simply does not work. 
> 
> -- 
> --------------------------------------------------------------------
>     Eric PAILLEAU |  NUMLOG               |   Tel : +33(0)130791616
>     ep@numlog.fr  |  http://www.numlog.fr |   Fax : +33(0)130819286
> --------------------------------------------------------------------
> 
> 
-- 
JID: Zion@openaether.org

      ,/^^^^\,
     /       \\.
   /|
  /|  /''\___/
        /''\__/  |/
     /''\__/    |/
      \\      ./
       `\..../

http://www.openaether.org