pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54105: openjade crash building pkgsrc/doc/guide



>Number:         54105
>Category:       pkg
>Synopsis:       openjade crash building pkgsrc/doc/guide
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 08 10:10:00 +0000 2019
>Originator:     Chavdar Ivanov
>Release:        Both NetBSD and pkgsrc are current as of 06/04/2019
>Organization:
CI4 Consulting Ltd
>Environment:
> uname -a
NetBSD ymir 8.99.37 NetBSD 8.99.37 (GENERIC) #0: Sat Apr  6 14:08:23 BST 2019  sysbuild@ymir:/home/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
When building the pkgsrc guide as of 08/04/2019 I get:
....
-----> Building pdf output
[Checking tools for typesetting...OK]
env SP_ENCODING=iso-8859-1  SGML_CATALOG_FILES= openjade -d /usr/pkgsrc/doc/guide/work/pkgsrc-guide-20190408/share/default.dsl -c /usr/pkgsrc/doc/guide/work/pkgsrc-guide-20190408/share/catalog -c /usr/pkgsrc/doc/guide/work/pkgsrc-guide-20190408/../htdocs/share/xml/catalog -c /usr/pkg/share/sgml/catalog -c /usr/pkg/share/sgml/docbook/dsssl/modular/catalog -c /usr/pkg/share/sgml/docbook/4.5/catalog -i sgml.includes  -V %generate-article-toc% -t tex  -i output.print -i output.print.tex -i output.print.niceheaders -o pkgsrc.tex /usr/pkg/share/sgml/docbook/dsssl/modular/dtds/decls/xml.dcl pkgsrc.xml
<jemalloc>: /home/sysbuild/src/external/bsd/jemalloc/lib/../dist/src/arena.c:271: Failed assertion: "bitmap_get(slab_data->bitmap, &bin_info->bitmap_info, regind)"
*** Signal 6

Stop.
make: stopped in /usr/pkgsrc/doc/guide/work/pkgsrc-guide-20190408

....

