Re: Support of macOS at the last master

"Kirill A. Korinsky" <[email protected]>
Newsgroups gmane.lisp.gcl.devel
Message-ID <[email protected]>
After commenting a target at gcl/h/386-macosx.defs it loads but crashes as:

/Users/catap/src/gcl/gcl/unixport/raw_pre_gcl /Users/catap/src/gcl/gcl/unixport/ -libdir /Users/catap/src/gcl/gcl/ < foo
GCL (GNU Common Lisp)  April 1994  9489691 pages
Building symbol table for /Users/catap/src/gcl/gcl/unixport/raw_pre_gcl ..
Segmentation violation: c stack ok:signalling error
Unrecoverable error: Segmentation violation..
/bin/sh: line 1:  3729 Abort trap: 6           /Users/catap/src/gcl/gcl/unixport/raw_pre_gcl /Users/catap/src/gcl/gcl/unixport/ -libdir /Users/catap/src/gcl/gcl/ < foo
make[1]: *** [saved_pre_gcl] Error 134

and stack trace looks like:

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

Exception Type:        EXC_BAD_ACCESS (SIGABRT)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

VM Region Info: 0 is not in any region.  Bytes before following region: 4294967296
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->
      __TEXT                      100000000-1000e0000    [  896K] r-x/r-x SM=COW  ...*/raw_pre_gcl

Application Specific Information:
abort() called


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	    0x7ff80bb57ffe __pthread_kill + 10
1   libsystem_pthread.dylib       	    0x7ff80bb8e1ff pthread_kill + 263
2   libsystem_c.dylib             	    0x7ff80bad9d24 abort + 123
3   raw_pre_gcl                   	       0x10006a010 error + 400
4   ???                           	               0x0 ???
5   libsystem_c.dylib             	    0x7ff80ba8cbec _qsort + 282
6   raw_pre_gcl                   	       0x1000b920b build_symbol_table + 1307


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x000000010cce2600  rcx: 0x0000000102414ea8  rdx: 0x0000000000000000
  rdi: 0x0000000000000103  rsi: 0x0000000000000006  rbp: 0x0000000102414ed0  rsp: 0x0000000102414ea8
   r8: 0x00007ff84d2e1bc8   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000246
  r12: 0x0000000000000103  r13: 0x00000001000b9380  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007ff80bb57ffe  rfl: 0x0000000000000246  cr2: 0x0000000102414ff8

Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133

Thread 0 instruction stream:
  66 0f 6f 04 0f f3 0f 6f-0c 0e 66 0f 74 c1 66 0f  f.o....o..f.t.f.
  74 ca 66 0f df c8 66 0f-d7 c1 48 83 c1 10 3d ff  t.f...f...H...=.
  ff 00 00 75 60 4c 39 c9-75 d6 4c 01 cf 4c 01 ce  ...u`L9.u.L..L..
  48 31 c9 48 0f b6 07 4c-0f b6 06 48 ff c7 48 ff  H1.H...L...H..H.
  c6 4c 29 c0 75 95 4d 85-c0 74 90 48 f7 c7 0f 00  .L).u.M..t.H....
  00 00 75 df 49 c7 c1 f0-0f 00 00 eb a3 0f 1f 00  ..u.I...........
 [66]0f 6f 04 0f f3 0f 6f-0c 0e 66 0f 74 c1 66 0f  f.o....o..f.t.f.	<==
  74 ca 66 0f df c8 66 0f-d7 c1 48 83 c1 10 3d ff  t.f...f...H...=.
  ff 00 00 74 db f7 d0 0f-bc c0 48 01 c1 48 0f b6  ...t......H..H..
  44 0f f0 4c 0f b6 44 0e-f0 4c 29 c0 5d c3 90 90  D..L..D..L).]...
  90 90 90 90 90 90 90 90-90 90 90 90 90 90 90 90  ................
  55 48 89 e5 49 89 fb 49-29 f3 48 89 f8 49 39 d3  UH..I..I).H..I9.

Binary Images:
    0x7ff80bb50000 -     0x7ff80bb87fff libsystem_kernel.dylib (*) <5e9789af-5bca-3e41-a07a-c2dcc3180ea3> /usr/lib/system/libsystem_kernel.dylib
    0x7ff80bb88000 -     0x7ff80bb93fff libsystem_pthread.dylib (*) <e5d44afd-2577-3cee-8711-9d8d426229e0> /usr/lib/system/libsystem_pthread.dylib
    0x7ff80ba58000 -     0x7ff80bae0fff libsystem_c.dylib (*) <e42e9d7a-03b4-340b-b61e-dcd45fd4acc0> /usr/lib/system/libsystem_c.dylib
       0x100000000 -        0x1000dffff raw_pre_gcl (*) <c0e63f4a-27ed-3024-8882-864e932580c3> /Users/USER/*/raw_pre_gcl
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

--
wbr, Kirill
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE3/KLNtcfWfLw7JxqmNjZhndZIm4FAmTIucAACgkQmNjZhndZ
Im5WlA//dwJjI5r2zUUHh4ijRMFN9c4LcS6Cs5OHQg6cpby0Fme1g5aczD1TKnvj
Pr1bSfFd8yTcryFVqiFzdt1OQ6lUpOyOXqN0wQ2Ew2ZM6UxdmtZDdr2FUvq7ShS4
blBB2NWzE338616rJ1VYtXWG4Mc6awAg126zIPwZMw6VbbWm8n8PgNK3gZBwaVIW
/LpJT9SzjI1IVYBZR862/xcBfOxGTIyn18l0QPCe3F22en2I2jgUMuJKFX4488Tv
QOefl/Nr3Qip8Qe34CEPBN/4UzrxACv2AgzUKcq8xCldxByZ3q7s/V2aBr3TUtYE
VRqrlvxYH0ApvEQwTOgtCV+96WVNDff75hvqc/vfdsAyOL7qSxyn7Ldki+mr9vuB
IAqa6tIZI7hud/BvQR+uuMWkiudyrkfbzhuaZDCKCz3Na0KBYXEgxVOyrPeBV0e2
u0ZmtuCZKxHsqkE97PwUiW9h6P3iYPO3tXMFsX0zzo0SQEbZqpIQYj0Z6tGhkPZX
en/BICl47S1+VM6KJWQ9S/XsW4X5HaPYjktoqDykkcJ5bDd0CyztvzFw9/3REai+
28HGrAMsRjOpmb+BzeC6USpKzsulh6niJyYkEdm18SgBAWa3SOnZjP+IfuVh03lQ
hL+F/guPq4OtePJTkGtzv7MJQ4dJfK7M7+VbIBQyswxzSlUd30o=
=MID3
-----END PGP SIGNATURE-----
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.