| Bug #14784 | shmop_write causes segfault | ||||
|---|---|---|---|---|---|
| Submitted: | 31 Dec 2001 9:20pm UTC | Modified: | 9 Jan 2002 3:26am UTC | ||
| From: | markhers at thinkbug dot com | Assigned to: | |||
| Status: | Closed | Category: | Reproducible crash | ||
| Version: | 4.1.1 | OS: | Linux (RH 6.2 / 2.4.3) | ||
| Votes: | 1 | Avg. Score: | 5.0 ± 0.0 | Reproduced: | 1 of 1 (100.0%) |
| Same Version: | 1 (100.0%) | Same OS: | 1 (100.0%) | ||
[31 Dec 2001 9:20pm UTC] markhers at thinkbug dot com
[1 Jan 2002 3:17pm UTC] markhers at thinkbug dot com
Sorry. I forgot to include the backtrace:
< start >
Program received signal SIGSEGV, Segmentation fault.
0x40103493 in memcpy (dstpp=0x40319000, srcpp=0x81ea42c,
len=1) at ../sysdeps/generic/memcpy.c:61
61 ../sysdeps/generic/memcpy.c: No such file or
directory.
(gdb) bt
#0 0x40103493 in memcpy (dstpp=0x40319000, srcpp=
0x81ea42c, len=1) at ../sysdeps/generic/memcpy.c:61
#1 0x40583745 in ?? () from /usr/local/apache/libexec/
libphp4.so
#2 0x4053f235 in ?? () from /usr/local/apache/libexec/
libphp4.so
#3 0x4054e22b in ?? () from /usr/local/apache/libexec/
libphp4.so
#4 0x4055f861 in ?? () from /usr/local/apache/libexec/
libphp4.so
#5 0x4055c1f2 in ?? () from /usr/local/apache/libexec/
libphp4.so
#6 0x4055cb56 in ?? () from /usr/local/apache/libexec/
libphp4.so
#7 0x4055cb88 in ?? () from /usr/local/apache/libexec/
libphp4.so
#8 0x80550f3 in ap_invoke_handler ()
#9 0x8069529 in process_request_internal ()
#10 0x806958c in ap_process_request ()
#11 0x8060a6e in child_main ()
#12 0x8060c20 in make_child ()
#13 0x8060d79 in startup_children ()
#14 0x80613d6 in standalone_main ()
#15 0x8061ba3 in main ()
#16 0x400bb9cb in __libc_start_main (main=0x806184c <main>,
argc=2, argv=0xbffffa2c, init=0x804f47c <_init>,
fini=0x809858c <_fini>, rtld_fini=0x4000aea0 <_dl_fini>
, stack_end=0xbffffa24) at ../sysdeps/generic/libc-
start.c:92
< end >
mjh
[1 Jan 2002 3:19pm UTC] mfischer@php.net
A backtrace without --enable-debug is pretty useless. Can you recompile and paste the backtrace again? Also, please don't wrap the lines.
[1 Jan 2002 11:53pm UTC] markhers at thinkbug dot com
Backtrace with --with-debug:
==============
Program received signal SIGSEGV, Segmentation fault.
0x40103487 in memcpy (dstpp=0x4040a000, srcpp=0x81f990c,
len=96) at ../sysdeps/generic/memcpy.c:55
55 ../sysdeps/generic/memcpy.c: No such file or
directory.
(gdb) bt
#0 0x40103487 in memcpy (dstpp=0x4040a000, srcpp=
0x81f990c, len=96) at ../sysdeps/generic/memcpy.c:55
#1 0x40285c37 in zif_arsort (ht=3, return_value=0x81f96bc,
this_ptr=0x0, return_value_used=1) at array.c:444
#2 0x4022df34 in execute (op_array=0x81eeb74) at ./
zend_execute.c:1799
#3 0x4024051b in zend_parse_arg_impl (arg=0x8, va=0x0,
spec=0x3) at zend_API.c:387
#4 0x40252582 in php_fopen_primary_script (file_handle=
0xbffff704) at fopen_wrappers.c:305
#5 0x4024d50e in should_overwrite_per_dir_entry
(orig_per_dir_entry=0x8122fec, new_per_dir_entry=0x0) at
mod_php4.c:646
#6 0x4024e350 in zm_info_apache (zend_module=0x8122fec) at
php_apache.c:289
#7 0x4024e3cc in zif_virtual (ht=135409644, return_value=
0x805d55c, this_ptr=0x1f4, return_value_used=23) at
php_apache.c:315
#8 0x80550f3 in ap_invoke_handler ()
#9 0x8069529 in process_request_internal ()
#10 0x806958c in ap_process_request ()
#11 0x8060a6e in child_main ()
#12 0x8060c20 in make_child ()
#13 0x8060d79 in startup_children ()
#14 0x80613d6 in standalone_main ()
#15 0x8061ba3 in main ()
#16 0x400bb9cb in __libc_start_main (main=0x806184c <main>,
argc=2, argv=0xbffffa1c, init=0x804f47c <_init>,
fini=0x809858c <_fini>, rtld_fini=0x4000aea0 <_dl_fini>
, stack_end=0xbffffa14) at ../sysdeps/generic/libc-
start.c:92
===============
And it's not me who's wrapping the text...
[9 Jan 2002 3:26am UTC] yohgaki@php.net
Supposed to be fixed in CVS. Please reopen bug if there is problem still.
