help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] Possible bug in Sockets?


From: Ladislav Marek
Subject: Re: [Help-smalltalk] Possible bug in Sockets?
Date: Mon, 17 Oct 2011 10:03:17 +0200

I have tried mentioned script on different machine and I have to
change 5 timesRepeat to 10 timesRepeat to reproduce that SIGABRT.

I think it can be related to GC and weak collections, there is another
script which causes SIGABRT:

weakSet := WeakSet new.
weakSet2 := WeakSet new.

80000 timesRepeat: [
    obj := Object new.

    weakSet add: obj.
    weakSet2 add: obj.

    obj := nil.
].

output:

(ip 32)WeakSet(HashedCollection)>>#rehashObjectsAfter:
(ip 30)WeakSet(HashedCollection)>>#remove:ifAbsent:
(ip 10)WeakSet(Collection)>>#mourn:
(ip 12)WeakSet>>#mourn:
(ip 8)HomedAssociation>>#mourn
(ip 2)[] in ProcessorScheduler>>#startFinalizers
(ip 26)Array(SequenceableCollection)>>#do:
(ip 4)[] in ProcessorScheduler>>#startFinalizers
(ip 4)[] in BlockClosure>>#newProcessWith:
(ip 48)[] in Process>>#onBlock:at:suspend:
(ip 12)<unwind> BlockClosure>>#on:do:
(ip 10)[] in Process>>#onBlock:at:suspend:
(ip 6)<unwind> BlockClosure>>#ensure:
(ip 6)[] in Process>>#onBlock:at:suspend:
(ip 42)[] in BlockClosure>>#asContext:
(ip 14)BlockContext class>>#fromClosure:parent:


Ladislav

On Sun, Oct 16, 2011 at 22:21, Ladislav Marek <address@hidden> wrote:
> On Sun, Oct 16, 2011 at 22:11, Paolo Bonzini <address@hidden> wrote:
>> Can you put a pointer to the server code?
>
> It is attached in
> http://forum.world.st/Bug-in-GC-cuasing-SIGABRT-tt3680625.html. I can
> provide newer version… but Swazoo performs better.
>
>>
>>> is that correct? 5 * 1000 connections is too much?
>
> aha
>
>>
>> Still shouldn't abort.
>>
>> Paolo
>>
>



reply via email to

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