Hello Igor,
Tuesday, March 6, 2007, 3:06:30 PM, you wrote:
> On Tue, Mar 06, 2007 at 03:01:44PM +0200, Igor Savchenko wrote:
>> 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>
> p environ
(gdb) p environ
$1 = 135008064
---------------------------------
Igor V. Savchenko
http://webta.net
mailto: igor@xxxxxxxxx
ICQ: 86915046