[pcre-dev] [Bug 1642] Tests fail due to stack space being li…

Startseite
Nachricht löschen
Autor: admin
Datum:  
To: pcre-dev
Betreff: [pcre-dev] [Bug 1642] Tests fail due to stack space being limited to 16 M
https://bugs.exim.org/show_bug.cgi?id=1642

--- Comment #2 from Elliot Saba <staticfloat@???> ---
It does not appear to be inlined. Running the segfaulting case in `lldb`
yields:


```
$ lldb -- ./.libs/pcre2test -q -S 16 -8 ./testdata/te
stinput2 testtry
(lldb) target create "./.libs/pcre2test"
Current executable set to './.libs/pcre2test' (x86_64).
(lldb) settings set -- target.run-args  "-q" "-S" "16" "-8"
"./testdata/testinput2" "testt
ry"
(lldb) r
Process 88289 launched: './.libs/pcre2test' (x86_64)
Process 88289 stopped
* thread #1: tid = 0xbeae3, 0x000000010007ef7c libpcre2-8.0.dylib`match + 3724,
queue = 'c
om.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2,
address=0x7fff5ebffbf0)
    frame #0: 0x000000010007ef7c libpcre2-8.0.dylib`match + 3724
libpcre2-8.0.dylib`match + 3724:
-> 0x10007ef7c:  movl   %r10d, (%rsp)
   0x10007ef80:  callq  0x10007e0f0               ; match
   0x10007ef85:  movl   %eax, -0x40(%rbp)
   0x10007ef88:  cmpl   $0xfffffc20, -0x40(%rbp)
(lldb) bt
* thread #1: tid = 0xbeae3, 0x000000010007ef7c libpcre2-8.0.dylib`match + 3724,
queue = 'c
om.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2,
address=0x7fff5ebffbf0)
  * frame #0: 0x000000010007ef7c libpcre2-8.0.dylib`match + 3724
    frame #1: 0x0000000100080ee8 libpcre2-8.0.dylib`match + 11768
    frame #2: 0x000000010009e518 libpcre2-8.0.dylib`op_recurse_ovecsave + 360
    frame #3: 0x0000000100080ac0 libpcre2-8.0.dylib`match + 10704
    frame #4: 0x000000010007ef85 libpcre2-8.0.dylib`match + 3733
    frame #5: 0x00000001000816f5 libpcre2-8.0.dylib`match + 13829
    frame #6: 0x0000000100088031 libpcre2-8.0.dylib`match + 40769
    frame #7: 0x000000010007ef85 libpcre2-8.0.dylib`match + 3733
    frame #8: 0x0000000100080ee8 libpcre2-8.0.dylib`match + 11768
    frame #9: 0x000000010009e518 libpcre2-8.0.dylib`op_recurse_ovecsave + 360
...
<snip>
...
    frame #5533: 0x0000000100080ac0 libpcre2-8.0.dylib`match + 10704
    frame #5534: 0x000000010007ef85 libpcre2-8.0.dylib`match + 3733
    frame #5535: 0x00000001000816f5 libpcre2-8.0.dylib`match + 13829
    frame #5536: 0x0000000100088031 libpcre2-8.0.dylib`match + 40769
    frame #5537: 0x000000010007ef85 libpcre2-8.0.dylib`match + 3733
    frame #5538: 0x0000000100080ee8 libpcre2-8.0.dylib`match + 11768
    frame #5539: 0x000000010009e518 libpcre2-8.0.dylib`op_recurse_ovecsave +
360
    frame #5540: 0x0000000100080ac0 libpcre2-8.0.dylib`match + 10704
    frame #5541: 0x000000010007ef85 libpcre2-8.0.dylib`match + 3733
    frame #5542: 0x00000001000816f5 libpcre2-8.0.dylib`match + 13829
    frame #5543: 0x0000000100088031 libpcre2-8.0.dylib`match + 40769
    frame #5544: 0x000000010007ef85 libpcre2-8.0.dylib`match + 3733
    frame #5545: 0x0000000100080ee8 libpcre2-8.0.dylib`match + 11768
    frame #5546: 0x000000010007d780 libpcre2-8.0.dylib`pcre2_match_8 + 6256
    frame #5547: 0x0000000100007426 pcre2test`process_data + 11046
    frame #5548: 0x0000000100002897 pcre2test`main + 3575
    frame #5549: 0x00000001000012c4 pcre2test`start + 52
(lldb)
```


--
You are receiving this mail because:
You are on the CC list for the bug.