help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] gst-remote in git HEAD


From: Stefan Schmiedl
Subject: Re: [Help-smalltalk] gst-remote in git HEAD
Date: Sat, 23 May 2009 14:15:31 +0200

On Sat, 23 May 2009 01:51:04 +0200
Stefan Schmiedl <address@hidden> wrote:

> Greetings,
> 
> a few hours ago I have installed GNU Smalltalk from git,
> even posted my first blog post about it :-o
> 
> I am having some troubles with gst-remote, however. Starting
> from scratch with a newly built image:
> 
> address@hidden ~ $ gst -i -I gst.im
> "Global garbage collection... done"
> GNU Smalltalk ready
> 
> st> ^D
> address@hidden ~ $ gst-remote -I gst.im --daemon
> 
> address@hidden ~ $ gst-remote server started.
> 
> 
> address@hidden ~ $ gst-remote --eval '3+4'
> /usr/local/share/smalltalk/kernel/../scripts/Remote.st:276: Aborted
> (ip 44)SocketAddress class>>#extractAddressesAfterLookup:
> (ip 6)[] in SocketAddress class>>#allByName:
> (ip 4)<unwind> BlockClosure>>#ensure:
> (ip 48)[] in SocketAddress class>>#allByName:
> (ip 4)[] in SocketAddress class>>#at:cache:
> (ip 10)Dictionary>>#at:ifAbsent:
> (ip 18)SocketAddress class>>#at:cache:
> (ip 24)SocketAddress class>>#allByName:
> (ip 10)SocketAddress class>>#initLocalAddresses
> (ip 10)IPAddress class(SocketAddress class)>>#anyLocalAddress
> (ip 28)[] in UndefinedObject>>#executeStatements
> (ip 10)<unwind> BlockClosure>>#on:do:
> (ip 14)UndefinedObject>>#executeStatements
> (ip 0)<bottom>
> Aborted
> 

strace gst-remote --pid produces this:

open("/etc/hosts", O_RDONLY|O_CLOEXEC)  = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(4, {st_mode=S_IFREG|0644, st_size=1537, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x7f85614d6000
read(4, "# /etc/hosts: Local Host Database"..., 4096) = 1537
close(4)                                = 0
munmap(0x7f85614d6000, 4096)            = 0
rt_sigprocmask(SIG_BLOCK, ~[QUIT ILL ABRT BUS SEGV RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[QUIT ILL ABRT BUS SEGV RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[QUIT ILL ABRT BUS SEGV RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
mprotect(0, 4096, PROT_READ|PROT_WRITE) = -1 ENOMEM (Cannot allocate memory)
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(7152, 7152, SIGABRT)             = 0
--- SIGABRT (Aborted) @ 0 (0) ---

So somewhere it looks like gst is running out of memory.

NB: Looking at the trace file made me wonder

        $ grep localtime gst-rem.log | wc -l
        715

Why does gst-remote check /etc/localtime *that* often?

Curious,
s.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]