Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: signal 17 (SIGCHLD) received when used "secure authentication" in Thunderbird


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: signal 17 (SIGCHLD) received when used "secure authentication" in Thunderbird
  • From: umask <umask@xxxxxxxxx>
  • Date: Wed, 11 Jul 2007 10:11:35 +0400




11.07.07, 09:52, Igor Sysoev <is@xxxxxxxxxxxxx>:



> On Wed, Jul 11, 2007 at 08:13:49AM +0400, umask wrote:

> > Program received signal SIGSEGV, Segmentation fault.

> > 

> > ngx_encode_base64 (dst=0xbf99a034, src=0x99e9304) at 
> > src/core/ngx_string.c:745

> > 

> > 745             *d++ = basis64[(s[0] >> 2) & 0x3f];

> > 

> > (gdb) bt

> > 

> > #0  ngx_encode_base64 (dst=0xbf99a034, src=0x99e9304)

> > 

> >     at src/core/ngx_string.c:745

> > 

> > #1  0x080957a5 in ngx_pop3_auth_state (rev=0x99eaaf4)

> > 

> >     at src/mail/ngx_mail_handler.c:730

> fr 1

> p text

> p salt

> p s->salt







gdb -p 11110

GNU gdb Red Hat Linux (6.5-16.el5rh)

Copyright (C) 2006 Free Software Foundation, Inc.

GDB is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain conditions.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for details.

This GDB was configured as "i386-redhat-linux-gnu".

Attaching to process 11110

Reading symbols from /opt/nginx/sbin/nginx...done.

Using host libthread_db library "/lib/libthread_db.so.1".

Reading symbols from /lib/libcrypt.so.1...done.

Loaded symbols for /lib/libcrypt.so.1

Reading symbols from /lib/libpcre.so.0...done.

Loaded symbols for /lib/libpcre.so.0

Reading symbols from /lib/libssl.so.6...done.

Loaded symbols for /lib/libssl.so.6

Reading symbols from /lib/libcrypto.so.6...done.

Loaded symbols for /lib/libcrypto.so.6

Reading symbols from /usr/lib/libz.so.1...done.

Loaded symbols for /usr/lib/libz.so.1

Reading symbols from /lib/libc.so.6...done.

Loaded symbols for /lib/libc.so.6

Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.

Loaded symbols for /usr/lib/libgssapi_krb5.so.2

Reading symbols from /usr/lib/libkrb5.so.3...done.

Loaded symbols for /usr/lib/libkrb5.so.3

Reading symbols from /lib/libcom_err.so.2...done.

Loaded symbols for /lib/libcom_err.so.2

Reading symbols from /usr/lib/libk5crypto.so.3...done.

Loaded symbols for /usr/lib/libk5crypto.so.3

Reading symbols from /lib/libresolv.so.2...done.

Loaded symbols for /lib/libresolv.so.2

Reading symbols from /lib/libdl.so.2...done.

Loaded symbols for /lib/libdl.so.2

Reading symbols from /lib/ld-linux.so.2...done.

Loaded symbols for /lib/ld-linux.so.2

Reading symbols from /usr/lib/libkrb5support.so.0...done.

Loaded symbols for /usr/lib/libkrb5support.so.0

Reading symbols from /lib/libnss_files.so.2...done.

Loaded symbols for /lib/libnss_files.so.2

0x00568402 in __kernel_vsyscall ()

(gdb) c

Continuing.



Program received signal SIGSEGV, Segmentation fault.

ngx_encode_base64 (dst=0xbf8226c4, src=0x8b936ec) at src/core/ngx_string.c:745

745             *d++ = basis64[(s[0] >> 2) & 0x3f];

(gdb) bt

#0  ngx_encode_base64 (dst=0xbf8226c4, src=0x8b936ec)

    at src/core/ngx_string.c:745

#1  0x080957a5 in ngx_pop3_auth_state (rev=0x8b93b1c)

    at src/mail/ngx_mail_handler.c:730

#2  0x08062406 in ngx_epoll_process_events (cycle=0x8b81930, timer=59998, 

    flags=<value optimized out>) at src/event/modules/ngx_epoll_module.c:518

#3  0x080594fa in ngx_process_events_and_timers (cycle=0x8b81930)

    at src/event/ngx_event.c:245

#4  0x0805fbdd in ngx_worker_process_cycle (cycle=0x8b81930, data=0x0)

    at src/os/unix/ngx_process_cycle.c:747

