Re: [xml] 2.9.4 SEGV in testsuite on Solaris 10



On Wed, Jun 08, 2016 at 06:11:52PM -0500, Albert Chin wrote:
[[ snip snip ]]
  (dbx) where
  t 1 (l 1) program terminated by signal SEGV (no mapping at the fault address) 0xfed32d50: strlen+0x0050:  
    ld       [%o2], %o1
Current function is internalSubsetDebug
  881       fprintf(SAXdebug, "SAX.internalSubset(%s,", name);
  (dbx) where                                                                  
  current thread: t 1
  [1] strlen(0x0, 0xfffffaf0, 0x0, 0x28, 0x0, 0x2b), at 0xfed32d50 
  [2] _ndoprnt(0x1f3a01, 0xffbff6f0, 0xffbfed69, 0x0, 0x0, 0x0), at 0xfed9f498 
  [3] _fprintf(0x22abf0, 0x1f39ec, 0x0, 0xa1010, 0x378c4, 0xfee423f0), at 0xfeda14c8 
=>[4] internalSubsetDebug(ctx = (nil), name = (nil), ExternalID = (nil), SystemID = (nil)), line 881 in 
"runtest.c"
  [5] htmlParseDocTypeDecl(ctxt = 0x23fdd0), line 3501 in "HTMLparser.c"
  [6] htmlParseContentInternal(ctxt = 0x23fdd0), line 4629 in "HTMLparser.c"
  [7] htmlParseDocument(ctxt = 0x23fdd0), line 4813 in "HTMLparser.c"
  [8] htmlSAXParseFile(filename = 0x22af90 "./test/HTML/758606.html", encoding = (nil), sax = 0x220efc, 
userData = (nil)), line 6418 in "HTMLparser.c"
  [9] saxParseTest(filename = 0x22af90 "./test/HTML/758606.html", result = 0x4136a0 
"result/HTML/758606.html.sax", err = (nil), options = 16842752), line 1733 in "runtest.c"
  [10] launchTests(tst = 0x220a84), line 4413 in "runtest.c"
  [11] runtest(i = 15), line 4464 in "runtest.c"
  [12] main(argc = 1, argv = 0xffbffb24), line 4504 in "runtest.c"

Any ideas?

I think this is related to printing name when name == NULL. This
causes a SEGV on Solaris 10.
  881       fprintf(SAXdebug, "SAX.internalSubset(%s,", name);

-- 
albert chin (china thewrittenword com)


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