I'm running Lion 10.7.4. I just built tn5250, but when I run it I get Segmentation fault:11.

dtruss output attached.


SYSCALL(args) = return
issetugid(0x101A81000, 0x7FFF61680CC0, 0x7FFF61680B00) = 0 0
csops(0x0, 0x0, 0x7FFF6168074C) = 0 0
shared_region_check_np(0x7FFF6167E698, 0x2, 0x55) = 0 0
stat64("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x7FFF6167F860, 0x7FFF61680750) = 0 0
open("/usr/lib/dtrace/libdtrace_dyld.dylib\0", 0x0, 0x0) = 3 0
pread(0x3, "\312\376\272\276\0", 0x1000, 0x0) = 4096 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x1000) = 4096 0
mmap(0x101A8C000, 0x2000, 0x5, 0x12, 0x3, 0x100001F) = 0x1A8C000 0
mmap(0x101A8E000, 0x1000, 0x3, 0x12, 0x3, 0x100001F) = 0x1A8E000 0
mmap(0x101A8F000, 0x1F40, 0x1, 0x12, 0x3, 0x100001F) = 0x1A8F000 0
close(0x3) = 0 0
stat64("/usr/lib/libncurses.5.4.dylib\0", 0x7FFF6167F640, 0x7FFF616804C0) = 0 0
stat64("/usr/local/lib/lib5250.0.dylib\0", 0x7FFF6167F640, 0x7FFF616804C0) = 0 0
open("/usr/local/lib/lib5250.0.dylib\0", 0x0, 0x0) = 3 0
pread(0x3, "\317\372\355\376\a\0", 0x1000, 0x0) = 4096 0
mmap(0x101A97000, 0x28000, 0x5, 0x12, 0x3, 0x100001F) = 0x1A97000 0
mmap(0x101ABF000, 0x2000, 0x3, 0x12, 0x3, 0x100001F) = 0x1ABF000 0
mmap(0x101AC1000, 0x14DD4, 0x1, 0x12, 0x3, 0x100001F) = 0x1AC1000 0
fcntl(0x3, 0x2C, 0x7FFF6167D958) = 0 0
close(0x3) = 0 0
stat64("/usr/lib/libssl.0.9.8.dylib\0", 0x7FFF6167F640, 0x7FFF616804C0) = 0 0
stat64("/usr/lib/libcrypto.0.9.8.dylib\0", 0x7FFF6167F640, 0x7FFF616804C0) = 0 0
stat64("/usr/lib/libSystem.B.dylib\0", 0x7FFF6167F640, 0x7FFF616804C0) = 0 0
stat64("/usr/lib/system/libcache.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libcommonCrypto.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libcompiler_rt.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libcopyfile.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libdispatch.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libdnsinfo.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libdyld.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libkeymgr.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/liblaunch.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libmacho.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libmathCommon.A.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libquarantine.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libremovefile.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libsystem_blocks.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libsystem_c.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libsystem_dnssd.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libsystem_info.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libsystem_kernel.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libsystem_network.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libsystem_notify.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libsystem_sandbox.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libunc.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libunwind.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/usr/lib/system/libxpc.dylib\0", 0x7FFF6167F260, 0x7FFF616800E0) = 0 0
stat64("/System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent\0", 0x7FFF6167F330, 0x7FFF616801B0) = 0 0
stat64("/usr/lib/libz.1.dylib\0", 0x7FFF6167F330, 0x7FFF616801B0) = 0 0
getpid(0x7FFF61680568, 0x101A8A004, 0xEA60) = 11574 0
__sysctl(0x7FFF616800CC, 0x2, 0x7FFF616800B8) = 0 0
bsdthread_register(0x7FFF90F0AB68, 0x7FFF90F0AB78, 0x2000) = 0 0
thread_selfid(0x7FFF90F0AB68, 0x7FFF90F0AB78, 0x0) = 273865 0
mmap(0x0, 0x2000, 0x3, 0x1002, 0x1000000, 0x4) = 0x1A91000 0
mprotect(0x101A91000, 0x88, 0x1) = 0 0
mmap(0x0, 0x17000, 0x3, 0x1002, 0x1000000, 0x6) = 0x1AD6000 0
mprotect(0x101AD6000, 0x1000, 0x0) = 0 0
mprotect(0x101AEC000, 0x1000, 0x0) = 0 0
mmap(0x0, 0x17000, 0x3, 0x1002, 0x1000000, 0x6) = 0x1AED000 0
mprotect(0x101AED000, 0x1000, 0x0) = 0 0
mprotect(0x101B03000, 0x1000, 0x0) = 0 0
mmap(0x0, 0x1000, 0x3, 0x1002, 0x1000000, 0x6) = 0x1A8B000 0
mprotect(0x101A8B000, 0x1000, 0x1) = 0 0
mprotect(0x101A91000, 0x88, 0x3) = 0 0
mmap(0x7FAED3400000, 0x200000, 0x3, 0x1002, 0x7000000, 0x6) = 0xD3400000 0
munmap(0x7FAED3500000, 0x100000) = 0 0
mprotect(0x101A91000, 0x88, 0x1) = 0 0
getrlimit(0x1008, 0x7FFF616804F0, 0x101AB526B) = 0 0
open_nocancel("/usr/local/etc/tn5250rc\0", 0x0, 0x1B6) = -1 Err#2
getuid(0x4, 0x7FFF7B95E078, 0xFFFFFFFFFFFFFFFF) = 0 0
mmap(0x7FAED3400000, 0x1000000, 0x3, 0x1002, 0x2000000, 0x7) = 0xD3600000 0
munmap(0x7FAED3600000, 0x200000) = 0 0
munmap(0x7FAED4000000, 0x600000) = 0 0
open_nocancel("/etc/services\0", 0x0, 0x1B6) = 3 0
open("/dev/dtracehelper\0", 0x2, 0xFFFFFFFFFFFFFFE8) = 3 0
ioctl(0x3, 0x80086804, 0x7FFF616805E8) = 0 0
close(0x3) = 0 0
stat64("/usr/lib/libstdc++.6.dylib\0", 0x7FFF6167F690, 0x7FFF61680510) = 0 0
stat64("/usr/lib/libc++abi.dylib\0", 0x7FFF6167F5A0, 0x7FFF61680420) = 0 0
getpid(0x7FFF6167FF04, 0x3, 0x1) = 11574 0
__mac_syscall(0x7FFF8AB7A7FE, 0x2, 0x7FFF6167FF50) = 0 0
stat64("/AppleInternal\0", 0x7FFF6167FFB8, 0x0) = -1 Err#2
audit_session_self(0x7FFF6167FD08, 0xFFFFFFFFFFFFFFFC, 0x4) = 5379 0
geteuid(0x7FFF6167FD08, 0xFFFFFFFFFFFFFFFC, 0x0) = 0 0
getegid(0x7FFF6167FD08, 0xFFFFFFFFFFFFFFFC, 0x0) = 0 0
getaudit_addr(0x7FFF6167FF50, 0x30, 0x0) = 0 0
csops(0x2D36, 0x7, 0x7FFF6167FB80) = 0 0
mmap(0x0, 0x2000, 0x3, 0x1002, 0x1000000, 0x14) = 0x1A93000 0
mprotect(0x101A93000, 0x88, 0x1) = 0 0
mmap(0x0, 0x17000, 0x3, 0x1002, 0x1000000, 0x6) = 0x1B04000 0
mprotect(0x101B04000, 0x1000, 0x0) = 0 0
mprotect(0x101B1A000, 0x1000, 0x0) = 0 0
mmap(0x0, 0x17000, 0x3, 0x1002, 0x1000000, 0x6) = 0x1B1B000 0
mprotect(0x101B1B000, 0x1000, 0x0) = 0 0
mprotect(0x101B31000, 0x1000, 0x0) = 0 0
mprotect(0x101A8B000, 0x1000, 0x3) = 0 0
mprotect(0x101A8B000, 0x1000, 0x1) = 0 0
mprotect(0x101A93000, 0x88, 0x3) = 0 0
mmap(0x7FAED3400000, 0x200000, 0x3, 0x1002, 0x7000000, 0x7) = 0xD3500000 0
munmap(0x7FAED3600000, 0x100000) = 0 0
mprotect(0x101A93000, 0x88, 0x1) = 0 0
shm_open(0x7FFF8AB2212F, 0x0, 0x0) = 3 0
mmap(0x0, 0x1000, 0x1, 0x1, 0x3, 0x0) = 0x1A95000 0
close_nocancel(0x3) = 0 0
open_nocancel("/etc/sysinfo.conf\0", 0x0, 0x1B6) = -1 Err#2
issetugid(0x7FFF7B95D268, 0x40, 0xFFFFFFFF) = 0 0
open_nocancel("/var/root/.tn5250rc\0", 0x0, 0x1B6) = -1 Err#2
__sysctl(0x7FFF61680720, 0x6, 0x0) = 0 0
__sysctl(0x7FFF61680720, 0x6, 0x7FAED3803800) = 0 0
kqueue(0x7FFF61680938, 0x7FFFFFE00050, 0x3CD) = 3 0
kevent(0x3, 0x7FFF61680918, 0x1) = 0 0
socket(0x1, 0x1, 0x0) = 4 0
setsockopt(0x4, 0xFFFF, 0x1022) = 0 0
setsockopt(0x4, 0xFFFF, 0x1100) = 0 0
connect_nocancel(0x4, 0x7FFF616806D8, 0x6A) = 0 0
sendto_nocancel(0x4, 0x7FAED3400D70, 0x1C) = 28 0
recvfrom_nocancel(0x4, 0x7FFF61680720, 0x4) = 4 0
socketpair(0x1, 0x1, 0x0) = 0 0
setsockopt(0x5, 0xFFFF, 0x1100) = 0 0
sendto_nocancel(0x4, 0x7FAED3400E00, 0x31) = 49 0
sendmsg_nocancel(0x4, 0x7FFF61680650, 0x0) = 1 0
close_nocancel(0x6) = 0 0
recvfrom_nocancel(0x5, 0x7FFF616806A0, 0x4) = 4 0
close_nocancel(0x5) = 0 0
kevent(0x3, 0x7FFF61680918, 0x1) = 0 0
kevent(0x3, 0x0, 0x0) = 1 0
kevent(0x3, 0x0, 0x0) = 1 0
recvfrom_nocancel(0x4, 0x7FFF616806B0, 0x1C) = 28 0
recvfrom_nocancel(0x4, 0x7FAED3400E00, 0x31) = 49 0
select_nocancel(0x5, 0x7FFF616806E0, 0x0) = 0 0
kevent(0x3, 0x7FFF616801B0, 0x1) = 0 0
sendto_nocancel(0x4, 0x7FAED3400D70, 0x1C) = 28 0
close_nocancel(0x3) = 0 0
fstat64(0x3, 0x7FFF6167F818, 0x7FFF6167F8DC) = 0 0
read_nocancel(0x3, "#\n# Network services, Internet style\n#\n# Note that it is presently the policy of IANA to assign a single well-known\n# port number for both TCP and UDP; hence, most entries here have two entries\n# even if the protocol doesn't support UDP operations.\n#\n# The", 0x1000) = 4096 0
close_nocancel(0x3) = 0 0
socket(0x2, 0x1, 0x0) = 3 0
connect(0x3, 0x7FFF61680B00, 0x10) = 0 0
ioctl(0x3, 0x8004667E, 0x7FFF61680AF8) = 0 0


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].