berkeley-abc/abc

abc: ./src/misc/vec/vecStr.h:356: Vec_StrEntry: Assertion `i >= 0 && i < p->nSize' failed.

oharboe opened this issue · 0 comments

unzip crash2.zip

run:

gdb --args abc -s -f abc.script

Output:

[deleted]
abc: ./src/misc/vec/vecStr.h:356: Vec_StrEntry: Assertion `i >= 0 && i < p->nSize' failed.

Program received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
Download failed: Invalid argument.  Continuing without source file ./nptl/./nptl/pthread_kill.c.                                                                              
44	./nptl/pthread_kill.c: No such file or directory.
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff78428e6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff78268b7 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff78267db in __assert_fail_base (fmt=0x7ffff79c5168 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", 
    assertion=assertion@entry=0x55555628dd31 "i >= 0 && i < p->nSize", file=file@entry=0x55555628dc79 "./src/misc/vec/vecStr.h", line=line@entry=356, 
    function=function@entry=0x5555562ee268 <__PRETTY_FUNCTION__.9> "Vec_StrEntry") at ./assert/assert.c:92
#6  0x00007ffff7839206 in __assert_fail (assertion=assertion@entry=0x55555628dd31 "i >= 0 && i < p->nSize", file=file@entry=0x55555628dc79 "./src/misc/vec/vecStr.h", 
    line=line@entry=356, function=function@entry=0x5555562ee268 <__PRETTY_FUNCTION__.9> "Vec_StrEntry") at ./assert/assert.c:101
#7  0x00005555559d92cb in Vec_StrEntry (i=<optimized out>, p=0x5555569b37c0) at ./src/misc/vec/vecStr.h:356
#8  Vec_StrGetI (pPos=0x7ffffffed164, vOut=0x5555569b37c0) at ./src/misc/vec/vecStr.h:990
#9  Abc_SclReadLibrary (p=0x555556964870, pPos=0x7ffffffed164, vOut=0x5555569b37c0) at src/map/scl/sclLibScl.c:279
#10 Abc_SclReadFromStr (vOut=vOut@entry=0x5555569b37c0) at src/map/scl/sclLibScl.c:409
#11 0x00005555559d37be in Abc_SclReadLiberty (pFileName=pFileName@entry=0x555556997040 "aes_rcon.lib", fVerbose=fVerbose@entry=1, fVeryVerbose=fVeryVerbose@entry=1, 
    dont_use=...) at src/map/scl/sclLiberty.c:1720
#12 0x00005555559bb2f4 in Scl_ReadLibraryFile (pAbc=pAbc@entry=0x555556855200, pFileName=0x555556997040 "aes_rcon.lib", fVerbose=fVerbose@entry=1, 
    fVeryVerbose=fVeryVerbose@entry=1, dont_use=...) at src/map/scl/scl.c:155
#13 0x00005555559bb959 in Scl_CommandReadLib (pAbc=0x555556855200, argc=12, argv=0x555556995f50) at src/map/scl/scl.c:282
#14 0x00005555557b047d in CmdCommandDispatch (pAbc=pAbc@entry=0x555556855200, pargc=pargc@entry=0x7ffffffed308, pargv=pargv@entry=0x7ffffffed310)
    at src/base/cmd/cmdUtils.c:154
#15 0x00005555557a990c in Cmd_CommandExecute (pAbc=pAbc@entry=0x555556855200, 
    sCommand=sCommand@entry=0x7ffffffed370 "read_lib -X \"*x1p*_ASAP7*\" -X \"*xp*_ASAP7*\" -X \"SDF*\" -X \"ICG*\"  -m -w \"aes_rcon.lib\" ;\n")
    at src/base/cmd/cmdApi.c:210
#16 0x00005555557a7723 in CmdCommandSource (pAbc=0x555556855200, argc=<optimized out>, argv=<optimized out>) at src/base/cmd/cmd.c:787
#17 0x00005555557b047d in CmdCommandDispatch (pAbc=pAbc@entry=0x555556855200, pargc=pargc@entry=0x7fffffff5418, pargv=pargv@entry=0x7fffffff5420)
    at src/base/cmd/cmdUtils.c:154
#18 0x00005555557a990c in Cmd_CommandExecute (pAbc=pAbc@entry=0x555556855200, sCommand=sCommand@entry=0x555556854e10 "source abc.script") at src/base/cmd/cmdApi.c:210
#19 0x00005555557f1431 in Abc_RealMain (argc=4, argv=<optimized out>) at src/base/main/mainReal.c:330
#20 0x00005555557eea97 in main (argc=<optimized out>, argv=<optimized out>) at src/base/main/main.c:11
(gdb)