Re: [xml] Anyone else having problems with Sun Workshop?



On Tue, Jun 05, 2001 at 02:44:21PM -0400, Daniel Veillard wrote:
On Tue, Jun 05, 2001 at 01:16:03PM -0500, David Frascone wrote:
I have some code that works fine under linux, but dumps under solaris.

I narrowed it down to gcc.  If I build with gcc under solaris it works,
if I build with workshop, it does not.

I was under the impression that a library was a library . . . . 

Any ideas?

What version of the library ? How does it crashes ? where does it crashes ?
2.3.8.  I crashes in xmlParseFile, or xmlParseChunk.

Here is a dump:


pozzo[dfrascon]:~/work/xml$ dbx parseDictionary core
changes (topic)
The major new features of this release relative to 6.0 are:

o The dbx environment variable "cfront_demangling" has been removed. 
  The "-F" option to dbx (allow cfront-demangling) has also been removed.
  Use an earlier version of dbx to get cfront support.
o This release continues to support Fortran intrinsics on Intel, even
  though the Intel Fortran compiler was not shipped with WorkShop 6.
  The next dbx release will not support Fortran intrinsics on Intel.
  
See also `help changes60'


To suppress this message, add the following line to your .dbxrc file:

        dbxenv suppress_startup_message 5.0
Reading parseDictionary
core file header read successfully
Reading ld.so.1
Reading libz.so
Reading libdl.so.1
Reading libc.so.1
Reading libc_psr.so.1
Reading libxml2.so
Reading libm.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libmp.so.2
program terminated by signal SEGV (no mapping at the fault address)
Current function is startElement
 1067           ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc);
(/ws/on81-tools/SUNWspro/SC6.1/bin/../WS6U1/bin/sparcv9/dbx) where           
  [1] 0x22da0(0x35e8c, 0x349a0, 0x0, 0x0, 0x0, 0x0), at 0x22d9f
=>[2] startElement(ctx = 0x35e20, fullname = 0x22f78 "dictionary", atts = (nil)), line 1067 in "SAX.c"
  [3] xmlParseStartTag(ctxt = 0x35e20), line 6141 in "parser.c"
  [4] xmlParseElement(ctxt = 0x35e20), line 6498 in "parser.c"
  [5] xmlParseDocument(ctxt = 0x35e20), line 7278 in "parser.c"
  [6] xmlSAXParseFile(sax = (nil), filename = 0xffbef66a "dictionary.xml", recovery = 0), line 9443 in 
"parser.c"
  [7] xmlParseFile(filename = 0xffbef66a "dictionary.xml"), line 9485 in "parser.c"
  [8] parseDictionary(filename = 0xffbef66a "dictionary.xml"), line 308 in "parseDictionary.c"
  [9] main(argc = 2, argv = 0xffbef524), line 348 in "parseDictionary.c"
(/ws/on81-tools/SUNWspro/SC6.1/bin/../WS6U1/bin/sparcv9/dbx) 






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