openjade is build with debug. The trace is as follows:
...
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/pkg/bin/openjade...done.
[New process 1]
Core was generated by `openjade'.
Program terminated with signal SIGABRT, Aborted.
#0  0x0000713d91d999ca in _lwp_kill () from /usr/lib/libc.so.12
(gdb) #0  0x0000713d91d999ca in _lwp_kill () from /usr/lib/libc.so.12
#1  0x0000713d91d99679 in abort () from /usr/lib/libc.so.12
#2  0x0000713d91d22f58 in ?? () from /usr/lib/libc.so.12
#3  0x0000713d91cbd433 in je_tcache_bin_flush_small () from /usr/lib/libc.so.12
#4  0x0000713d91d2e109 in ?? () from /usr/lib/libc.so.12
#5  0x0000713d91d2e48f in ?? () from /usr/lib/libc.so.12
#6  0x0000713d91d32d05 in free () from /usr/lib/libc.so.12
#7  0x0000713d9413bfce in Collector::collect() ()
   from /usr/pkg/lib/libostyle.so.0
#8  0x0000713d9413c012 in Collector::makeSpace() ()
   from /usr/pkg/lib/libostyle.so.0
#9  0x0000713d9417a8c0 in OpenJade_DSSSL::SchemeParser::parseSelfEvaluating(unsigned int, OpenJade_DSSSL::ELObj*&, OpenJade_DSSSL::SchemeParser::Token&) ()
   from /usr/pkg/lib/libostyle.so.0
#10 0x0000713d9417baed in OpenJade_DSSSL::SchemeParser::parseExpression(unsigned int, OpenSP::Owner<OpenJade_DSSSL::Expression>&, OpenJade_DSSSL::Identifier::SyntacticKey&, OpenJade_DSSSL::SchemeParser::Token&) ()
   from /usr/pkg/lib/libostyle.so.0
#11 0x0000713d9417bcb3 in OpenJade_DSSSL::SchemeParser::parseExpression(unsigned int, OpenSP::Owner<OpenJade_DSSSL::Expression>&, OpenJade_DSSSL::Identifier::SyntacticKey&, OpenJade_DSSSL::SchemeParser::Token&) ()
   from /usr/pkg/lib/libostyle.so.0
#12 0x0000713d9417bcb3 in OpenJade_DSSSL::SchemeParser::parseExpression(unsigned int, OpenSP::Owner<OpenJade_DSSSL::Expression>&, OpenJade_DSSSL::Identifier::SyntacticKey&, OpenJade_DSSSL::SchemeParser::Token&) ()
   from /usr/pkg/lib/libostyle.so.0
#13 0x0000713d9417fcbc in OpenJade_DSSSL::SchemeParser::parseCond(OpenSP::Owner<OpenJade_DSSSL::Expression>&, bool) () from /usr/pkg/lib/libostyle.so.0
#14 0x0000713d9417ff3f in OpenJade_DSSSL::SchemeParser::parseCond(OpenSP::Owner<OpenJade_DSSSL::Expression>&, bool) () from /usr/pkg/lib/libostyle.so.0
#15 0x0000713d9417ff3f in OpenJade_DSSSL::SchemeParser::parseCond(OpenSP::Owner<OpenJade_DSSSL::Expression>&, bool) () from /usr/pkg/lib/libostyle.so.0
#16 0x0000713d9417ff3f in OpenJade_DSSSL::SchemeParser::parseCond(OpenSP::Owner<OpenJade_DSSSL::Expression>&, bool) () from /usr/pkg/lib/libostyle.so.0
#17 0x0000713d9417ff3f in OpenJade_DSSSL::SchemeParser::parseCond(OpenSP::Owner<OpenJade_DSSSL::Expression>&, bool) () from /usr/pkg/lib/libostyle.so.0
#18 0x0000713d9417bfe9 in OpenJade_DSSSL::SchemeParser::parseExpression(unsigned int, OpenSP::Owner<OpenJade_DSSSL::Expression>&, OpenJade_DSSSL::Identifier::SyntacticKey&, OpenJade_DSSSL::SchemeParser::Token&) ()
   from /usr/pkg/lib/libostyle.so.0
#19 0x0000713d9417ec74 in OpenJade_DSSSL::SchemeParser::parseIf(OpenSP::Owner<OpenJade_DSSSL::Expression>&) () from /usr/pkg/lib/libostyle.so.0
#20 0x0000713d9417bffb in OpenJade_DSSSL::SchemeParser::parseExpression(unsigned int, OpenSP::Owner<OpenJade_DSSSL::Expression>&, OpenJade_DSSSL::Identifier::SyntacticKey&, OpenJade_DSSSL::SchemeParser::Token&) ()
   from /usr/pkg/lib/libostyle.so.0
#21 0x0000713d9417eca6 in OpenJade_DSSSL::SchemeParser::parseIf(OpenSP::Owner<OpenJade_DSSSL::Expression>&) () from /usr/pkg/lib/libostyle.so.0
#22 0x0000713d9417bffb in OpenJade_DSSSL::SchemeParser::parseExpression(unsigned int, OpenSP::Owner<OpenJade_DSSSL::Expression>&, OpenJade_DSSSL::Identifier::SyntacticKey&, OpenJade_DSSSL::SchemeParser::Token&) ()
   from /usr/pkg/lib/libostyle.so.0
#23 0x0000713d9417f35a in OpenJade_DSSSL::SchemeParser::parseBegin(OpenSP::Owner<OpenJade_DSSSL::Expression>&) () from /usr/pkg/lib/libostyle.so.0
#24 0x0000713d941813a7 in OpenJade_DSSSL::SchemeParser::doDefine() ()
   from /usr/pkg/lib/libostyle.so.0
#25 0x0000713d9418266f in OpenJade_DSSSL::SchemeParser::parse() ()
   from /usr/pkg/lib/libostyle.so.0
#26 0x0000713d9418764c in OpenJade_DSSSL::StyleEngine::parseSpec(OpenSP::SgmlParser&, OpenSP::CharsetInfo const&, OpenSP::String<unsigned int> const&, OpenSP::Messenger&) () from /usr/pkg/lib/libostyle.so.0
#27 0x0000713d9413cdae in OpenJade_DSSSL::DssslApp::processGrove() ()
   from /usr/pkg/lib/libostyle.so.0
#28 0x0000713d93c52e2e in OpenSP::GroveApp::generateEvents(OpenSP::ErrorCountEventHandler*) () from /usr/pkg/lib/libospgrove.so.0
#29 0x0000713d9413dc5e in OpenJade_DSSSL::DssslApp::processSysid(OpenSP::String<unsigned int> const&) () from /usr/pkg/lib/libostyle.so.0
#30 0x0000713d934ca9e1 in OpenSP::EntityApp::processArguments(int, char**) ()
   from /usr/pkg/lib/libosp.so.5
#31 0x0000713d934c0eb3 in OpenSP::CmdLineApp::run(int, char**) ()
   from /usr/pkg/lib/libosp.so.5
#32 0x000000000044f9b8 in main (argc=29, argv=0x7f7fff06c2c8) at jade.cxx:192
(gdb) quit
....

I have built on the same machine/setup pkgsrc-guide-20190316.tgz - obviously with -current from that moment. 
>How-To-Repeat:
Try to build pkgsrc/doc/guide on very recent -current, after the jemalloc changes. 
>Fix:
N/A



Home | Main Index | Thread Index | Old Index