ПРОЕКТЫ 


  АРХИВ 


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: Tue, 10 Jul 2007 08:43:21 +0400




> On Mon, Jul 09, 2007 at 06:11:06PM +0400, umask wrote:

> > 09.07.07, 16:25, Igor Savchenko <dicsydel@xxxxxxxxx>:

> > 

> > > Hello umask,

> > 

> > > Monday, July 9, 2007, 3:21:25 PM, you wrote:

> > 

> > > > Видимо, это бага. Так ли?

> > 

> > > Попробуй сделать backtrace. gdb -p [ПИД Воркера]

> > 

> > > Далее делаешь так чтобы он вылетел. и пишешь backtrace

> > 

> > > То что получил кидаешь сюда.

> > 

> > 

> > У меня Linux (CentOS-5, i386). Завтра на работе сделаю strace и выложу его 
> > результат.

> strace не нужен. Нужно или посмотреть корку в gdb, или, как было предложено,

> backtrace в gdb на живом процессе в момент получения сигнала.

> В обоих случаях nginx должен быть собран с отладочной информацией (-g).



После запуска gdp на worker'а nginx'а выполнил ровно то, что приводило к 
SIGCHILD. Не знаю, так и должно быть, но после запуска на воркера gdb 
Thunderbird не подключался к POP3 (происходил таймаут).



Вот что получилось:



# gdb -p 4883

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 4883

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

0x00da9402 in __kernel_vsyscall ()

(gdb) backtrace

#0  0x00da9402 in __kernel_vsyscall ()

#1  0x4a066778 in __epoll_wait_nocancel () from /lib/libc.so.6

#2  0x08062166 in ngx_epoll_process_events (cycle=0x84dc930, timer=4294967295, 

    flags=1) at src/event/modules/ngx_epoll_module.c:402

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

    at src/event/ngx_event.c:245

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

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

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

    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=0x84dc930, n=1, type=-2)

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

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

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

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




 




Copyright © Lexa Software, 1996-2009.