1.4.18 fails under macOS

[email protected] (Rainer J.H. Brandt)
Newsgroups gmane.comp.gnu.m4.bugs
Message-ID <[email protected]>
Dear maintainers,

in https://lists.gnu.org/archive/html/bug-m4/2019-11/msg00005.html,
Vanessa McHale wrote that m4 built under macOS fails with "Abort trap: 6".
When I try that, I get "Abort" and a return code 134.
Here's a backtrace:

(lldb) run
Process 85082 launched: '/tmp/buildbot.57092/m4-1.4.18/src/m4' (x86_64)
Process 85082 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00007fff68a25eb6 libsystem_kernel.dylib`__abort_with_payload + 10
libsystem_kernel.dylib`__abort_with_payload:
->  0x7fff68a25eb6 <+10>: jae    0x7fff68a25ec0            ; <+20>
    0x7fff68a25eb8 <+12>: movq   %rax, %rdi
    0x7fff68a25ebb <+15>: jmp    0x7fff68a1dae9            ; cerror_nocancel
    0x7fff68a25ec0 <+20>: retq   
Target 0: (m4) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
  * frame #0: 0x00007fff68a25eb6 libsystem_kernel.dylib`__abort_with_payload + 10
    frame #1: 0x00007fff68a202b8 libsystem_kernel.dylib`abort_with_payload_wrapper_internal + 89
    frame #2: 0x00007fff68a202e5 libsystem_kernel.dylib`abort_with_payload + 9
    frame #3: 0x00007fff68936ecc libsystem_c.dylib`_os_crash_fmt + 182
    frame #4: 0x00007fff6896d8a8 libsystem_c.dylib`__vfprintf + 16526
    frame #5: 0x00007fff68992059 libsystem_c.dylib`__v2printf + 473
    frame #6: 0x00007fff6897734b libsystem_c.dylib`_vsnprintf + 415
    frame #7: 0x00007fff689773a8 libsystem_c.dylib`vsnprintf_l + 41
    frame #8: 0x00007fff68968318 libsystem_c.dylib`snprintf + 180
    frame #9: 0x000000010004638e m4`vasnprintf(resultbuf=0x0000000000000000, lengthp=0x00007ffeefbff418, format="internal error detected; please report this bug to <%s>", args=0x00007ffeefbff540) at vasnprintf.c:5077
    frame #10: 0x00000001000471e7 m4`rpl_vasprintf(resultp=0x00007ffeefbff460, format="internal error detected; please report this bug to <%s>", args=0x00007ffeefbff540) at vasprintf.c:36
    frame #11: 0x0000000100022d7a m4`xvasprintf(format="internal error detected; please report this bug to <%s>", args=0x00007ffeefbff540) at xvasprintf.c:102
    frame #12: 0x0000000100023110 m4`xasprintf(format=<unavailable>) at xasprintf.c:30 [opt]
    frame #13: 0x000000010000121e m4`main(argc=1, argv=0x00007ffeefbff6a8) at m4.c:398
    frame #14: 0x00007fff688d6015 libdyld.dylib`start + 1
    frame #15: 0x00007fff688d6015 libdyld.dylib`start + 1


I also tried to build and run older versions.  The last verrsion that works
for me is 1.4.11. With 1.4.12, the error occurs.

If there's anything else I can do please let me know.  I'm not subscribed
to the list.

Thank you,
Rainer

-- 
Email: [email protected]  +  Telefon: 02448/919126  +  Mobiltelefon: 0172/9593205
Brandt & Brandt Computer GmbH  +  Am Wiesenpfad 6, 53340 Meckenheim
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt
Handelsregister: Amtsgericht Bonn, HRB 10513
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.