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

2012-10-15 Thread Amos Jeffries

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




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

2012-10-15 Thread Daniel Beschorner
 Amos Jeffries squ...@treenet.co.nz wrote
 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
 
Good news - adapted the patch against 3.2.2 and now worker / shm configuration 
works at a first glance, at least the startup crash has definitely gone.

Daniel