[MacPorts] #71557: port migrate: conftest triggers %%n used in a non-immutable format string: %s

MacPorts noreply at macports.org
Mon Dec 16 09:32:30 UTC 2024


#71557: port migrate: conftest triggers %%n used in a non-immutable format string:
%s
------------------------+--------------------
 Reporter:  PerMildner  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:
------------------------+--------------------
 Updated from 14.* to macOS 15.2. Did port migrate. (Sorry about the lack
 of version information etc., it is no longer available)
 PS. Other things also put up the dialog about a process crash (some
 seemingly generated executable, but I did not record it)

 Several cases of `conftest` using sprintf incorrectly:



 {{{
 Translated Report (Full Report Below)
 -------------------------------------

 Process:               conftest [39060]
 Path:                  /opt/local/var/macports/*/conftest
 Identifier:            conftest
 Version:               ???
 Code Type:             ARM-64 (Native)
 Parent Process:        bash [39059]
 Responsible:           Terminal [24004]
 User ID:               506

 Date/Time:             2024-12-15 22:10:42.2101 +0100
 OS Version:            macOS 15.2 (24C101)
 Report Version:        12
 Anonymous UUID:


 Time Awake Since Boot: 12000 seconds

 System Integrity Protection: enabled

 Crashed Thread:        0  Dispatch queue: com.apple.main-thread

 Exception Type:        EXC_CRASH (SIGABRT)
 Exception Codes:       0x0000000000000000, 0x0000000000000000

 Termination Reason:    Namespace LIBSYSTEM, Code 2 Application Triggered
 Fault

 Application Specific Information:
 %%n used in a non-immutable format string: %s


 Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
 0   libsystem_kernel.dylib                     0x19cf33c6c
 __abort_with_payload + 8
 1   libsystem_kernel.dylib                     0x19cf59eb8
 abort_with_payload_wrapper_internal + 104
 2   libsystem_kernel.dylib                     0x19cf59eec
 abort_with_payload + 16
 3   libsystem_c.dylib                          0x19ce3e344 _os_crash_msg +
 76
 4   libsystem_c.dylib                          0x19ce7469c
 __vfprintf.cold.1 + 172
 5   libsystem_c.dylib                          0x19ce006e0 __vfprintf +
 11664
 6   libsystem_c.dylib                          0x19ce2945c _vsnprintf +
 224
 7   libsystem_c.dylib                          0x19ce0802c __sprintf_chk +
 60
 8   conftest                                   0x104fbbf4c main + 108
 9   dyld                                       0x19cbe8274 start + 2840


 Thread 0 crashed with ARM Thread State (64-bit):
     x0: 0x0000000000000012   x1: 0x0000000000000002   x2:
 0x0000000000000000   x3: 0x0000000000000000
     x4: 0x000000016ae46d50   x5: 0x0000000000000000   x6:
 0x0000000004210123   x7: 0x0000000000000000
     x8: 0x0000000000000020   x9: 0xa14a2d21bcd00010  x10:
 0x0100000100000000  x11: 0x0000000d0004000b
    x12: 0x0000000000000003  x13: 0x0000000105029010  x14:
 0x0000000000000001  x15: 0x00000000000000ff
    x16: 0x0000000000000209  x17: 0x000000020ee7adb0  x18:
 0x0000000000000000  x19: 0x0000000000000000
    x20: 0x000000016ae46d50  x21: 0x0000000000000000  x22:
 0x0000000000000000  x23: 0x0000000000000002
    x24: 0x0000000000000012  x25: 0x000000016ae46b80  x26:
 0x0000000000000004  x27: 0x0000000104fc0005
    x28: 0x0000000104fc0005   fp: 0x000000016ae469b0   lr:
 0x000000019cf59eb8
     sp: 0x000000016ae46970   pc: 0x000000019cf33c6c cpsr: 0x00001000
    far: 0x0000000000000000  esr: 0x56000080  Address size fault

 Binary Images:
        0x104fb8000 -        0x104fbbfff conftest (*) <a1723c6c-8c8d-
 3db4-afc6-126960d7a506> /opt/local/var/macports/*/conftest
        0x19cf26000 -        0x19cf60ff7 libsystem_kernel.dylib (*)
 <dfc9530c-e75b-3d1c-a9a6-85c8a709d6a7>
 /usr/lib/system/libsystem_kernel.dylib
        0x19cdfb000 -        0x19ce7cffb libsystem_c.dylib (*)
 <67989e50-e562-3062-9ff9-44bd90648e66> /usr/lib/system/libsystem_c.dylib
        0x19cbe2000 -        0x19cc63f3f dyld (*) <4ce86d18-f3fa-3d2a-
 a1b8-e7cd8a52fb0d> /usr/lib/dyld
                0x0 - 0xffffffffffffffff ??? (*)
 <00000000-0000-0000-0000-000000000000> ???

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71557>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list