Re: [squid-users] Crash with workers / shm after update from 3.2.1 to 3.2.2

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 16 Oct 2012 11:03:07 +1300

On 16.10.2012 10:26, Daniel Beschorner wrote:
> I've seen right now the "Improve CLANG support" and "Portable
> flexible arrays instead of r12255 " threads on squid-dev, that seems
> exactly to be the issue that broke SMP, so maybe we get this fixed
> soon.
>
> Daniel

Give that patch in "Portable flexible arrays instead of r12255" a go.
If it gives you any problems I would be VERY interested to get quick
feedback. :-)

Amos

>
>>>> Daniel Beschorner wrote
>> I cannot start V3.2.2.
>>
>> Squid seems to die in
>>
>> Ipc::StoreMap::openForReadingAt() ->
>> Ipc::ReadWriteLock::lockShared()
>>
>> at start or first request.
>>
>> If I undo this change (from
>> http://www.squid-cache.org/Versions/v3/3.2/changesets/squid-3.2-
>> 11649.patch):
>>
>> - Slot slots[]; ///< slots storage
>> + Slot *slots; ///< slots storage
>>
>> it works again....
>>
>> Without shared mem it works too.
>>
>> Thank you
>> Daniel
Received on Mon Oct 15 2012 - 22:03:09 MDT

This archive was generated by hypermail 2.2.0 : Tue Oct 16 2012 - 12:00:03 MDT