[comp.windows.x] SUN 3/60 3.5OS server crash

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (03/31/89)

re: Sun server crashing when given lots of lines

Your server is probably running with a restricted stack space (e.g. 512K).
Your server is almost certainly compiled to use stack allocation for temporary
objects, and apparently whatever version of alloca() you (and I) are using
doesn't have the courtesy of returning NULL when the stack is exceeded.  You
have a couple of options:

Find a way to unlimit or increase the stack size of the server.  (We'll do this
for R4.)

Recompile the server to not use alloca().