Re: [squid-users] illegal instruction with 3.4.6 (no problem with 3.4.4)

2014-08-27 Thread Amos Jeffries
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 28/08/2014 3:01 a.m., Alfredo Rezinovsky wrote:
> 
> There's no log output, it just exists. No coredump either. strace
> output is useful ?

Not really for this kind of thing.

You wil have to run under a debugger, or enable core dumps in the OS
settings for that. Some details on how to do that can be found at
http://wiki.squid-cache.org/SquidFaq/BugReporting



The big changes since 3.4.4 were an autotools version bump, and C++11
detection.

You can try adding --disable-arch-native and see if it is the -march
build options going bad in your compiler.

If that does not work the problem is probably in the autotools scripts
for detection of CPU type. That would be an autotools (autoconf)
project problem.


Another thing possible is if you auto-apply patches which are now
applying as "reversed" that can make them actually cause a problem.

Amos

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJT/f60AAoJELJo5wb/XPRjH0sH/R93AB3D/SSP5hQZIooGzUzY
9eSD60WaSZVraCfn5oVaqDdKNz+8RLoh4mvlnvwz9S3p8AmH7NeeYb0mmrtV5/fr
jT2x5QwXofdQGO7l2zE5sPcblQ+C+u5Tplof/AENcTqIjXzYV73Tt+YF35zZj0rR
dvO7woX0y2k6jk/dE0o4BtRG0l2qW76QOFcrd/Yqmv0l7wZAgftzgD/D4sYcKUMp
Pio08BGOjRYMk+F4T1ZBvvvBYB21LMnA5j86oZ7nHRpyeZiQ9HhsEOnb0fu34pe9
0XwNO8f9wWXvXk+97tYECD99jbMb8DEBRPOgFq5j83Ym6RPJxy0fSPxVNzYy8GM=
=O7Ur
-END PGP SIGNATURE-


Re: [squid-users] illegal instruction with 3.4.6 (no problem with 3.4.4)

2014-08-27 Thread Alfredo Rezinovsky


There's no log output, it just exists. No coredump either. strace output 
is useful ?

Please provide more details, like log output, or a coredump backtrace.

Thanks

2014-08-27 11:44 GMT-03:00 Alfredo Rezinovsky :

squid exits with "illegal instruction" message

Squid Cache: Version 3.4.6-20140826-r13168
configure options:  '--disable-auth' '--disable-auto-locale'
'--disable-cache-digests' '--disable-cpu-profiling' '--disable-debug-cbdata'
'--disable-delay-pools' '--disable-devpoll' '--disable-ecap' '--disable-esi'
'--disable-eui' '--disable-external-acl-helpers'
'--disable-follow-x-forwarded-for' '--disable-forw-via-db'
'--enable-gnuregex' '--disable-htcp' '--disable-icap-client'
'--disable-ident-lookups' '--enable-internal-dns'
'--disable-ipf-transparent' '--disable-ipfw-transparent' '--disable-ipv6'
'--disable-leakfinder' '--disable-pf-transparent' '--disable-poll'
'--disable-select' '--disable-snmp' '--disable-ssl' '--disable-stacktraces'
'--disable-translation' '--disable-url-rewrite-helpers' '--disable-wccp'
'--disable-wccpv2' '--disable-win32-service' '--disable-x-accelerator-vary'
'--disable-icmp' '--disable-storeid-rewrite-helpers' '--enable-async-io'
'--enable-disk-io' '--enable-epoll' '--enable-http-violations'
'--enable-inline' '--enable-kill-parent-hack' '--enable-linux-netfilter'
'--enable-log-daemon-helpers' '--enable-removal-policies' '--enable-storeio'
'--enable-unlinkd' '--enable-x-accelerator-vary' '--enable-zph-qos'
'--with-default-user=nobody' '--with-pthreads' '--with-included-ltdl'
--enable-ltdl-convenience

No problem with Squid Cache: Version 3.4.4-20140323-r13111 with the same
compile options

the cpu is cpu an Intel(R) Xeon(R) CPU E5345  @ 2.33GHz
supporting: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64
monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca lahf_lm dtherm
tpr_shadow

It seems to be trying to use non existent instructions due to a cpu
misdetection.

--
Alfrenovsky






Re: [squid-users] illegal instruction with 3.4.6 (no problem with 3.4.4)

2014-08-27 Thread Cassiano Martin
Please provide more details, like log output, or a coredump backtrace.

Thanks

2014-08-27 11:44 GMT-03:00 Alfredo Rezinovsky :
> squid exits with "illegal instruction" message
>
> Squid Cache: Version 3.4.6-20140826-r13168
> configure options:  '--disable-auth' '--disable-auto-locale'
> '--disable-cache-digests' '--disable-cpu-profiling' '--disable-debug-cbdata'
> '--disable-delay-pools' '--disable-devpoll' '--disable-ecap' '--disable-esi'
> '--disable-eui' '--disable-external-acl-helpers'
> '--disable-follow-x-forwarded-for' '--disable-forw-via-db'
> '--enable-gnuregex' '--disable-htcp' '--disable-icap-client'
> '--disable-ident-lookups' '--enable-internal-dns'
> '--disable-ipf-transparent' '--disable-ipfw-transparent' '--disable-ipv6'
> '--disable-leakfinder' '--disable-pf-transparent' '--disable-poll'
> '--disable-select' '--disable-snmp' '--disable-ssl' '--disable-stacktraces'
> '--disable-translation' '--disable-url-rewrite-helpers' '--disable-wccp'
> '--disable-wccpv2' '--disable-win32-service' '--disable-x-accelerator-vary'
> '--disable-icmp' '--disable-storeid-rewrite-helpers' '--enable-async-io'
> '--enable-disk-io' '--enable-epoll' '--enable-http-violations'
> '--enable-inline' '--enable-kill-parent-hack' '--enable-linux-netfilter'
> '--enable-log-daemon-helpers' '--enable-removal-policies' '--enable-storeio'
> '--enable-unlinkd' '--enable-x-accelerator-vary' '--enable-zph-qos'
> '--with-default-user=nobody' '--with-pthreads' '--with-included-ltdl'
> --enable-ltdl-convenience
>
> No problem with Squid Cache: Version 3.4.4-20140323-r13111 with the same
> compile options
>
> the cpu is cpu an Intel(R) Xeon(R) CPU E5345  @ 2.33GHz
> supporting: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm
> constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64
> monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca lahf_lm dtherm
> tpr_shadow
>
> It seems to be trying to use non existent instructions due to a cpu
> misdetection.
>
> --
> Alfrenovsky