lftp always crashes on "exit"?

smitty_decoy at mac.com smitty_decoy at mac.com
Thu Dec 1 17:57:28 UTC 2022


Interesting. I remember it doing this before my upgrade to Ventura. I'm on an M1 Max MBP.

It also crashes upon exit on my old Macmini7,1 running macOS 12.6.1...


> On Dec 1, 2022, at 9:31 AM, Marius Schamschula <lists at schamschula.com> wrote:
> 
> I haven’t tested lftp under Ventura. It works correctly on my Monterey M1 system.
> 
>> On Dec 1, 2022, at 10:24 AM, Smith via macports-users <macports-users at lists.macports.org> wrote:
>> 
>> Hi there,
>> 
>> Anybody else a user of lftp? If so, does it SIGSEGV every time you exit the program? Crash report below.
>> 
>> Smith
>> 
>> 
>> 
>> -------------------------------------
>> Translated Report (Full Report Below)
>> -------------------------------------
>> 
>> Process:               lftp [57022]
>> Path:                  /opt/local/bin/lftp
>> Identifier:            lftp
>> Version:               ???
>> Code Type:             ARM-64 (Native)
>> Parent Process:        zsh [924]
>> Responsible:           Terminal [793]
>> User ID:               503
>> 
>> Date/Time:             2022-11-29 20:14:50.2782 -0700
>> OS Version:            macOS 13.0.1 (22A400)
>> Report Version:        12
>> Anonymous UUID:        AD4F3522-9689-9808-7351-ECB4965FE4AE
>> 
>> Sleep/Wake UUID:       9D366EBC-B0BC-4438-9A9D-9C44F63349F8
>> 
>> Time Awake Since Boot: 150000 seconds
>> Time Since Wake:       35089 seconds
>> 
>> System Integrity Protection: enabled
>> 
>> Crashed Thread:        0  Dispatch queue: com.apple.main-thread
>> 
>> Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
>> Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
>> Exception Codes:       0x0000000000000001, 0x0000000000000000
>> 
>> Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
>> Terminating Process:   exc handler [57022]
>> 
>> VM Region Info: 0 is not in any region.  Bytes before following region: 4303634432
>>    REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
>>    UNUSED SPACE AT START
>> --->  
>>    __TEXT                      100844000-10090c000    [  800K] r-x/r-x SM=COW  ...ocal/bin/lftp
>> 
>> Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
>> 0   libsystem_pthread.dylib              0x18952a3c0 pthread_rwlock_rdlock + 0
>> 1   libcrypto.3.dylib                    0x100f32b0c CRYPTO_THREAD_read_lock + 12
>> 2   libcrypto.3.dylib                    0x100f24dc8 ossl_lib_ctx_get_data + 56
>> 3   libcrypto.3.dylib                    0x100f2fa0c get_provider_store + 28
>> 4   libcrypto.3.dylib                    0x100f319e8 ossl_provider_deregister_child_cb + 32
>> 5   libcrypto.3.dylib                    0x100f24b48 OSSL_LIB_CTX_free + 48
>> 6   legacy.dylib                         0x1009cc458 legacy_teardown + 24
>> 7   libcrypto.3.dylib                    0x100f2fd7c ossl_provider_free + 76
>> 8   libcrypto.3.dylib                    0x100f07434 evp_cipher_free_int + 48
>> 9   libssl.3.dylib                       0x100a86498 SSL_CTX_free + 420
>> 10  lftp                                 0x1008f3334 Ref<lftp_ssl_openssl_instance>::~Ref() + 32
>> 11  libsystem_c.dylib                    0x18941905c __cxa_finalize_ranges + 464
>> 12  libsystem_c.dylib                    0x189418df0 exit + 44
>> 13  libdyld.dylib                        0x189546f7c dyld4::LibSystemHelpers::exit(int) const + 20
>> 14  dyld                                 0x189203e9c start + 2620
>> 
>> 
>> Thread 0 crashed with ARM Thread State (64-bit):
>>  x0: 0x0000000000000000   x1: 0x0000000100f24c78   x2: 0x0000000101062ed0   x3: 0x0000000000000b00
>>  x4: 0x00000c0100000cc0   x5: 0x0000000000000c00   x6: 0x00000c0100000c80   x7: 0x0000000000000b00
>>  x8: 0x00000001010a2450   x9: 0x0000000000000000  x10: 0x0000000000000c01  x11: 0x0000000000000000
>> x12: 0x0000000000000000  x13: 0x00007f0100007fc0  x14: 0x0000800100008080  x15: 0x000000002a59f9d9
>> x16: 0x000000018952a3c0  x17: 0x000000002a600000  x18: 0x0000000000000000  x19: 0x00000001010a2450
>> x20: 0x0000000101062ed0  x21: 0x000000013300ca80  x22: 0x0000000000000001  x23: 0x0000000000000000
>> x24: 0x0000000000000008  x25: 0x00000001e4bfb000  x26: 0x000000000000001d  x27: 0x000000000000001c
>> x28: 0x000000000000001c   fp: 0x000000016f5bb150   lr: 0x0000000100f32b0c
>>  sp: 0x000000016f5bb150   pc: 0x000000018952a3c0 cpsr: 0x60001000
>> far: 0x0000000000000000  esr: 0x92000006 (Data Abort) byte read Translation fault
>> 
>> Binary Images:
>>     0x189527000 -        0x189533ffb libsystem_pthread.dylib (*) <886caca0-5762-3640-8db2-3fa3b911c062> /usr/lib/system/libsystem_pthread.dylib
>>     0x100e28000 -        0x101047fff libcrypto.3.dylib (*) <16754905-92aa-35a4-828d-bd0c1082a885> /opt/local/libexec/*/libcrypto.3.dylib
>>     0x1009c8000 -        0x1009d7fff legacy.dylib (*) <1f4ca25c-370f-38d6-be10-60fa4bd6f873> /opt/local/libexec/*/legacy.dylib
>>     0x100a74000 -        0x100acbfff libssl.3.dylib (*) <ec5024b2-847f-3858-9ee8-ad603fc7f357> /opt/local/libexec/*/libssl.3.dylib
>>     0x100844000 -        0x10090bfff lftp (*) <c6dd1446-1883-32c2-aca8-1245740d372d> /opt/local/bin/lftp
>>     0x1893ee000 -        0x18946eff3 libsystem_c.dylib (*) <a3869999-0792-3e09-b3fb-5e87ae4639be> /usr/lib/system/libsystem_c.dylib
>>     0x189534000 -        0x189557ff7 libdyld.dylib (*) <668f3379-151d-3ed4-859c-8f56e7941cde> /usr/lib/system/libdyld.dylib
>>     0x1891fe000 -        0x1892884bf dyld (*) <de46dd52-4994-3fd8-b4b4-e352a1a19354> /usr/lib/dyld
>> 
>> External Modification Summary:
>> Calls made by other processes targeting this process:
>>  task_for_pid: 0
>>  thread_create: 0
>>  thread_set_state: 0
>> Calls made by this process:
>>  task_for_pid: 0
>>  thread_create: 0
>>  thread_set_state: 0
>> Calls made by all processes on this machine:
>>  task_for_pid: 6
>>  thread_create: 0
>>  thread_set_state: 18
>> 
>> VM Region Summary:
>> ReadOnly portion of Libraries: Total=868.8M resident=0K(0%) swapped_out_or_unallocated=868.8M(100%)
>> Writable regions: Total=1.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.2G(100%)
>> 
>>                              VIRTUAL   REGION 
>> REGION TYPE                        SIZE    COUNT (non-coalesced) 
>> ===========                     =======  ======= 
>> Activity Tracing                   256K        1 
>> Kernel Alloc Once                   32K        1 
>> MALLOC                           230.2M       27 
>> MALLOC guard page                   96K        4 
>> MALLOC_MEDIUM (reserved)         600.0M        5         reserved VM address space (unallocated)
>> MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
>> STACK GUARD                       56.0M        1 
>> Stack                             8176K        1 
>> __AUTH                             307K       58 
>> __AUTH_CONST                      3542K      143 
>> __DATA                            1657K      146 
>> __DATA_CONST                      4550K      156 
>> __DATA_DIRTY                       361K       58 
>> __LINKEDIT                       763.9M       12 
>> __OBJC_CONST                       289K       36 
>> __OBJC_RO                         65.1M        1 
>> __OBJC_RW                         1981K        1 
>> __TEXT                           104.9M      162 
>> dyld private memory                256K        1 
>> shared memory                       32K        2 
>> ===========                     =======  ======= 
>> TOTAL                              2.2G      817 
>> TOTAL, minus reserved VM space     1.2G      817 
>> 
>> 
>> 
>> -----------
>> Full Report
>> -----------
>> 
>> {"app_name":"lftp","timestamp":"2022-11-29 20:14:51.00 -0700","app_version":"","slice_uuid":"c6dd1446-1883-32c2-aca8-1245740d372d","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 13.0.1 (22A400)","roots_installed":0,"incident_id":"0D36BBE7-777C-45ED-B03B-32F7F5AFF605","name":"lftp"}
>> {
>> "uptime" : 150000,
>> "procRole" : "Unspecified",
>> "version" : 2,
>> "userID" : 503,
>> "deployVersion" : 210,
>> "modelCode" : "MacBookPro18,4",
>> "coalitionID" : 857,
>> "osVersion" : {
>>  "train" : "macOS 13.0.1",
>>  "build" : "22A400",
>>  "releaseType" : "User"
>> },
>> "captureTime" : "2022-11-29 20:14:50.2782 -0700",
>> "incident" : "0D36BBE7-777C-45ED-B03B-32F7F5AFF605",
>> "pid" : 57022,
>> "translated" : false,
>> "cpuType" : "ARM-64",
>> "roots_installed" : 0,
>> "bug_type" : "309",
>> "procLaunch" : "2022-11-29 06:21:34.2533 -0700",
>> "procStartAbsTime" : 2667683527744,
>> "procExitAbsTime" : 3754067448355,
>> "procName" : "lftp",
>> "procPath" : "\/opt\/local\/bin\/lftp",
>> "parentProc" : "zsh",
>> "parentPid" : 924,
>> "coalitionName" : "com.apple.Terminal",
>> "crashReporterKey" : "AD4F3522-9689-9808-7351-ECB4965FE4AE",
>> "responsiblePid" : 793,
>> "responsibleProc" : "Terminal",
>> "wakeTime" : 35089,
>> "sleepWakeUUID" : "9D366EBC-B0BC-4438-9A9D-9C44F63349F8",
>> "sip" : "enabled",
>> "vmRegionInfo" : "0 is not in any region.  Bytes before following region: 4303634432\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      100844000-10090c000    [  800K] r-x\/r-x SM=COW  ...ocal\/bin\/lftp",
>> "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
>> "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":57022},
>> "vmregioninfo" : "0 is not in any region.  Bytes before following region: 4303634432\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      100844000-10090c000    [  800K] r-x\/r-x SM=COW  ...ocal\/bin\/lftp",
>> "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":18,"task_for_pid":6},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
>> "faultingThread" : 0,
>> "threads" : [{"triggered":true,"id":3170063,"threadState":{"x":[{"value":0},{"value":4310846584,"symbolLocation":0,"symbol":"default_context_do_init_ossl_"},{"value":4312149712,"symbolLocation":0,"symbol":"provider_store_method"},{"value":2816},{"value":13198434503872},{"value":3072},{"value":13198434503808},{"value":2816},{"value":4312409168,"symbolLocation":0,"symbol":"default_context_int"},{"value":0},{"value":3073},{"value":0},{"value":0},{"value":139642271727552},{"value":140741783355520},{"value":710539737},{"value":6598861760,"symbolLocation":0,"symbol":"pthread_rwlock_rdlock"},{"value":710934528},{"value":0},{"value":4312409168,"symbolLocation":0,"symbol":"default_context_int"},{"value":4312149712,"symbolLocation":0,"symbol":"provider_store_method"},{"value":5150657152},{"value":1},{"value":0},{"value":8},{"value":8132734976,"symbolLocation":864,"symbol":"usual"},{"value":29},{"value":28},{"value":28}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4310903564},"cpsr":{"value":1610616832},"fp":{"value":6163247440},"sp":{"value":6163247440},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":6598861760,"matchesCrashFrame":1},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":13248,"symbol":"pthread_rwlock_rdlock","symbolLocation":0,"imageIndex":0},{"imageOffset":1092364,"symbol":"CRYPTO_THREAD_read_lock","symbolLocation":12,"imageIndex":1},{"imageOffset":1035720,"symbol":"ossl_lib_ctx_get_data","symbolLocation":56,"imageIndex":1},{"imageOffset":1079820,"symbol":"get_provider_store","symbolLocation":28,"imageIndex":1},{"imageOffset":1087976,"symbol":"ossl_provider_deregister_child_cb","symbolLocation":32,"imageIndex":1},{"imageOffset":1035080,"symbol":"OSSL_LIB_CTX_free","symbolLocation":48,"imageIndex":1},{"imageOffset":17496,"symbol":"legacy_teardown","symbolLocation":24,"imageIndex":2},{"imageOffset":1080700,"symbol":"ossl_provider_free","symbolLocation":76,"imageIndex":1},{"imageOffset":914484,"symbol":"evp_cipher_free_int","symbolLocation":48,"imageIndex":1},{"imageOffset":74904,"symbol":"SSL_CTX_free","symbolLocation":420,"imageIndex":3},{"imageOffset":717620,"symbol":"Ref<lftp_ssl_openssl_instance>::~Ref()","symbolLocation":32,"imageIndex":4},{"imageOffset":176220,"symbol":"__cxa_finalize_ranges","symbolLocation":464,"imageIndex":5},{"imageOffset":175600,"symbol":"exit","symbolLocation":44,"imageIndex":5},{"imageOffset":77692,"symbol":"dyld4::LibSystemHelpers::exit(int) const","symbolLocation":20,"imageIndex":6},{"imageOffset":24220,"symbol":"start","symbolLocation":2620,"imageIndex":7}]}],
>> "usedImages" : [
>> {
>>  "source" : "P",
>>  "arch" : "arm64e",
>>  "base" : 6598848512,
>>  "size" : 53244,
>>  "uuid" : "886caca0-5762-3640-8db2-3fa3b911c062",
>>  "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
>>  "name" : "libsystem_pthread.dylib"
>> },
>> {
>>  "source" : "P",
>>  "arch" : "arm64",
>>  "base" : 4309811200,
>>  "size" : 2228224,
>>  "uuid" : "16754905-92aa-35a4-828d-bd0c1082a885",
>>  "path" : "\/opt\/local\/libexec\/*\/libcrypto.3.dylib",
>>  "name" : "libcrypto.3.dylib"
>> },
>> {
>>  "source" : "P",
>>  "arch" : "arm64",
>>  "base" : 4305223680,
>>  "size" : 65536,
>>  "uuid" : "1f4ca25c-370f-38d6-be10-60fa4bd6f873",
>>  "path" : "\/opt\/local\/libexec\/*\/legacy.dylib",
>>  "name" : "legacy.dylib"
>> },
>> {
>>  "source" : "P",
>>  "arch" : "arm64",
>>  "base" : 4305928192,
>>  "size" : 360448,
>>  "uuid" : "ec5024b2-847f-3858-9ee8-ad603fc7f357",
>>  "path" : "\/opt\/local\/libexec\/*\/libssl.3.dylib",
>>  "name" : "libssl.3.dylib"
>> },
>> {
>>  "source" : "P",
>>  "arch" : "arm64",
>>  "base" : 4303634432,
>>  "size" : 819200,
>>  "uuid" : "c6dd1446-1883-32c2-aca8-1245740d372d",
>>  "path" : "\/opt\/local\/bin\/lftp",
>>  "name" : "lftp"
>> },
>> {
>>  "source" : "P",
>>  "arch" : "arm64e",
>>  "base" : 6597566464,
>>  "size" : 528372,
>>  "uuid" : "a3869999-0792-3e09-b3fb-5e87ae4639be",
>>  "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
>>  "name" : "libsystem_c.dylib"
>> },
>> {
>>  "source" : "P",
>>  "arch" : "arm64e",
>>  "base" : 6598901760,
>>  "size" : 147448,
>>  "uuid" : "668f3379-151d-3ed4-859c-8f56e7941cde",
>>  "path" : "\/usr\/lib\/system\/libdyld.dylib",
>>  "name" : "libdyld.dylib"
>> },
>> {
>>  "source" : "P",
>>  "arch" : "arm64e",
>>  "base" : 6595534848,
>>  "size" : 566464,
>>  "uuid" : "de46dd52-4994-3fd8-b4b4-e352a1a19354",
>>  "path" : "\/usr\/lib\/dyld",
>>  "name" : "dyld"
>> }
>> ],
>> "sharedCache" : {
>> "base" : 6594887680,
>> "size" : 3403612160,
>> "uuid" : "2d053604-1cb6-3821-a8df-360eb2eb519b"
>> },
>> "vmSummary" : "ReadOnly portion of Libraries: Total=868.8M resident=0K(0%) swapped_out_or_unallocated=868.8M(100%)\nWritable regions: Total=1.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.2G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nActivity Tracing                   256K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           230.2M       27 \nMALLOC guard page                   96K        4 \nMALLOC_MEDIUM (reserved)         600.0M        5         reserved VM address space (unallocated)\nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.0M        1 \nStack                             8176K        1 \n__AUTH                             307K       58 \n__AUTH_CONST                      3542K      143 \n__DATA                            1657K      146 \n__DATA_CONST                      4550K      156 \n__DATA_DIRTY                       361K       58 \n__LINKEDIT                       763.9M       12 \n__OBJC_CONST                       289K       36 \n__OBJC_RO                         65.1M        1 \n__OBJC_RW                         1981K        1 \n__TEXT                           104.9M      162 \ndyld private memory                256K        1 \nshared memory                       32K        2 \n===========                     =======  ======= \nTOTAL                              2.2G      817 \nTOTAL, minus reserved VM space     1.2G      817 \n",
>> "legacyInfo" : {
>> "threadTriggered" : {
>>  "queue" : "com.apple.main-thread"
>> }
>> },
>> "trialInfo" : {
>> "rollouts" : [
>>  {
>>    "rolloutId" : "60f8ddccefea4203d95cbeef",
>>    "factorPackIds" : {
>> 
>>    },
>>    "deploymentId" : 240000021
>>  },
>>  {
>>    "rolloutId" : "62b4513af75dc926494899c6",
>>    "factorPackIds" : {
>>      "COREOS_ICD" : "62fbe3cfa9a700130f60b3ea"
>>    },
>>    "deploymentId" : 240000014
>>  }
>> ],
>> "experiments" : [
>> 
>> ]
>> }
>> }
>> 
>> 
>> 
>> 
>> Smith
>> 
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>>   Smith Kennedy
>>   smithkennedy at icloud.com
>> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> 
>> 
> 



More information about the macports-users mailing list