ПРОЕКТЫ 


  АРХИВ 


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[2]: nginx падает в кору.


  • To: Igor Sysoev <nginx-ru@xxxxxxxxx>
  • Subject: Re[2]: nginx падает в кору.
  • From: Igor Savchenko <dicsydel@xxxxxxxxx>
  • Date: Tue, 6 Mar 2007 15:01:44 +0200
  • Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:x-mailer:reply-to:organization:x-priority:message-id:to:subject:in-reply-to:references:mime-version:content-type:content-transfer-encoding; b=e+Minjgx5ugrThnSGRVa4eQkkNiUdNcy1AZqo8H5oIxpX28dNL0O7OXQkYQ7WOQzCXIe+4ikY9FVH5SLE2ZWULSmakQjZw+9ubBP+VTsO+SeT4QM7TqCvHueBdbZm4yZ6XAPR4BzHHDO50gbfpgM0XfWvJNR+G7m4RzzjKwgYyY=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:x-mailer:reply-to:organization:x-priority:message-id:to:subject:in-reply-to:references:mime-version:content-type:content-transfer-encoding; b=E+incVIWPmeK+FFzy4FrZTlA700TI0YlfwXPL5R9UDk+i7hPeTUJkR3wOURuM0nr1gecHzoHFIJzqcMK3ntvU7kGIXbLXhseoVB5xE5QNx5/YeVHNvE45h6smebtI/BMYulbWch7JH70zCz1Aug41E4/Tqea4mNhOCTQnDIdEOY=
  • In-reply-to: <20070306125708.GD12637@xxxxxxxxxxxxx>
  • Organization: Webta
  • References: <1579539049.20070303114803@xxxxxxxxx> <20070306125708.GD12637@xxxxxxxxxxxxx>

Hello Igor,

Tuesday, March 6, 2007, 2:57:08 PM, you wrote:

> On Sat, Mar 03, 2007 at 11:48:03AM +0200, Igor Savchenko wrote:

>> (gdb) backtrace
>> #0  0x282cc754 in getenv () from /lib/libc.so.6
>> #1  0x282bea45 in tzsetwall () from /lib/libc.so.6
>> #2  0x282bf121 in localtime_r () from /lib/libc.so.6
>> #3  0x0805f830 in ngx_localtime (s=1172832711, tm=0xbfbfe720) at 
>> src/os/unix/ngx_time.c:15
>> #4  0x08056ea4 in ngx_time_update (sec=1172832711, msec=2) at 
>> src/core/ngx_times.c:118
>> #5  0x080613a0 in ngx_signal_handler (signo=23) at 
>> src/os/unix/ngx_process.c:299
>> #6  0xbfbfff94 in ?? ()
>> #7  0x00000017 in ?? ()
>> #8  0x00000000 in ?? ()
>> #9  0xbfbfe7c0 in ?? ()
>> #10 0x00000002 in ?? ()
>> #11 0x08061360 in ngx_init_signals () at src/os/unix/ngx_process.c:278
>> #12 0x0804f67f in main (argc=134875136, argv=0xbfbfec80) at 
>> src/core/nginx.c:353

> p environ[0]
> p environ[1]
> p environ[2]
> p environ[3]

> и так далее пока не будет NULL.

(gdb) p environ[0]
$1 = 0x2000 <Address 0x2000 out of bounds>
(gdb) p environ[1]
$2 = 0x40000000 <Address 0x40000000 out of bounds>
(gdb) p environ[2]
$3 = 0x2000 <Address 0x2000 out of bounds>
(gdb) p environ[3]
$4 = 0xffffffff <Address 0xffffffff out of bounds>
(gdb) p environ[4]
$5 = 0xffffffff <Address 0xffffffff out of bounds>
(gdb) p environ[5]
$6 = 0xffffffff <Address 0xffffffff out of bounds>
(gdb) p environ[6]
$7 = 0x7 <Address 0x7 out of bounds>
(gdb) p environ[7]
$8 = 0x8 <Address 0x8 out of bounds>
(gdb) p environ[8]
$9 = 0x1000 <Address 0x1000 out of bounds>
(gdb) p environ[9]
$10 = 0x1 <Address 0x1 out of bounds>
(gdb) p environ[10]
$11 = 0x1 <Address 0x1 out of bounds>
(gdb) p environ[11]
$12 = 0x1 <Address 0x1 out of bounds>
(gdb) p environ[12]
$13 = 0x0
(gdb) p environ[13]
$14 = 0x0
(gdb) 

---------------------------------
Igor V. Savchenko

http://webta.net

mailto: igor@xxxxxxxxx
ICQ: 86915046




 




Copyright © Lexa Software, 1996-2009.