* Henrik Nordstrom ([EMAIL PROTECTED]): > On sön, 2007-09-16 at 19:54 +0200, Henrik Nordstrom wrote: > > On sön, 2007-09-16 at 13:24 +0200, Thomas-Martin Seck wrote: > > > > > The segfaults occur only on the HEAD FreeBSD branch (7-CURRENT). We > > > tried to see whether this is a compiler issue (FreeBSD 7 will ship with > > > gcc 4.2.1 as the system compiler while FreeBSD-6 uses 3.4.6) and found > > > that it probably is not: on FreeBSD 6, cf_gen works even when gcc 4.2.1 > > > is used to compile Squid while on FreeBSD HEAD it always fails, even > > > when compiling Squid with gcc 3.4. (It might be a more subtle compiler > > > issue regarding system libraries nonetheless. I posted about this > > > problem a week ago on the FreeBSD-current development list but got no > > > reply so far.) > > > > Could also be some uninitialized data.. > > > > > I see the same issues with 3.0.PRE7 when it is patched up to changeset > > > 11081; the info I get from the core is almost identical. > > > > Ok. Same code, same error. Feels logical...
:-) > > > #0 0x28152226 in strcmp () from /lib/libc.so.7 > > > #1 0x08048da6 in checkDepend (directive=0x282058c0 "external_acl_type", > > > name=0xbfbfe11e "externalAclHelper", types=0x282025e0, > > > entries=0x28207730) > > > at cf_gen.c:133 > > Found a significant error related to this. Please try the attached > patch, and please file a bug report so I have something to refer to.. The patch works, thanks (tested against STABLE16 with -O0 and -O2)! I filed the issue as bug #2086. The additional debug info from frame 1 you requested is included in this bug report in case you still need it.
