Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2020 21:10:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 245746] lang/apl: cresh on startup on 11.3-STABLE #0 r356413 amd64
Message-ID:  <bug-245746-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245746

            Bug ID: 245746
           Summary: lang/apl: cresh on startup on 11.3-STABLE #0 r356413
                    amd64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: saper@saper.info

I vaguely remember running GNU APL on this machine earlier, but both the
package and self-compiler port crashes on startup:

> gdb831 /usr/local/bin/apl
GNU gdb (GDB) 8.3.1 [GDB v8.3.1 for FreeBSD]
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm=
l>
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-portbld-freebsd11.3".
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/local/bin/apl...
(gdb) run
Starting program: /usr/local/bin/apl=20

Program received signal SIGSEGV, Segmentation fault.
0x0000000000409747 in std::__1::endl<char, std::__1::char_traits<char> >
(__os=3D...) at /usr/include/c++/v1/ostream:1002
1002        __os.put(__os.widen('\n'));
(gdb) bt
#0  0x0000000000409747 in std::__1::endl<char, std::__1::char_traits<char> >
(__os=3D...) at /usr/include/c++/v1/ostream:1002
#1  0x0000000000409727 in std::__1::basic_ostream<char,
std::__1::char_traits<char> >::operator<< (this=3D0x8d5300 <CERR>,=20
    __pf=3D0x409730 <std::__1::endl<char, std::__1::char_traits<char>
>(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)>)
    at /usr/include/c++/v1/ostream:196
#2  0x0000000000421247 in do_Assert (cond=3D0x6050c3 "get_ValueType() =3D=
=3D TV_FUN",
fun=3D0x604d3a "Token", file=3D0x604e22 "./Token.hh",=20
    line=3D76) at Assert.cc:46
#3  0x000000000041b5eb in Token::Token (this=3D0x7fffffffc980, tg=3D0, fun=
=3D0x8d5f38
<Quad_CR::_fun>) at ./Token.hh:76
#4  0x0000000000491f59 in Function::get_token (this=3D0x8d5f38 <Quad_CR::_f=
un>)
at ./Function.hh:163
#5  0x00000000005fae4a in Workspace::get_quad (ucs=3D..., len=3D@0x7fffffff=
c8ec: 3)
at Workspace.cc:348
#6  0x00000000005c2f5b in Tokenizer::tokenize_quad (this=3D0x7fffffffd198,
src=3D..., tos=3D...) at Tokenizer.cc:452
#7  0x00000000005c1c82 in Tokenizer::do_tokenize (this=3D0x7fffffffd198,
input=3D..., tos=3D...) at Tokenizer.cc:142
#8  0x00000000005c12df in Tokenizer::tokenize (this=3D0x7fffffffd198, input=
=3D...,
tos=3D...) at Tokenizer.cc:59
#9  0x00000000004c9fa4 in Parser::parse (this=3D0x7fffffffd260, input=3D...,
tos=3D...) at Parser.cc:50
#10 0x000000000048e10f in Executable::parse_body_line (this=3D0x95b8f8
<Macro::Z__LO_RANK_X5_B+48>, line=3D3, ucs_line=3D..., trace=3Dfalse,=20
    tolerant=3Dfalse, loc=3D0x617000 "Macro.cc:30", macro=3Dtrue) at
Executable.cc:144
#11 0x00000000005d1f7c in UserFunction::parse_body (this=3D0x95b8c8
<Macro::Z__LO_RANK_X5_B>, loc=3D0x617000 "Macro.cc:30",=20
    tolerant=3Dfalse, macro=3Dtrue) at UserFunction.cc:892
#12 0x00000000005d1749 in UserFunction::UserFunction (this=3D0x95b8c8
<Macro::Z__LO_RANK_X5_B>, txt=3D..., loc=3D0x617000 "Macro.cc:30",=20
    _creator=3D..., tolerant=3Dfalse, macro=3Dtrue) at UserFunction.cc:82
#13 0x00000000004bf13e in Macro::Macro (this=3D0x95b8c8 <Macro::Z__LO_RANK_=
X5_B>,
num=3DMacro::MAC_Z__LO_RANK_X5_B,=20
    text=3D0x6549a5 "Z=E2=86=90(LO Z__LO_RANK_X5_B) [X5] B;LB;rho_B;N_max;N=
;LZ;rho_Z\n
(X5 LB rho_B LZ rho_Z)=E2=86=90X5 =E2=97=8A B=E2=86=90(LZ,LB)=E2=8D=B4B =E2=
=97=8A N_max=E2=86=90LZ+N=E2=86=90=E2=8E=95IO =E2=97=8A Z=E2=86=90LZ=E2=8D=
=B40\nLOOP:
Z[N]=E2=86=90=E2=8A=82LO rho_B=E2=8D=B4B[N;] =E2=97=8A =E2=86=92(N_max>N=E2=
=86=90N+"...) at Macro.cc:30
#14 0x0000000000601926 in __cxx_global_var_init.69(void) () at ./Macro.def:=
187
#15 0x0000000000601c49 in _GLOBAL__sub_I_static_Objects.cc () at
./Workspace.hh:52
#16 0x0000000000602212 in __do_global_ctors_aux ()
#17 0x0000000000406c3e in _init ()
#18 0x00007fffffffdcc0 in ?? ()
#19 0x00000008008cb9ac in objlist_call_init (list=3D<optimized out>,
lockstate=3D<optimized out>)
    at /usr/src/libexec/rtld-elf/rtld.c:2697
#20 0x00000008008ca902 in _rtld (sp=3D<optimized out>, exit_proc=3D0x7fffff=
ffe760,
objp=3D0x7fffffffe768)
    at /usr/src/libexec/rtld-elf/rtld.c:769
#21 0x00000008008c8709 in rtld_start () at
/usr/src/libexec/rtld-elf/amd64/rtld_start.S:39
#22 0x0000000000000000 in ?? ()
(gdb)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245746-7788>