Is this whilst shutting down Wapbox? Or just when terminating a WAP Session?
It seems these two bugs are related. About the wsp session: Possibly http_headers are already destroyed at some other point. Have you tried mutexing this member to avoid race conditions? -- Rene