Ticket UUID: | d2a3c5f80bf47362e2a9ab02152cceadc916ba24 | |||
Title: | test lseq hangs with -Os | |||
Type: | Bug | Version: | 9.0.1 | |
Submitter: | anonymous | Created on: | 2024-12-16 16:31:49 | |
Subsystem: | 34. tcltest Package | Assigned To: | sebres | |
Priority: | 5 Medium | Severity: | Minor | |
Status: | Closed | Last Modified: | 2024-12-26 13:53:28 | |
Resolution: | Fixed | Closed By: | sebres | |
Closed on: | 2024-12-26 13:53:28 | |||
Description: |
tcl: 9.0.1 hardware : purism librem5 r4 aarch64 kernel 6.6.0-1-librem5 OS : pureos 10 byzantium gcc : (Debian 10.2.1-6) 10.2.1 20210110 CFLAGS : " -Os " during make -k test test lseq hangs seemingly forever (waited 6 days, no luck) without -Os it succeeds instantly. | |||
User Comments: |
sebres added on 2024-12-26 13:53:28:
Thx! anonymous added on 2024-12-25 04:17:43: failed tests: 0 checkout: e133351aff81bdd1bc... anonymous added on 2024-12-25 01:54:48: it should have been project-code: 1ec9da4c469c29f4717e2a967fe6b916d9c8c06e checkout: e2515f05dee875d69dcada9b48f927ca5cac2217 2024-12-21 22:21:01 UTC i'll try with an updated build next sebres added on 2024-12-23 22:42:08: I meant this revision - [e133351aff881bdd]. sebres added on 2024-12-23 22:39:29:
Did you update the branch?.. Regarding lseq-4.21.2, no idea what it could be. anonymous added on 2024-12-23 21:50:12: you're correct I misread the output of the tests -- it didn't hang and appeared to have a correct looking output but i didn't read closely enough apparently: all.tcl total 66785 passed 61130 skipped 5644 failed 11 files with failing tests; httpProxy.test lseq.test test files exiting with errors: binary.test lseq-1.27 consistence, double always remains double FAILED reslut was {} {} {} {} 1+50 1e+50 result should have been 1e+50 1e+50 1e+50 1e+50 1e+50 1e+50 lseq-4.21.2 corner case: expected inf failed there's some text below that sebres added on 2024-12-23 18:41:48:
All tests of lseq.test? Because yesterday Paul confirmed over tclcore mailing list that it doesn't hang anymore, but this test still fails (on Debian for Arm):
anonymous added on 2024-12-22 17:56:31: looks like tests pass now. sebres added on 2024-12-21 19:52:02:
There is a new branch sebres-arith-series-rework what would hopefully fix this issue too. sebres added on 2024-12-20 16:40:23: The UB is UB and that says everything... sometimes compilers behaves as the developer expects, sometimes - not. What you are calling trivial, is basically not so - the test speculates (quite rightly) that the series are small and therefore the cycles of UpdateStringOfArithSeries will be short and it runs fast. But everything changes if it gets affected by the UB (for whatever reason it happens, even by a compiler "bug" on some circumstances). Anyway, what you see is an after-effect and it is caused by failed conversion for len of doubles start - end and/or the double step. The evidence for that is there - the series with given step/len like in test [lseq {1e50+0} {1e50+1} 1] (with given step), as well as such with count argument don't cause a hang. However as already wrote, besides this issue, I found many others, inclusive SF, panics (because of not correct type behaviour in callbacks), and possible numeric instability. And the number of them grows with almost every new test, I provide. anonymous added on 2024-12-20 14:55:03: > can take months to estimate the bytelength. but then the question is: why does it do it for this test on aarch64 but not x86_64? And why does the UB manifest itself during something as trivial as lseq testing? sebres added on 2024-12-19 22:09:59: There are several UBs in handling around arith-series length calculation... For instance if large doubles will be converted to wide-integer, it may become truncated, but results in unexpected large size, so an UpdateStringOfArithSeries may enter a cycle to calculate bytelengh for wrong number of elements, what by order of magnitude like 9223372036854775808 can take months to estimate the bytelength. By the way: inside the cycle of "pass 1: estimate space" the bytlen is not checked whether it is already larger than max-possible string, so the estimation cycle may continue up to the end (of enormous series). I'll fix this and similar UBs and extend it with more tests. However trying to find all corner cases I found another issue, what does a panic with "UpdateStringProc for type 'arithseries' failed to create a valid string rep", that also may cause sporadic segfault, where an in-place lrange from arith-series like above took place previously. WiP. anonymous added on 2024-12-18 22:27:58: it does exit from generic/tclStrToD.c it does seem to increase bytlen in UpdateStringOfArithSeries generic/tclArithSeries.c quite high though pointsman added on 2024-12-18 21:57:18: Happens that I have the exact same gcc compiler (gcc (Debian 10.2.1-6) 10.2.1 20210110), though on a debian 11.11 box. Build current trunk with -Os and did not see the reported hang. Does not seems to be a gcc version specific idiosyncrasy. anonymous added on 2024-12-18 21:30:28: sure looks like the loop at L3872 of generic/tclStrToD.c is not exited from anonymous added on 2024-12-18 21:15:52: [ oh and needless to say -Os -g *does* still hang ] anonymous added on 2024-12-18 21:14:18: it seems to be in some kind of loop going between a bunch of different things. i took a couple of stack traces Reading symbols from [32m/usr/lib/debug/.build-id/d8/3acfa0cca35bafd0b0777dec2e5e6187836279.debug[m... [34m0x0000ffffa8c76c50[m in [33mTclBN_mp_copy[m ([m [m[36ma=a@entry[m=0xffffe5366260, [m [m[36mb=b@entry[m=0xffffe5366078)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_copy.c[m:46 46 [31m}[m [?2004h(gdb) c[Kbt [?2004l #0 [34m0x0000ffffa8c76c50[m in [33mTclBN_mp_copy[m ([m [m[36ma=a@entry[m=0xffffe5366260, [m [m[36mb=b@entry[m=0xffffe5366078)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_copy.c[m:46 #1 [34m0x0000ffffa8c7788c[m in [33mTclBN_mp_init_copy[m ([m [m[36ma=a@entry[m=0xffffe5366078, [m [m[36mb=b@entry[m=0xffffe5366260)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_init_copy.c[m:15 #2 [34m0x0000ffffa8c76db0[m in [33mTclBN_mp_div[m ([m [m[36ma=a@entry[m=0xffffe5366218, [m [m[36mb=b@entry[m=0xffffe5366260, [m [m[36mc=c@entry[m=0xffffe5366278, [m [m[36md=d@entry[m=0xffffe5366218)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_div.c[m:122 #3 [34m0x0000ffffa8c3b554[m in [33mShorteningBignumConversion[m ([36mendPtr[m=0xffffe5366318, [36mdecpt[m=0xffffe5366310, [m [m[36milim1[m=<optimized out>, [36milim[m=<optimized out>, [m [m[36mlen[m=<optimized out>, [36mk[m=<optimized out>, [m [m[36ms5[m=50, [36ms2[m=<optimized out>, [36mm2minus[m=63, [m [m[36mm2plus[m=63, [36mb2[m=<optimized out>, [m [m[36mbw[m=<optimized out>, [36mdPtr[m=<synthetic pointer>)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:3976 [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l #4 [33mTclDoubleDigits[m ([36mdv[m=1.0000000000000001e+50, [m [m[36mndigits[m=<optimized out>, [36mndigits@entry[m=-1, [m [m[36mflags=flags@entry[m=4, [m [m[36mdecpt=decpt@entry[m=0xffffe5366310, [m [m[36msign=sign@entry[m=0xffffe5366314, [m [m[36mendPtr=endPtr@entry[m=0xffffe5366318)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:4539 #5 [34m0x0000ffffa8c47c00[m in [33mTcl_PrintDouble[m ([m [m[36mdummy3082=dummy3082@entry[m=0x0, [m [m[36mvalue[m=<optimized out>, [m [m[36mdst=dst@entry[m=0xffffe5366390 "")[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclUtil.c[m:3123 #6 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #7 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([m [m[36mobjPtr=objPtr@entry[m=0xaaab1990c020, [m [m[36mlengthPtr=lengthPtr@entry[m=0xffffe5366440)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #8 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([m [m[36margc[m=<optimized out>, [36margc@entry[m=1, [m [m[36margv=argv@entry[m=0xffffe53665f8, [m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m[36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <Tcl_AppInit>, [36minterp[m=0xaaab198bb100)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #9 [34m0x0000aaaade630a5c[m in [33mmain[m ([m [m[36margc[m=<optimized out>, [36margv[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/unix/tclAppInit.c[m:94 [?2004h(gdb) c [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [34m0x0000ffffa8c3e82c[m in [33mTclpAlloc[m ([m [m[36mreqSize=reqSize@entry[m=32)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclThreadAlloc.c[m:335 335 [01;34mif[m [31m([mcachePtr[31m->[mbuckets[31m[[mbucket[31m].[mnumFree [31m||[m [01mGetBlocks[m[31m([mcachePtr[31m,[m bucket[31m))[m [31m{[m [?2004h[?2004l [?2004h(gdb) bt [?2004l #0 [34m0x0000ffffa8c3e82c[m in [33mTclpAlloc[m ([m [m[36mreqSize=reqSize@entry[m=32)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclThreadAlloc.c[m:335 #1 [34m0x0000ffffa8b7ea30[m in [33mTcl_AttemptAlloc[m ([m [m[36msize=size@entry[m=32)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclCkalloc.c[m:1084 #2 [34m0x0000ffffa8c77830[m in [33mTclBN_mp_init[m ([m [m[36ma=a@entry[m=0xffffe5366278)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_init.c[m:10 #3 [34m0x0000ffffa8c3b510[m in [33mShorteningBignumConversion[m ([36mendPtr[m=0xffffe5366318, [36mdecpt[m=0xffffe5366310, [m [m[36milim1[m=-1, [36milim[m=<optimized out>, [m [m[36mlen[m=<optimized out>, [36mk[m=<optimized out>, [m [m[36ms5[m=50, [36ms2[m=<optimized out>, [36mm2minus[m=63, [m [m[36mm2plus[m=63, [36mb2[m=<optimized out>, [m [m[36mbw[m=<optimized out>, [36mdPtr[m=<synthetic pointer>)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:3972 #4 [33mTclDoubleDigits[m ([36mdv[m=1.0000000000000001e+50, [m [m[36mndigits[m=<optimized out>, [36mndigits@entry[m=-1, [m [m[36mflags=flags@entry[m=4, [m [m[36mdecpt=decpt@entry[m=0xffffe5366310, [m [m[36msign=sign@entry[m=0xffffe5366314, [m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m[36mendPtr=endPtr@entry[m=0xffffe5366318)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:4539 #5 [34m0x0000ffffa8c47c00[m in [33mTcl_PrintDouble[m ([m [m[36mdummy3082=dummy3082@entry[m=0x0, [m [m[36mvalue[m=<optimized out>, [m [m[36mdst=dst@entry[m=0xffffe5366390 "")[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclUtil.c[m:3123 #6 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #7 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([m [m[36mobjPtr=objPtr@entry[m=0xaaab1990c020, [m [m[36mlengthPtr=lengthPtr@entry[m=0xffffe5366440)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #8 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([m [m[36margc[m=<optimized out>, [36margc@entry[m=1, [m [m[36margv=argv@entry[m=0xffffe53665f8, [m [m[36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <Tcl_AppInit>, [36minterp[m=0xaaab198bb100)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #9 [34m0x0000aaaade630a5c[m in [33mmain[m ([m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m[36margc[m=<optimized out>, [36margv[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/unix/tclAppInit.c[m:94 [?2004h(gdb) [K(gdb) [K(gdb) kbt[1Pc [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [34m0x0000ffffa8c3eb80[m in [33mTclpRealloc[m ([m [m[36mptr[m=0xaaab19989bb0, [36mreqSize=reqSize@entry[m=24)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclThreadAlloc.c[m:459 459 [01;34mif[m [31m([msize [31m>[m min [31m&&[m size [31m<=[m bucketInfo[31m[[mbucket[31m].[mblockSize[31m)[m [31m{[m [?2004h[?2004l [?2004h(gdb) bt [?2004l #0 [34m0x0000ffffa8c3eb80[m in [33mTclpRealloc[m ([m [m[36mptr[m=0xaaab19989bb0, [36mreqSize=reqSize@entry[m=24)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclThreadAlloc.c[m:459 #1 [34m0x0000ffffa8b7ead8[m in [33mTcl_AttemptRealloc[m ([m [m[36mptr[m=<optimized out>, [36msize=size@entry[m=24)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclCkalloc.c[m:1153 #2 [34m0x0000ffffa8c777dc[m in [33mTclBN_mp_grow[m ([m [m[36ma=a@entry[m=0xffffe5366060, [36msize[m=3)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_grow.c[m:24 #3 [34m0x0000ffffa8c786f8[m in [33mTclBN_mp_mul_2d[m ([m [m[36ma=a@entry[m=0xffffe5366060, [36mb=b@entry[m=2, [m [m[36mc=c@entry[m=0xffffe5366060)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_mul_2d.c[m:24 #4 [34m0x0000ffffa8c76e04[m in [33mTclBN_mp_div[m ([m [m[36ma=a@entry[m=0xffffe5366218, [m [m[36mb=b@entry[m=0xffffe5366260, [m [m[36mc=c@entry[m=0xffffe5366278, [m [m[36md=d@entry[m=0xffffe5366218)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_div.c[m:132 #5 [34m0x0000ffffa8c3b554[m in [33mShorteningBignumConversion[m ([36mendPtr[m=0xffffe5366318, [36mdecpt[m=0xffffe5366310, [m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m[36milim1[m=<optimized out>, [36milim[m=<optimized out>, [m [m[36mlen[m=<optimized out>, [36mk[m=<optimized out>, [m [m[36ms5[m=50, [36ms2[m=<optimized out>, [36mm2minus[m=63, [m [m[36mm2plus[m=63, [36mb2[m=<optimized out>, [m [m[36mbw[m=<optimized out>, [36mdPtr[m=<synthetic pointer>)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:3976 #6 [33mTclDoubleDigits[m ([36mdv[m=1.0000000000000001e+50, [m [m[36mndigits[m=<optimized out>, [36mndigits@entry[m=-1, [m [m[36mflags=flags@entry[m=4, [m [m[36mdecpt=decpt@entry[m=0xffffe5366310, [m [m[36msign=sign@entry[m=0xffffe5366314, [m [m[36mendPtr=endPtr@entry[m=0xffffe5366318)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:4539 #7 [34m0x0000ffffa8c47c00[m in [33mTcl_PrintDouble[m ([m [m[36mdummy3082=dummy3082@entry[m=0x0, [m [m[36mvalue[m=<optimized out>, [m [m[36mdst=dst@entry[m=0xffffe5366390 "")[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclUtil.c[m:3123 #8 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #9 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m[36mobjPtr=objPtr@entry[m=0xaaab1990c020, [m [m[36mlengthPtr=lengthPtr@entry[m=0xffffe5366440)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #10 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([m [m[36margc[m=<optimized out>, [36margc@entry[m=1, [m [m[36margv=argv@entry[m=0xffffe53665f8, [m [m[36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <Tcl_AppInit>, [36minterp[m=0xaaab198bb100)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #11 [34m0x0000aaaade630a5c[m in [33mmain[m ([m [m[36margc[m=<optimized out>, [36margv[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/unix/tclAppInit.c[m:94 [?2004h(gdb) c [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [33m__memset_generic[m ()[m [m at [32m../sysdeps/aarch64/memset.S[m:65 65 ../sysdeps/aarch64/memset.S: No such file or directory. [?2004h[?2004l [?2004h(gdb) bt [?2004l #0 [33m__memset_generic[m ()[m [m at [32m../sysdeps/aarch64/memset.S[m:65 #1 [34m0x0000ffffa8c769e0[m in [33mTclBN_mp_clear[m ([m [m[36ma=a@entry[m=0xffffe53660a8)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_clear.c[m:12 #2 [34m0x0000ffffa8c76f40[m in [33mTclBN_mp_div[m ([m [m[36ma=a@entry[m=0xffffe5366218, [m [m[36mb=b@entry[m=0xffffe5366260, [m [m[36mc=c@entry[m=0xffffe5366278, [m [m[36md=d@entry[m=0xffffe5366218)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_div.c[m:240 #3 [34m0x0000ffffa8c3b554[m in [33mShorteningBignumConversion[m ([36mendPtr[m=0xffffe5366318, [36mdecpt[m=0xffffe5366310, [m [m[36milim1[m=<optimized out>, [36milim[m=<optimized out>, [m [m[36mlen[m=<optimized out>, [36mk[m=<optimized out>, [m [m[36ms5[m=50, [36ms2[m=<optimized out>, [36mm2minus[m=63, [m [m[36mm2plus[m=63, [36mb2[m=<optimized out>, [m [m[36mbw[m=<optimized out>, [36mdPtr[m=<synthetic pointer>)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:3976 #4 [33mTclDoubleDigits[m ([36mdv[m=1.0000000000000001e+50, [m [m[36mndigits[m=<optimized out>, [36mndigits@entry[m=-1, [m [m[36mflags=flags@entry[m=4, [m [m[36mdecpt=decpt@entry[m=0xffffe5366310, [m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging--c [?2004l [m[36msign=sign@entry[m=0xffffe5366314, [36mendPtr=endPtr@entry[m=0xffffe5366318) at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:4539 #5 [34m0x0000ffffa8c47c00[m in [33mTcl_PrintDouble[m ([36mdummy3082=dummy3082@entry[m=0x0, [36mvalue[m=<optimized out>, [36mdst=dst@entry[m=0xffffe5366390 "") at [32m/home/purism/Downloads/release.tcl/generic/tclUtil.c[m:3123 #6 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020) at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #7 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([36mobjPtr=objPtr@entry[m=0xaaab1990c020, [36mlengthPtr=lengthPtr@entry[m=0xffffe5366440) at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #8 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([36margc[m=<optimized out>, [36margc@entry[m=1, [36margv=argv@entry[m=0xffffe53665f8, [36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <Tcl_AppInit>, [36minterp[m=0xaaab198bb100) at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #9 [34m0x0000aaaade630a5c[m in [33mmain[m ([36margc[m=<optimized out>, [36margv[m=<optimized out>) at [32m/home/purism/Downloads/release.tcl/unix/tclAppInit.c[m:94 [?2004h(gdb) c [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [34m0x0000ffffa894bab8[m in [33m__GI___pthread_getspecific[m ([m [m[36mkey[m=1) at [32mpthread_getspecific.c[m:30 30 pthread_getspecific.c: No such file or directory. [?2004h[?2004l [?2004h(gdb) Quit [?2004l [?2004h(gdb) [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [34m0x0000ffffa8c77a10[m in [33mTclBN_mp_init_size[m ([m [m[36ma=a@entry[m=0xffffe5366048, [36msize[m=4)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_init_size.c[m:8 8 [31m{[m [?2004h[?2004l [?2004h(gdb) bt [?2004l #0 [34m0x0000ffffa8c77a10[m in [33mTclBN_mp_init_size[m ([m [m[36ma=a@entry[m=0xffffe5366048, [36msize[m=4)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_init_size.c[m:8 #1 [34m0x0000ffffa8c76d4c[m in [33mTclBN_mp_div[m ([m [m[36ma=a@entry[m=0xffffe5366218, [m [m[36mb=b@entry[m=0xffffe5366260, [m [m[36mc=c@entry[m=0xffffe5366278, [m [m[36md=d@entry[m=0xffffe5366218)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_div.c[m:111 #2 [34m0x0000ffffa8c3b554[m in [33mShorteningBignumConversion[m ([36mendPtr[m=0xffffe5366318, [36mdecpt[m=0xffffe5366310, [m [m[36milim1[m=<optimized out>, [36milim[m=<optimized out>, [m [m[36mlen[m=<optimized out>, [36mk[m=<optimized out>, [m [m[36ms5[m=50, [36ms2[m=<optimized out>, [36mm2minus[m=63, [m [m[36mm2plus[m=63, [36mb2[m=<optimized out>, [m [m[36mbw[m=<optimized out>, [36mdPtr[m=<synthetic pointer>)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:3976 #3 [33mTclDoubleDigits[m ([36mdv[m=1.0000000000000001e+50, [m [m[36mndigits[m=<optimized out>, [36mndigits@entry[m=-1, [m [m[36mflags=flags@entry[m=4, [m [m[36mdecpt=decpt@entry[m=0xffffe5366310, [m [m[36msign=sign@entry[m=0xffffe5366314, [m [m[36mendPtr=endPtr@entry[m=0xffffe5366318)[m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:4539 #4 [34m0x0000ffffa8c47c00[m in [33mTcl_PrintDouble[m ([m [m[36mdummy3082=dummy3082@entry[m=0x0, [m [m[36mvalue[m=<optimized out>, [m [m[36mdst=dst@entry[m=0xffffe5366390 "")[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclUtil.c[m:3123 #5 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #6 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([m [m[36mobjPtr=objPtr@entry[m=0xaaab1990c020, [m [m[36mlengthPtr=lengthPtr@entry[m=0xffffe5366440)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #7 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([m [m[36margc[m=<optimized out>, [36margc@entry[m=1, [m [m[36margv=argv@entry[m=0xffffe53665f8, [m [m[36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <Tcl_AppInit>, [36minterp[m=0xaaab198bb100)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #8 [34m0x0000aaaade630a5c[m in [33mmain[m ([m [m[36margc[m=<optimized out>, [36margv[m=<optimized out>)[m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m at [32m/home/purism/Downloads/release.tcl/unix/tclAppInit.c[m:94 [?2004h(gdb) [?2004l [?2004h(gdb) c [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [34m0x0000ffffa8c76400[m in [33mTclBN_mp_mul_digs_fast[m ([m [m[36ma[m=0xffffe5366260, [m [m[36mb[m=0xffffa8ce9900 <pow5_13+24>, [m [m[36mc[m=0xffffe5366260, [36mdigs[m=4)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_s_mp_mul_digs_fast.c[m:73 73 _W [31m=[m _W [31m>>[m [31m([mmp_word[31m)[mMP_DIGIT_BIT[31m;[m [?2004h[?2004l [?2004h(gdb) bt [?2004l #0 [34m0x0000ffffa8c76400[m in [33mTclBN_mp_mul_digs_fast[m ([m [m[36ma[m=0xffffe5366260, [m [m[36mb[m=0xffffa8ce9900 <pow5_13+24>, [m [m[36mc[m=0xffffe5366260, [36mdigs[m=4)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_s_mp_mul_digs_fast.c[m:73 #1 [34m0x0000ffffa8c785c4[m in [33mTclBN_mp_mul[m ([m [m[36ma[m=<optimized out>, [m [m[36mb=b@entry[m=0xffffa8ce9900 <pow5_13+24>, [m [m[36mc=c@entry[m=0xffffe5366260)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_mul.c[m:45 #2 [34m0x0000ffffa8c3a660[m in [33mMulPow5[m ([m [m[36mbase=base@entry[m=0xffffe5366260, [36mn=n@entry[m=50, [m [m[36mresult=result@entry[m=0xffffe5366260)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:2236 #3 [34m0x0000ffffa8c3b444[m in [33mShorteningBignumConversion[m ([36mendPtr[m=0xffffe5366318, [36mdecpt[m=0xffffe5366310, [m [m[36milim1[m=-1, [36milim[m=-1, [36mlen[m=<optimized out>, [m [m[36mk[m=<optimized out>, [36ms5[m=50, [36ms2[m=0, [36mm2minus[m=63, [m [m[36mm2plus[m=63, [36mb2[m=<optimized out>, [m [m[36mbw[m=<optimized out>, [36mdPtr[m=<synthetic pointer>)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:3933 #4 [33mTclDoubleDigits[m ([36mdv[m=1.0000000000000001e+50, [m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m[36mndigits[m=<optimized out>, [36mndigits@entry[m=-1, [m [m[36mflags=flags@entry[m=4, [m [m[36mdecpt=decpt@entry[m=0xffffe5366310, [m [m[36msign=sign@entry[m=0xffffe5366314, [m [m[36mendPtr=endPtr@entry[m=0xffffe5366318)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:4539 #5 [34m0x0000ffffa8c47c00[m in [33mTcl_PrintDouble[m ([m [m[36mdummy3082=dummy3082@entry[m=0x0, [m [m[36mvalue[m=<optimized out>, [m [m[36mdst=dst@entry[m=0xffffe5366390 "")[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclUtil.c[m:3123 #6 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #7 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([m [m[36mobjPtr=objPtr@entry[m=0xaaab1990c020, [m [m[36mlengthPtr=lengthPtr@entry[m=0xffffe5366440)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #8 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([m [m[36margc[m=<optimized out>, [36margc@entry[m=1, [m [m[36margv=argv@entry[m=0xffffe53665f8, [m [m[36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <T[m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [mcl_AppInit>, [36minterp[m=0xaaab198bb100)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #9 [34m0x0000aaaade630a5c[m in [33mmain[m ([m [m[36margc[m=<optimized out>, [36margv[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/unix/tclAppInit.c[m:94 [?2004h(gdb) [?2004l [?2004h(gdb) c [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [34m0x0000ffffa8a06068[m in [33m__vfprintf_internal[m ([m [m[36ms=s@entry[m=0xffffe53660a8, [m [m[36mformat=format@entry[m=0xffffa8c9a0bf "e%+d", [m [m[36map[m=..., [36mmode_flags=mode_flags@entry[m=0)[m [m at [32mvfprintf-internal.c[m:1646 1646 vfprintf-internal.c: No such file or directory. [?2004h[?2004l [?2004h(gdb) bt [?2004l #0 [34m0x0000ffffa8a06068[m in [33m__vfprintf_internal[m ([m [m[36ms=s@entry[m=0xffffe53660a8, [m [m[36mformat=format@entry[m=0xffffa8c9a0bf "e%+d", [m [m[36map[m=..., [36mmode_flags=mode_flags@entry[m=0)[m [m at [32mvfprintf-internal.c[m:1646 #1 [34m0x0000ffffa8a173c4[m in [33m__vsnprintf_internal[m ([m [m[36mstring[m=0xffffe5366391 "e+50", [m [m[36mmaxlen[m=<optimized out>, [36mmaxlen@entry[m=27, [m [m[36mformat=format@entry[m=0xffffa8c9a0bf "e%+d", [m [m[36margs[m=..., [36mmode_flags=mode_flags@entry[m=0)[m [m at [32mvsnprintf.c[m:114 #2 [34m0x0000ffffa89f51c4[m in [33m__GI___snprintf[m ([m [m[36ms[m=<optimized out>, [36mmaxlen=maxlen@entry[m=27, [m [m[36mformat=format@entry[m=0xffffa8c9a0bf "e%+d")[m [m at [32msnprintf.c[m:31 #3 [34m0x0000ffffa8c47c64[m in [33mTcl_PrintDouble[m ([m [m[36mdummy3082=dummy3082@entry[m=0x0, [m [m[36mvalue[m=<optimized out>, [36mdst[m=<optimized out>, [m [m[36mdst@entry[m=0xffffe5366390 "1e+50")[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclUtil.c[m:3144 #4 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #5 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m[36mobjPtr=objPtr@entry[m=0xaaab1990c020, [m [m[36mlengthPtr=lengthPtr@entry[m=0xffffe5366440)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #6 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([m [m[36margc[m=<optimized out>, [36margc@entry[m=1, [m [m[36margv=argv@entry[m=0xffffe53665f8, [m [m[36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <Tcl_AppInit>, [36minterp[m=0xaaab198bb100)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #7 [34m0x0000aaaade630a5c[m in [33mmain[m ([m [m[36margc[m=<optimized out>, [36margv[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/unix/tclAppInit.c[m:94 [?2004h(gdb) c [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [34m0x0000ffffa8c76a68[m in [33mTclBN_mp_clear_multi[m ([m [m[36mmp=mp@entry[m=0xffffe5366218)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_clear_multi.c[m:15 15 next_mp [31m=[m [01mva_arg[m[31m([margs[31m,[m mp_int [31m*);[m [?2004h[?2004l [?2004h(gdb) bt [?2004l #0 [34m0x0000ffffa8c76a68[m in [33mTclBN_mp_clear_multi[m ([m [m[36mmp=mp@entry[m=0xffffe5366218)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_clear_multi.c[m:15 #1 [34m0x0000ffffa8c3b648[m in [33mShorteningBignumConversion[m ([36mendPtr[m=0xffffe5366318, [36mdecpt[m=0xffffe5366310, [m [m[36milim1[m=<optimized out>, [36milim[m=<optimized out>, [m [m[36mlen[m=<optimized out>, [36mk[m=<optimized out>, [m [m[36ms5[m=<optimized out>, [36ms2[m=<optimized out>, [m [m[36mm2minus[m=63, [36mm2plus[m=63, [36mb2[m=<optimized out>, [m [m[36mbw[m=<optimized out>, [36mdPtr[m=<synthetic pointer>)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:4101 #2 [33mTclDoubleDigits[m ([36mdv[m=1.0000000000000001e+50, [m [m[36mndigits[m=<optimized out>, [36mndigits@entry[m=-1, [m [m[36mflags=flags@entry[m=4, [m [m[36mdecpt=decpt@entry[m=0xffffe5366310, [m [m[36msign=sign@entry[m=0xffffe5366314, [m [m[36mendPtr=endPtr@entry[m=0xffffe5366318)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:4539 #3 [34m0x0000ffffa8c47c00[m in [33mTcl_PrintDouble[m ([m [m[36mdummy3082=dummy3082@entry[m=0x0, [m [m[36mvalue[m=<optimized out>, [m [m[36mdst=dst@entry[m=0xffffe5366390 "")[m [m at [32m/home/purism/Downloads/release.tcl/generic/t[m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [mclUtil.c[m:3123 #4 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #5 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([m [m[36mobjPtr=objPtr@entry[m=0xaaab1990c020, [m [m[36mlengthPtr=lengthPtr@entry[m=0xffffe5366440)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #6 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([m [m[36margc[m=<optimized out>, [36margc@entry[m=1, [m [m[36margv=argv@entry[m=0xffffe53665f8, [m [m[36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <Tcl_AppInit>, [36minterp[m=0xaaab198bb100)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #7 [34m0x0000aaaade630a5c[m in [33mmain[m ([m [m[36margc[m=<optimized out>, [36margv[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/unix/tclAppInit.c[m:94 [?2004h(gdb) [?2004l [?2004h(gdb) c [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [33m__memset_generic[m ()[m [m at [32m../sysdeps/aarch64/memset.S[m:37 37 ../sysdeps/aarch64/memset.S: No such file or directory. [?2004h[?2004l [?2004h(gdb) Quit [?2004l [?2004h(gdb) bt [?2004l #0 [33m__memset_generic[m ()[m [m at [32m../sysdeps/aarch64/memset.S[m:37 #1 [34m0x0000ffffa8c769e0[m in [33mTclBN_mp_clear[m ([m [m[36ma[m=0xffffe5366230)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_clear.c[m:12 #2 [34m0x0000ffffa8c76a44[m in [33mTclBN_mp_clear_multi[m ([m [m[36mmp=mp@entry[m=0xffffe5366218)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_clear_multi.c[m:14 #3 [34m0x0000ffffa8c3b648[m in [33mShorteningBignumConversion[m ([36mendPtr[m=0xffffe5366318, [36mdecpt[m=0xffffe5366310, [m [m[36milim1[m=<optimized out>, [36milim[m=<optimized out>, [m [m[36mlen[m=<optimized out>, [36mk[m=<optimized out>, [m [m[36ms5[m=<optimized out>, [36ms2[m=<optimized out>, [m [m[36mm2minus[m=63, [36mm2plus[m=63, [36mb2[m=<optimized out>, [m [m[36mbw[m=<optimized out>, [36mdPtr[m=<synthetic pointer>)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:4101 #4 [33mTclDoubleDigits[m ([36mdv[m=1.0000000000000001e+50, [m [m[36mndigits[m=<optimized out>, [36mndigits@entry[m=-1, [m [m[36mflags=flags@entry[m=4, [m [m[36mdecpt=decpt@entry[m=0xffffe5366310, [m [m[36msign=sign@entry[m=0xffffe5366314, [m [m[36mendPtr=endPtr@entry[m=0xffffe5366318)[m [m at [32m/home/purism/Downloads/release.tcl/generic/t[m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [mclStrToD.c[m:4539 #5 [34m0x0000ffffa8c47c00[m in [33mTcl_PrintDouble[m ([m [m[36mdummy3082=dummy3082@entry[m=0x0, [m [m[36mvalue[m=<optimized out>, [m [m[36mdst=dst@entry[m=0xffffe5366390 "")[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclUtil.c[m:3123 #6 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #7 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([m [m[36mobjPtr=objPtr@entry[m=0xaaab1990c020, [m [m[36mlengthPtr=lengthPtr@entry[m=0xffffe5366440)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #8 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([m [m[36margc[m=<optimized out>, [36margc@entry[m=1, [m [m[36margv=argv@entry[m=0xffffe53665f8, [m [m[36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <Tcl_AppInit>, [36minterp[m=0xaaab198bb100)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #9 [34m0x0000aaaade630a5c[m in [33mmain[m ([m [m[36margc[m=<optimized out>, [36margv[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/unix/tclA[m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [32mppInit.c[m:94 [?2004h(gdb) c [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [34m0x0000ffffa8c3e808[m in [33mTclpAlloc[m ([m [m[36mreqSize=reqSize@entry[m=16)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclThreadAlloc.c[m:332 332 [01;34mwhile[m [31m([mbucketInfo[31m[[mbucket[31m].[mblockSize [31m<[m size[31m)[m [31m{[m [?2004h[?2004l [?2004h(gdb) bt [?2004l #0 [34m0x0000ffffa8c3e808[m in [33mTclpAlloc[m ([m [m[36mreqSize=reqSize@entry[m=16)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclThreadAlloc.c[m:332 #1 [34m0x0000ffffa8b7ea30[m in [33mTcl_AttemptAlloc[m ([m [m[36msize=size@entry[m=16)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclCkalloc.c[m:1084 #2 [34m0x0000ffffa8c77a34[m in [33mTclBN_mp_init_size[m ([m [m[36ma=a@entry[m=0xffffe5366078, [36msize[m=2)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_init_size.c[m:17 #3 [34m0x0000ffffa8c77878[m in [33mTclBN_mp_init_copy[m ([m [m[36ma=a@entry[m=0xffffe5366078, [m [m[36mb=b@entry[m=0xffffe5366260)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_init_copy.c[m:11 #4 [34m0x0000ffffa8c76db0[m in [33mTclBN_mp_div[m ([m [m[36ma=a@entry[m=0xffffe5366218, [m [m[36mb=b@entry[m=0xffffe5366260, [m [m[36mc=c@entry[m=0xffffe5366278, [m [m[36md=d@entry[m=0xffffe5366218)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_div.c[m:122 #5 [34m0x0000ffffa8c3b554[m in [33mShorteningBignumConversion[m ([36mendPtr[m=0xffffe5366318, [36mdecpt[m=0xffffe5366310, [m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m[36milim1[m=<optimized out>, [36milim[m=<optimized out>, [m [m[36mlen[m=<optimized out>, [36mk[m=<optimized out>, [m [m[36ms5[m=50, [36ms2[m=<optimized out>, [36mm2minus[m=63, [m [m[36mm2plus[m=63, [36mb2[m=<optimized out>, [m [m[36mbw[m=<optimized out>, [36mdPtr[m=<synthetic pointer>)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:3976 #6 [33mTclDoubleDigits[m ([36mdv[m=1.0000000000000001e+50, [m [m[36mndigits[m=<optimized out>, [36mndigits@entry[m=-1, [m [m[36mflags=flags@entry[m=4, [m [m[36mdecpt=decpt@entry[m=0xffffe5366310, [m [m[36msign=sign@entry[m=0xffffe5366314, [m [m[36mendPtr=endPtr@entry[m=0xffffe5366318)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:4539 #7 [34m0x0000ffffa8c47c00[m in [33mTcl_PrintDouble[m ([m [m[36mdummy3082=dummy3082@entry[m=0x0, [m [m[36mvalue[m=<optimized out>, [m [m[36mdst=dst@entry[m=0xffffe5366390 "")[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclUtil.c[m:3123 #8 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #9 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m[36mobjPtr=objPtr@entry[m=0xaaab1990c020, [m [m[36mlengthPtr=lengthPtr@entry[m=0xffffe5366440)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #10 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([m [m[36margc[m=<optimized out>, [36margc@entry[m=1, [m [m[36margv=argv@entry[m=0xffffe53665f8, [m [m[36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <Tcl_AppInit>, [36minterp[m=0xaaab198bb100)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #11 [34m0x0000aaaade630a5c[m in [33mmain[m ([m [m[36margc[m=<optimized out>, [36margv[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/unix/tclAppInit.c[m:94 [?2004h(gdb) [?2004l [?2004h(gdb) c [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [33mTclBN_mp_cmp_mag[m ([36ma[m=<optimized out>, [m [m[36mb[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_cmp_mag.c[m:33 33 [01;34mif[m [31m(*[mtmpa [31m<[m [31m*[mtmpb[31m)[m [31m{[m [?2004h[?2004l [?2004h(gdb) c[Kbt [?2004l #0 [33mTclBN_mp_cmp_mag[m ([36ma[m=<optimized out>, [m [m[36mb[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_cmp_mag.c[m:33 #1 [34m0x0000ffffa8c76aa8[m in [33mTclBN_mp_cmp[m ([m [m[36ma=a@entry[m=0xffffe5366060, [m [m[36mb=b@entry[m=0xffffe5366078)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_cmp.c[m:23 #2 [34m0x0000ffffa8c76e64[m in [33mTclBN_mp_div[m ([m [m[36ma=a@entry[m=0xffffe5366218, [m [m[36mb=b@entry[m=0xffffe5366260, [m [m[36mc=c@entry[m=0xffffe5366278, [m [m[36md=d@entry[m=0xffffe5366218)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_div.c[m:146 #3 [34m0x0000ffffa8c3b554[m in [33mShorteningBignumConversion[m ([36mendPtr[m=0xffffe5366318, [36mdecpt[m=0xffffe5366310, [m [m[36milim1[m=<optimized out>, [36milim[m=<optimized out>, [m [m[36mlen[m=<optimized out>, [36mk[m=<optimized out>, [m [m[36ms5[m=50, [36ms2[m=<optimized out>, [36mm2minus[m=63, [m [m[36mm2plus[m=63, [36mb2[m=<optimized out>, [m [m[36mbw[m=<optimized out>, [36mdPtr[m=<synthetic pointer>)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:3976 #4 [33mTclDoubleDigits[m ([36mdv[m=1.0000000000000001e+50, [m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m[36mndigits[m=<optimized out>, [36mndigits@entry[m=-1, [m [m[36mflags=flags@entry[m=4, [m [m[36mdecpt=decpt@entry[m=0xffffe5366310, [m [m[36msign=sign@entry[m=0xffffe5366314, [m [m[36mendPtr=endPtr@entry[m=0xffffe5366318)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:4539 #5 [34m0x0000ffffa8c47c00[m in [33mTcl_PrintDouble[m ([m [m[36mdummy3082=dummy3082@entry[m=0x0, [m [m[36mvalue[m=<optimized out>, [m [m[36mdst=dst@entry[m=0xffffe5366390 "")[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclUtil.c[m:3123 #6 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #7 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([m [m[36mobjPtr=objPtr@entry[m=0xaaab1990c020, [m [m[36mlengthPtr=lengthPtr@entry[m=0xffffe5366440)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #8 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([m [m[36margc[m=<optimized out>, [36margc@entry[m=1, [m [m[36margv=argv@entry[m=0xffffe53665f8, [m [m[36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <T[m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [mcl_AppInit>, [36minterp[m=0xaaab198bb100)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #9 [34m0x0000aaaade630a5c[m in [33mmain[m ([m [m[36margc[m=<optimized out>, [36margv[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/unix/tclAppInit.c[m:94 [?2004h(gdb) [?2004l [?2004h(gdb) c [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [33mTclpAlloc[m ([36mreqSize=reqSize@entry[m=32)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclThreadAlloc.c[m:310 310 [01mGETCACHE[m[31m([mcachePtr[31m);[m [?2004h[?2004l [?2004h(gdb) c [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [33m__GI__IO_setb[m ([36mf=f@entry[m=0xffffe53660a8, [m [m[36mb=b@entry[m=0xffffe5366391 "", [m [m[36meb=eb@entry[m=0xffffe53663ab "\250\377\377", [m [m[36ma=a@entry[m=0) at [32mgenops.c[m:330 330 genops.c: No such file or directory. [?2004h[?2004l [?2004h(gdb) Quit [?2004l [?2004h(gdb) bt [?2004l #0 [33m__GI__IO_setb[m ([36mf=f@entry[m=0xffffe53660a8, [m [m[36mb=b@entry[m=0xffffe5366391 "", [m [m[36meb=eb@entry[m=0xffffe53663ab "\250\377\377", [m [m[36ma=a@entry[m=0) at [32mgenops.c[m:330 #1 [34m0x0000ffffa8a1e100[m in [33m_IO_str_init_static_internal[m ([36msf=sf@entry[m=0xffffe53660a8, [m [m[36mptr=ptr@entry[m=0xffffe5366391 "", [m [m[36msize=size@entry[m=26, [m [m[36mpstart=pstart@entry[m=0xffffe5366391 "")[m [m at [32mstrops.c[m:46 #2 [34m0x0000ffffa8a173a0[m in [33m__vsnprintf_internal[m ([m [m[36mstring[m=0xffffe5366391 "", [m [m[36mmaxlen[m=<optimized out>, [36mmaxlen@entry[m=27, [m [m[36mformat=format@entry[m=0xffffa8c9a0bf "e%+d", [m [m[36margs[m=..., [36mmode_flags=mode_flags@entry[m=0)[m [m at [32mvsnprintf.c[m:113 #3 [34m0x0000ffffa89f51c4[m in [33m__GI___snprintf[m ([m [m[36ms[m=<optimized out>, [36mmaxlen=maxlen@entry[m=27, [m [m[36mformat=format@entry[m=0xffffa8c9a0bf "e%+d")[m [m at [32msnprintf.c[m:31 #4 [34m0x0000ffffa8c47c64[m in [33mTcl_PrintDouble[m ([m [m[36mdummy3082=dummy3082@entry[m=0x0, [m [m[36mvalue[m=<optimized out>, [36mdst[m=<optimized out>, [m [m[36mdst@entry[m=0xffffe5366390 "1")[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclUtil.c[m:3144 [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l #5 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #6 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([m [m[36mobjPtr=objPtr@entry[m=0xaaab1990c020, [m [m[36mlengthPtr=lengthPtr@entry[m=0xffffe5366440)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #7 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([m [m[36margc[m=<optimized out>, [36margc@entry[m=1, [m [m[36margv=argv@entry[m=0xffffe53665f8, [m [m[36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <Tcl_AppInit>, [36minterp[m=0xaaab198bb100)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #8 [34m0x0000aaaade630a5c[m in [33mmain[m ([m [m[36margc[m=<optimized out>, [36margv[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/unix/tclAppInit.c[m:94 [?2004h(gdb) [?2004l [?2004h(gdb) [?2004l [?2004h(gdb) c [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [34m0x0000ffffa8c76318[m in [33mTclBN_mp_mul_digs_fast[m ([m [m[36ma[m=0xffffe5366260, [36mb[m=0xffffa8ce98e8 <pow5_13>, [m [m[36mc[m=0xffffe5366260, [36mdigs[m=3)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_s_mp_mul_digs_fast.c[m:41 41 pa [31m=[m [01mMP_MIN[m[31m([mdigs[31m,[m a[31m->[mused [31m+[m b[31m->[mused[31m);[m [?2004h[?2004l [?2004h(gdb) bt [?2004l #0 [34m0x0000ffffa8c76318[m in [33mTclBN_mp_mul_digs_fast[m ([m [m[36ma[m=0xffffe5366260, [36mb[m=0xffffa8ce98e8 <pow5_13>, [m [m[36mc[m=0xffffe5366260, [36mdigs[m=3)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_s_mp_mul_digs_fast.c[m:41 #1 [34m0x0000ffffa8c785c4[m in [33mTclBN_mp_mul[m ([m [m[36ma[m=<optimized out>, [m [m[36mb=b@entry[m=0xffffa8ce98e8 <pow5_13>, [m [m[36mc=c@entry[m=0xffffe5366260)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_mul.c[m:45 #2 [34m0x0000ffffa8c3a660[m in [33mMulPow5[m ([m [m[36mbase=base@entry[m=0xffffe5366260, [36mn=n@entry[m=50, [m [m[36mresult=result@entry[m=0xffffe5366260)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:2236 #3 [34m0x0000ffffa8c3b444[m in [33mShorteningBignumConversion[m ([36mendPtr[m=0xffffe5366318, [36mdecpt[m=0xffffe5366310, [m [m[36milim1[m=-1, [36milim[m=-1, [36mlen[m=<optimized out>, [m [m[36mk[m=<optimized out>, [36ms5[m=50, [36ms2[m=0, [36mm2minus[m=63, [m [m[36mm2plus[m=63, [36mb2[m=<optimized out>, [m [m[36mbw[m=<optimized out>, [36mdPtr[m=<synthetic pointer>)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:3933 #4 [33mTclDoubleDigits[m ([36mdv[m=1.0000000000000001e+50, [m [m[36mndigits[m=<optimized out>, [36mndigits@entry[m=-1, [m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m[36mflags=flags@entry[m=4, [m [m[36mdecpt=decpt@entry[m=0xffffe5366310, [m [m[36msign=sign@entry[m=0xffffe5366314, [m [m[36mendPtr=endPtr@entry[m=0xffffe5366318)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:4539 #5 [34m0x0000ffffa8c47c00[m in [33mTcl_PrintDouble[m ([m [m[36mdummy3082=dummy3082@entry[m=0x0, [m [m[36mvalue[m=<optimized out>, [m [m[36mdst=dst@entry[m=0xffffe5366390 "")[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclUtil.c[m:3123 #6 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #7 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([m [m[36mobjPtr=objPtr@entry[m=0xaaab1990c020, [m [m[36mlengthPtr=lengthPtr@entry[m=0xffffe5366440)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #8 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([m [m[36margc[m=<optimized out>, [36margc@entry[m=1, [m [m[36margv=argv@entry[m=0xffffe53665f8, [m [m[36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <Tcl_AppInit>, [36minterp[m=0xaaab198bb100)[m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #9 [34m0x0000aaaade630a5c[m in [33mmain[m ([m [m[36margc[m=<optimized out>, [36margv[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/unix/tclAppInit.c[m:94 [?2004h(gdb) c [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [34m0x0000ffffa8c774a0[m in [33mTclBN_mp_div_2d[m ([m [m[36ma=a@entry[m=0xffffe5366060, [36mb=b@entry[m=2, [m [m[36mc=c@entry[m=0xffffe5366060, [36md=d@entry[m=0x0)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_div_2d.c[m:70 70 [31m}[m [?2004h[?2004l [?2004h(gdb) bt [?2004l #0 [34m0x0000ffffa8c774a0[m in [33mTclBN_mp_div_2d[m ([m [m[36ma=a@entry[m=0xffffe5366060, [36mb=b@entry[m=2, [m [m[36mc=c@entry[m=0xffffe5366060, [36md=d@entry[m=0x0)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_div_2d.c[m:70 #1 [34m0x0000ffffa8c76f10[m in [33mTclBN_mp_div[m ([m [m[36ma=a@entry[m=0xffffe5366218, [m [m[36mb=b@entry[m=0xffffe5366260, [m [m[36mc=c@entry[m=0xffffe5366278, [m [m[36md=d@entry[m=0xffffe5366218)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_div.c[m:229 #2 [34m0x0000ffffa8c3b554[m in [33mShorteningBignumConversion[m ([36mendPtr[m=0xffffe5366318, [36mdecpt[m=0xffffe5366310, [m [m[36milim1[m=<optimized out>, [36milim[m=<optimized out>, [m [m[36mlen[m=<optimized out>, [36mk[m=<optimized out>, [m [m[36ms5[m=50, [36ms2[m=<optimized out>, [36mm2minus[m=63, [m [m[36mm2plus[m=63, [36mb2[m=<optimized out>, [m [m[36mbw[m=<optimized out>, [36mdPtr[m=<synthetic pointer>)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:3976 #3 [33mTclDoubleDigits[m ([36mdv[m=1.0000000000000001e+50, [m [m[36mndigits[m=<optimized out>, [36mndigits@entry[m=-1, [m [m[36mflags=flags@entry[m=4, [m [m[36mdecpt=decpt@entry[m=0xffffe5366310, [m [m[36msign=sign@entry[m=0xffffe5366314, [m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m[36mendPtr=endPtr@entry[m=0xffffe5366318)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:4539 #4 [34m0x0000ffffa8c47c00[m in [33mTcl_PrintDouble[m ([m [m[36mdummy3082=dummy3082@entry[m=0x0, [m [m[36mvalue[m=<optimized out>, [m [m[36mdst=dst@entry[m=0xffffe5366390 "")[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclUtil.c[m:3123 #5 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #6 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([m [m[36mobjPtr=objPtr@entry[m=0xaaab1990c020, [m [m[36mlengthPtr=lengthPtr@entry[m=0xffffe5366440)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #7 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([m [m[36margc[m=<optimized out>, [36margc@entry[m=1, [m [m[36margv=argv@entry[m=0xffffe53665f8, [m [m[36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <Tcl_AppInit>, [36minterp[m=0xaaab198bb100)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #8 [34m0x0000aaaade630a5c[m in [33mmain[m ([m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m[36margc[m=<optimized out>, [36margv[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/unix/tclAppInit.c[m:94 [?2004h(gdb) [?2004l [?2004h(gdb) c [?2004l Continuing. ^C Program received signal SIGINT, Interrupt. [34m0x0000ffffa8c77838[m in [33mTclBN_mp_init[m ([m [m[36ma=a@entry[m=0xffffe5366218)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_init.c[m:19 19 a[31m->[msign [31m=[m MP_ZPOS[31m;[m [?2004h[?2004l [?2004h(gdb) bt [?2004l #0 [34m0x0000ffffa8c77838[m in [33mTclBN_mp_init[m ([m [m[36ma=a@entry[m=0xffffe5366218)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_init.c[m:19 #1 [34m0x0000ffffa8c77dcc[m in [33mTclBN_mp_init_u64[m ([m [m[36ma=a@entry[m=0xffffe5366218, [m [m[36mb=b@entry[m=2407412430484045)[m [m at [32m/home/purism/Downloads/release.tcl/libtommath/bn_mp_init_u64.c[m:6 #2 [34m0x0000ffffa8c3b404[m in [33mShorteningBignumConversion[m ([36mendPtr[m=0xffffe5366318, [36mdecpt[m=0xffffe5366310, [m [m[36milim1[m=-1, [36milim[m=-1, [36mlen[m=<optimized out>, [m [m[36mk[m=<optimized out>, [36ms5[m=50, [36ms2[m=0, [36mm2minus[m=63, [m [m[36mm2plus[m=63, [36mb2[m=65, [36mbw[m=2407412430484045, [m [m[36mdPtr[m=<synthetic pointer>)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:3925 #3 [33mTclDoubleDigits[m ([36mdv[m=1.0000000000000001e+50, [m [m[36mndigits[m=<optimized out>, [36mndigits@entry[m=-1, [m [m[36mflags=flags@entry[m=4, [m [m[36mdecpt=decpt@entry[m=0xffffe5366310, [m [m[36msign=sign@entry[m=0xffffe5366314, [m [m[36mendPtr=endPtr@entry[m=0xffffe5366318)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclStrToD.c[m:4539 #4 [34m0x0000ffffa8c47c00[m in [33mTcl_PrintDouble[m ([m [m[?2004h--Type <RET> for more, q to quit, c to continue without paging-- [?2004l [m[36mdummy3082=dummy3082@entry[m=0x0, [m [m[36mvalue[m=<optimized out>, [m [m[36mdst=dst@entry[m=0xffffe5366390 "")[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclUtil.c[m:3123 #5 [34m0x0000ffffa8b6e304[m in [33mUpdateStringOfArithSeries[m ([36marithSeriesObjPtr[m=0xaaab1990c020)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclArithSeries.c[m:1146 #6 [34m0x0000ffffa8c21870[m in [33mTcl_GetStringFromObj[m ([m [m[36mobjPtr=objPtr@entry[m=0xaaab1990c020, [m [m[36mlengthPtr=lengthPtr@entry[m=0xffffe5366440)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclObj.c[m:1733 #7 [34m0x0000ffffa8c1bb78[m in [33mTcl_MainEx[m ([m [m[36margc[m=<optimized out>, [36margc@entry[m=1, [m [m[36margv=argv@entry[m=0xffffe53665f8, [m [m[36mappInitProc=appInitProc@entry[m=0xaaaade630b74 <Tcl_AppInit>, [36minterp[m=0xaaab198bb100)[m [m at [32m/home/purism/Downloads/release.tcl/generic/tclMain.c[m:536 #8 [34m0x0000aaaade630a5c[m in [33mmain[m ([m [m[36margc[m=<optimized out>, [36margv[m=<optimized out>)[m [m at [32m/home/purism/Downloads/release.tcl/unix/tclAppInit.c[m:94 i got a partial screenshot of another one but couldn't get it above 0x0000ffffa8c78888 in TclBN_mp_mul_d ( a=a@entry=0xffffe5366260, b=48828125,c=c@entry=0xffffe5366260 at /home/purism/Downloads/release.tcl//libtommath/bn_mp_mul_d.c:42 *tmpc++=(mp_digit)(r& (mp_word)MP_MASK); bt #0 0x0000ffffa8c78888 in TclBN_mp_mul_d ( a=a@entry=0xffffe5366260, b=48828125,c=c@entry=0xffffe5366260 ) at /home/purism/Downloads/release.tcl//libtommath/bn_mp_mul_d.c:42 #1 0x0000ffffa8c3a5f4 in MulPow5 (base=base@entry=0xffffe5366260,n=n@entry=50, (truncated) anonymous added on 2024-12-18 18:59:01: I can confirm the hang of test lseq-1.27 on the following system using "-Os" compiler flag: Linux debian 6.1.0-25-arm64 #1 SMP Debian 6.1.106-3 (2024-08-26) aarch64 GNU/Linux gcc (Debian 12.2.0-14) 12.2.0 Using default "-O2" flag, the tests run fine. If the tests performed by Ashok were executed on x86_64 architecture, I suspect it could be an ARM specific compiler bug. Paul griffin added on 2024-12-18 18:53:06: Can you attach gdb to the hung process, and get a traceback to show where in the code it is hung? This will require configuring with --enable-symbols (i.e. building with CFLAGS += -g) Check that using --enable-symbols doesn't cause it to suddenly work correctly. anonymous added on 2024-12-18 17:48:13: lseq 1e50 {1e50+1} also hung lseq [expr {1e50+0} [expr {1e50+1}] 1] also hung(that was a typo) lseq {1e50+0} {1e50+1} also hung(that was a typo) lseq [expr {1e50+0}] [expr {1e50+1}] 1 did not hang lseq {1e50+0} {1e50+1} 1 did not hang lseq [expr {1e50+0}] count 1 1 did not hang(and outputted 1e+50) lseq {1e50+0} count 1 1 did not hang (and outputted 1e+50) anonymous added on 2024-12-18 17:26:28: i used trace with make to see what variables were being defined: make --trace test TESTFLAGS="-f lseq.test -verbose t -match lseq-1.27 " LD_LIBRARY_PATH=`pwd` TCLLIBPATH="/home/purism/Downloads/release.tcl/unix/pkgs" TCL_LIBRARY="" ./tcltest /home/purism/Downloads/release.tcl/tests/all.tcl -f lseq.test -verbose t match lseq-1.27 which is a little weird, and didn't work when i tried to run tclsh to run lseq since pkgs isn't in the unix directory it's in the release.tcl directory (?) but even when i set TCLLIBPATH to be /home/purism/Downloads/release.tcl/pkgs (ie where pkgs actually was) this allowed me to run ./tclsh but then % lseq 1e50 [expr {1e50+1}] hung anonymous added on 2024-12-18 16:52:34: echo $CFLAGS: -Os when run with make test TESTFLAGS="-f lseq.test -verbose t -match lseq-$N" lseq-1.26 finishes OK lseq-1.27 hangs: Running tests that match: lseq-1.27 Skipping tests that match: l*.test Only running test fils that match: lseq.test Test began at Wed Dec 18 10:49:57 CST 2024 lseq.test ---- lseq-1.27 start and then it hangs there griffin added on 2024-12-18 15:30:22: This is a cell phone device built on open source. It's possible that the linux OS was built with additional optimizations, such as -Os, as well, which could affect the behavior of the libraries. Pure speculation on my part, unencumbered by any facts: lseq does rely on rounding in places. If the rounding of a value goes wrong, it might be possible get into an infinite loop. This probably requires debugging in the pureos 10 operating system rather than a generic Debian. apnadkarni added on 2024-12-18 02:26:47: That is what I tried (I presume you meant -Os and not -s) but did not see any failures with gcc 9.4 or gcc 11.4. Perusing the code did not show anything obvious. The test body is
Could you try one more run with
If that fails by itself, it is likely it is something in that test and not the consequence of some earlier test. In which case, could you then try each of those anonymous (claiming to be [email protected]) added on 2024-12-17 13:21:08: Please post your `configure` line # export CFLAGS="-s" # ./configure # make test TESTFLAGS="-f lseq.test -verbose t" gets up to ---- lseq-1.27 start and then stops there. apnadkarni added on 2024-12-17 02:33:03: Not able to reproduce on Ubuntu 20/gcc 9.4. Please post your
to see which test is hanging. |