#5  0x0805e601 in ngx_spawn_process (cycle=0x8b81930, 

    proc=0x805f54d <ngx_worker_process_cycle>, data=0x0, 

    name=0x809e857 "worker process", respawn=-2)

    at src/os/unix/ngx_process.c:187

#6  0x0805f0e6 in ngx_start_worker_processes (cycle=0x8b81930, n=1, type=-2)

    at src/os/unix/ngx_process_cycle.c:327

#7  0x0806014b in ngx_master_process_cycle (cycle=0x8b81930)

    at src/os/unix/ngx_process_cycle.c:119

#8  0x0804c07f in main (argc=1, argv=0xbf822b64) at src/core/nginx.c:353

(gdb) fr 1

#1  0x080957a5 in ngx_pop3_auth_state (rev=0x8b93b1c)

    at src/mail/ngx_mail_handler.c:730

730                         ngx_encode_base64(&salt, &s->salt);

(gdb) p text

$1 = (u_char *) 0x8b9236c "+ %/1koi8-r\v 
6MeJd\177\233%/1koi8-r\025&8K_t\212%/1koi8-r\a#I"

(gdb) p salt

$2 = {len = 14400, 

  data = 0x8b9236e "%/1koi8-r\v 
6MeJd\177\233%/1koi8-r\025&8K_t\212%/1koi8-r\a#I"}

(gdb) p s->salt

$3 = {len = 4294967294, data = 0x0}

(gdb) 





     .
gdb -p 11110
GNU gdb Red Hat Linux (6.5-16.el5rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu".
Attaching to process 11110
Reading symbols from /opt/nginx/sbin/nginx...done.
Using host libthread_db library "/lib/libthread_db.so.1".
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libpcre.so.0...done.
Loaded symbols for /lib/libpcre.so.0
Reading symbols from /lib/libssl.so.6...done.
Loaded symbols for /lib/libssl.so.6
Reading symbols from /lib/libcrypto.so.6...done.
Loaded symbols for /lib/libcrypto.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libkrb5support.so.0...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
0x00568402 in __kernel_vsyscall ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
ngx_encode_base64 (dst=0xbf8226c4, src=0x8b936ec) at src/core/ngx_string.c:745
745             *d++ = basis64[(s[0] >> 2) & 0x3f];
(gdb) bt
#0  ngx_encode_base64 (dst=0xbf8226c4, src=0x8b936ec)
    at src/core/ngx_string.c:745
#1  0x080957a5 in ngx_pop3_auth_state (rev=0x8b93b1c)
    at src/mail/ngx_mail_handler.c:730
#2  0x08062406 in ngx_epoll_process_events (cycle=0x8b81930, timer=59998, 
    flags=<value optimized out>) at src/event/modules/ngx_epoll_module.c:518
#3  0x080594fa in ngx_process_events_and_timers (cycle=0x8b81930)
    at src/event/ngx_event.c:245
#4  0x0805fbdd in ngx_worker_process_cycle (cycle=0x8b81930, data=0x0)
    at src/os/unix/ngx_process_cycle.c:747
#5  0x0805e601 in ngx_spawn_process (cycle=0x8b81930, 
    proc=0x805f54d <ngx_worker_process_cycle>, data=0x0, 
    name=0x809e857 "worker process", respawn=-2)
    at src/os/unix/ngx_process.c:187
#6  0x0805f0e6 in ngx_start_worker_processes (cycle=0x8b81930, n=1, type=-2)
    at src/os/unix/ngx_process_cycle.c:327
#7  0x0806014b in ngx_master_process_cycle (cycle=0x8b81930)
    at src/os/unix/ngx_process_cycle.c:119
#8  0x0804c07f in main (argc=1, argv=0xbf822b64) at src/core/nginx.c:353
(gdb) fr 1
#1  0x080957a5 in ngx_pop3_auth_state (rev=0x8b93b1c)
    at src/mail/ngx_mail_handler.c:730
730                         ngx_encode_base64(&salt, &s->salt);
(gdb) p text
$1 = (u_char *) 0x8b9236c "+ \v 6MeJd\177\233\025&8K_t\212\a#I"
(gdb) p salt
$2 = {len = 14400, 
  data = 0x8b9236e "\v 6MeJd\177\233\025&8K_t\212\a#I"}
(gdb) p s->salt
$3 = {len = 4294967294, data = 0x0}
(gdb) 



 




Copyright © Lexa Software, 1996-2009.