[MacPorts] #67149: Transmission 3.00: segfault involving libcrypto.3.dylib that is not present in prior builds or official builds
MacPorts
noreply at macports.org
Sun Mar 26 00:37:28 UTC 2023
#67149: Transmission 3.00: segfault involving libcrypto.3.dylib that is not present
in prior builds or official builds
---------------------+--------------------
Reporter: kakuhen | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
---------------------+--------------------
When using Transmission 3.00 compiled with the latest dependents from
MacPorts, the program now segfaults on startup, producing stack traces
such as the following.
{{{
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [2546]
...
Thread 2 Crashed:
0 libcrypto.3.dylib 0x000000010ceeaa6c
EVP_CIPHER_CTX_set_key_length + 36
1 org.m0k.transmission 0x000000010cb80f6a 0x10cae2000 +
651114
2 org.m0k.transmission 0x000000010cb6c4f8 0x10cae2000 +
566520
3 org.m0k.transmission 0x000000010cb6c58a 0x10cae2000 +
566666
4 org.m0k.transmission 0x000000010cb6d4f0 0x10cae2000 +
570608
}}}
The exact version of Transmission on MacPorts is "Transmission/3.00
(bb6b5a0)". The release on GitHub reports "Transmission/3.00 (f4489c9)".
I suspect the cause to be some API or ABI breakage, but no linker errors
are reported post-destroot. Here is the output of otool(1) on the MacPorts
build.
{{{
% otool -L
/Applications/MacPorts/Transmission.app/Contents/MacOS/Transmission
/Applications/MacPorts/Transmission.app/Contents/MacOS/Transmission:
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
(compatibility version 1.0.0, current version 23.0.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
(compatibility version 1.0.0, current version 275.0.0)
@rpath/Sparkle.framework/Versions/A/Sparkle (compatibility version
1.6.0, current version 1.23.0)
/opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0,
current version 9.1.0)
/opt/local/libexec/openssl3/lib/libcrypto.3.dylib (compatibility
version 3.0.0, current version 3.0.0)
/opt/local/lib/libcurl.4.dylib (compatibility version 13.0.0,
current version 13.0.0)
/opt/local/libexec/openssl3/lib/libssl.3.dylib (compatibility
version 3.0.0, current version 3.0.0)
/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.13)
/System/Library/Frameworks/Security.framework/Versions/A/Security
(compatibility version 1.0.0, current version 59306.140.5)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
(compatibility version 2.0.0, current version 162.0.0)
/System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
(compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
(compatibility version 300.0.0, current version 1677.104.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current
version 228.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1281.100.1)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
(compatibility version 45.0.0, current version 1894.60.100)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
(compatibility version 150.0.0, current version 1677.104.0)
/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
(compatibility version 1.0.1, current version 5.0.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
(compatibility version 1.0.0, current version 1069.24.0)
/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
(compatibility version 1.2.0, current version 1.11.0)
}}}
Then for the official GitHub release, which does not have this problem.
{{{
% otool -L /Applications/Transmission.app/Contents/MacOS/Transmission
/Applications/Transmission.app/Contents/MacOS/Transmission:
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
(compatibility version 1.0.0, current version 23.0.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
(compatibility version 1.0.0, current version 275.0.0)
@rpath/Sparkle.framework/Versions/A/Sparkle (compatibility version
1.6.0, current version 1.23.0)
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current
version 7.0.0)
/usr/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8,
current version 0.9.8)
/usr/lib/libcurl.4.dylib (compatibility version 7.0.0, current
version 8.0.0)
/usr/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, current
version 0.9.8)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.11)
/System/Library/Frameworks/Security.framework/Versions/A/Security
(compatibility version 1.0.0, current version 59306.101.1)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
(compatibility version 2.0.0, current version 162.0.0)
/System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
(compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
(compatibility version 300.0.0, current version 1675.129.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current
version 228.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1281.100.1)
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
(compatibility version 45.0.0, current version 1894.40.150)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
(compatibility version 150.0.0, current version 1675.129.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
(compatibility version 1.0.0, current version 1069.22.0)
/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
(compatibility version 1.2.0, current version 1.11.0)
}}}
**Additional Information**
macOS 10.15.7 19H2026 x86_64
Xcode 12.4 12D4e
--
Ticket URL: <https://trac.macports.org/ticket/67149>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list