Lisp HUG Maillist Archive

Bad header in non-pointer segment


I'm getting the errors below fairly regularly and wondered if anyone
could provide insight into what is happening.  This is on LispWorks
5.1 64bit x86.

This is a server that is responding to external requests: it creates a
thread to handle each request and returns some result through a TCP
connection.  We create about 60 threads per second, and at most about
30 threads are active at one time.  Each thread uses some global data
(hash tables mostly) and we mp:with-lock around those accesses.

Usually the server will run for a while, and needs to be restarted
after getting 4 or 5 of these errors.

Any advice appreciated.

Cheers,
Chris Dean

CL-USER 1 > <**>Bad header in non-pointer segment 0x4040000000 : poi-place 0x4041d68dd8 pointer 0x4041d68d73 header 0x42807b15c3
Memory dump 0x4041d68d33 -> 0x4041d68db3 [end 0x4050000000]
0x0000004041d68d30  0x0000004000049839 0x000000400005c979 0x000000000002610d 0x0000004000049839
0x0000004041d68d50  0x0000004000049839 0x0000000000007530 0x000000006a052fa0            (nil)
0x0000004041d68d70  0x00000042807b15c3 0x0000004000049839 0x0000004041d8fd80            (nil)
0x0000004041d68d90             (nil) 0x00000000000270ed            (nil)            (nil)
Memory dump 0x4041d68d98 -> 0x4041d68e18 [end 0x4050000000]
0x0000004041d68d98  0x00000000000270ed            (nil)            (nil) 0x000000006a053960
0x0000004041d68db8  0x0000006000000028            (nil) 0x00002aaaab51a730            (nil)
0x0000004041d68dd8  0x0000000000000037 0x00000000006b5e40            (nil)            (nil)
0x0000004041d68df8  0x00002aaaab51aaa0 0x0000004000049839            (nil) 0x000000418002654c
<**>Bad header in non-pointer segment 0x4040000000 : poi-place 0x40451ac130 pointer 0x40451ac0cb header 0x42a15e43bb
Memory dump 0x40451ac08b -> 0x40451ac10b [end 0x4050000000]
0x00000040451ac088  0x0000004000049839 0x000000400005c979 0x000000000002613d 0x0000004000049839
0x00000040451ac0a8  0x0000004000049839 0x0000000000007530 0x000000007c877fa0            (nil)
0x00000040451ac0c8  0x00000042a15e43bb 0x0000004000049839 0x00000040451d30e0            (nil)
0x00000040451ac0e8             (nil) 0x00000000000270f5            (nil)            (nil)
Memory dump 0x40451ac0f0 -> 0x40451ac170 [end 0x4050000000]
0x00000040451ac0f0  0x00000000000270f5            (nil)            (nil) 0x000000007c878960
0x00000040451ac110  0x0000006000000028            (nil) 0x00002aaaab524190            (nil)
0x00000040451ac130  0x0000000000000037 0x0000000000d9b190            (nil)            (nil)
0x00000040451ac150  0x00002aaaab524500 0x0000004000049839            (nil) 0x000000401000144c
<**> Bad object when trying to copy segment 0x4050000000 [ 0/18] place 0x40ecc16978 pointer 0x4050039c93 base-pointer 0x4050039c90 word 0x4000049809
Memory dump 0x4050039c50 -> 0x4050039cd0 [end 0x4050404000]
0x0000004050039c50  0x0000000000000027 0x0000000000000027 0x0000000000000027 0x0000000000000027
0x0000004050039c70  0x00000000000000ee 0x00000040a0711e13 0x0000004050039bab 0x000000300000002e
0x0000004050039c90  0x0000004000049809 0x0000004000049839 0x0000004050039b93 0x0000004210018913
0x0000004050039cb0  0x00000040b0124429            (nil) 0x000000380000002e 0x0000000000000027
Memory dump 0x40ecc16938 -> 0x40ecc169b8 [end 0x40f0000000]
0x00000040ecc16938  0x00000000000270ed            (nil) 0x00000040ecc16ad0 0x00002aaab360f960
0x00000040ecc16958  0x0000006000000000            (nil) 0x00002aaaab529fb0            (nil)
0x00000040ecc16978  0x0000004050039c93 0x00000000010bd898            (nil)            (nil)
0x00000040ecc16998  0x00002aaaab52a320 0x00000040b012ab79 0x0000004000049839 0x00000040ecc16988

Error: Destroying a stack-group with a cond
  1 (abort) Wait for another connection for service 8008.

Type :b for backtrace, :c <option number> to proceed,  or :? for other options

CL-USER 1 : 1 > 
CL-USER 2 : 1 > :b
Call to ERROR
Call to (SUBFUNCTION 2 COMM:START-UP-SERVER)
Call to (SUBFUNCTION 1 COMM::LISTEN-AND-ATTACH-STREAM-NO-ERROR)
Call to SIGNAL
Call to ERROR
Call to MP::DELETE-PROCESS
Call to MP::INITIALIZE-PROCESS-STACK
Call to MP:CREATE-PROCESS
Call to MP:PROCESS-RUN-FUNCTION
....


Updated at: 2020-12-10 08:43 UTC