[squid-users] Squid 4.4 security_file_certgen helpers crashing

Alex Rousskov rousskov at measurement-factory.com
Thu Jan 3 17:19:51 UTC 2019


On 1/2/19 12:19 PM, johnr wrote:
> I can open a bug if you think I should/can based on the backtrace here:

I think that you should/can, but it is your call. If you decide to open
a bug report, please also post gdb output of the following commands
(sanitized if needed):

-------------
set print pretty
set print-static-members off

bt full

frame 0
print cert
print *cert.raw
print *sig
print s

frame 1
print properties

frame 2
print request_message
-------------


Thank you,

Alex.


> Core was generated by `(security_file_certgen) -s
> /usr/local/squid/var/cache/squid/ssl_db -M 4MB'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> 
> 
> Dec 28 22:15:20 vagrant-ubuntu-trusty-64 kernel: [ 4314.045153]
> security_file_c[2876]: segfault at 100000000 ip 000000000040d5d8 sp
> 00007ffd810b4010 error 4 in security_file_certgen[400000+13000]
> 
> Program received signal SIGSEGV, Segmentation fault.
> printX509Signature (out="", cert=...) at gadgets.cc:225
> 225   gadgets.cc: No such file or directory.
> (gdb) bt
> #0  printX509Signature (out="", cert=...) at gadgets.cc:225
> #1  Ssl::OnDiskCertificateDbKey (properties=...) at gadgets.cc:238
> #2  0x0000000000405f8d in processNewRequest (fs_block_size=4096,
> max_db_size=4194304, 
>     db_path="/var/lib/squid-pnr-proxy/ssl_db_v4", request_message=...) at
> security_file_certgen.cc:195
> #3  main (argc=<optimized out>, argv=0x7fffffffe608) at
> security_file_certgen.cc:345


More information about the squid-users mailing list