Hi Herve,

Its hard to tell what the problem is. Can you post more detailed  
information about your server and the VM you are using? Does it crash  
always with the same stack? Does it crash immediately the first time  
you access the DB or after some time?  Can you even reproduce the crash?

Two things to try out:
- if you are on Linux, start the VM with the option -notimer
- start the VM with option -mmap 200MB

HTH,
Adrian


On Apr 11, 2009, at 21:51 , Hervé Darce wrote:

> Hi,
>
> I run my server with "squeak  -vm display=none myimage.image"
>
> I use postgresql to store data :
> * class YoGlorpDb for connection with postgresql
> * class YoDbRootComponent for for web display
>
> On my computer, the display was without error. But on the web server,
> the image stops abruptly with the message :
>
> ----------------
> Segmentation fault
>
> 37940600 Socket>connectNonBlockingTo:port:
> 37940508 Socket>connectTo:port:waitForConnectionFor:
> 37940416 Socket>connectTo:port:
> 37932200 PGConnection>openSocket
> 37932108 PGConnection>stStartup:
> 37931924 PGActiveObject>processEvent:
> 37931832 PGActiveObject>saProcessEventsUntil:
> 37931304 PGConnection>startup
> 37931740 [] in SqueakDatabaseAccessor>loginIfError:
> 37931212 BlockContext>on:do:
> 37931120 DatabaseAccessor>execute:ifError:
> 37910208 SqueakDatabaseAccessor>loginIfError:
> 37910116 DatabaseAccessor>login
> 37910392 [] in YoGlorpDb>connect
> 37910024 BlockContext>on:do:
> 37909380 BlockContext>ifError:
> 37874356 YoGlorpDb>connect
> 37874264 YoGlorpDb>initialize
> 37874172 Behavior>new
> 37874080 >new
> 37873988 YoDbRootComponent>initialize
> 37873896 >new
> 37871628 WARenderLoopMain>createRoot
> 37871536 WARenderLoopMain>start:
> 37862092 WASession>start:
> 37862000 [] in WASession>performRequest:
> 37860588 Dictionary>at:ifAbsent:
> 37860496 WASession>performRequest:
> 37861632 [] in WASession>responseForRequest:
> 37860404 BlockContext>on:do:
> 37861724 [] in WASession>withErrorHandler:
> 37860312 BlockContext>on:do:
> 37860196 WASession>withErrorHandler:
> 37861448 [] in WASession>responseForRequest:
> 37860008 BlockContext>on:do:
> 37859916 >use:during:
> 37859548 [] in WASession>responseForRequest:
> 37859732 [] in WASession>withEscapeContinuation:
> 37859824 >currentDo:
> 37859640 WASession>withEscapeContinuation:
> 37859272 WASession>responseForRequest:
> 37858296 [] in WASession>incomingRequest:
> 37859144 BlockContext>on:do:
> 37859364 [] in WAProcessMonitor>critical:ifError:
> 37859052 BlockContext>ensure:
> 37858868 [] in WAProcessMonitor>critical:ifError:
> 37858960 [] in BlockContext>newProcess
> Abandon
> ----------------
>
> What is the problem on my web server?
>
> Cheers,
>
> Herve Darce
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to