[horde] Segmentation fault (11) in apache2
Jan Schneider
jan at horde.org
Wed Dec 13 13:20:34 PST 2006
Zitat von "Virgil E. Alderson" <valderson at xtg.bz>:
> I know this is related to php but I was hoping somebody has encountered
> this and could help out. I believe it is caused by imap in php because i
> only see the segfault when I click on folders in the imap tree, and it
> does not occur if a disable imap in php.
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 13570)]
> 0x4042faff in memcpy () from /lib/libc.so.6
> (gdb) r
> The program being debugged has been started already.
> Start it from the beginning? (y or n) n
> Program not restarted.
> (gdb) backtrace
> #0 0x4042faff in memcpy () from /lib/libc.so.6
> #1 0x4089df95 in php_var_serialize_intern (buf=0xbffff240,
> struc=0x84b90b0, var_hash=0xbffff210) at php_smart_str.h:84
> #2 0x4089db55 in php_var_serialize_intern (buf=0xbffff240,
> struc=0x84b90e8, var_hash=0xbffff210)
> at /downloads/php4/php4-4.3.10/ext/standard/var.c:646
> #3 0x4089db55 in php_var_serialize_intern (buf=0xbffff240,
> struc=0x8e650a0, var_hash=0xbffff210)
> at /downloads/php4/php4-4.3.10/ext/standard/var.c:646
> #4 0x4089db55 in php_var_serialize_intern (buf=0xbffff240,
> struc=0x8e650d8, var_hash=0xbffff210)
> at /downloads/php4/php4-4.3.10/ext/standard/var.c:646
> #5 0x4089db55 in php_var_serialize_intern (buf=0xbffff240,
> struc=0x8e65c38, var_hash=0xbffff210)
> at /downloads/php4/php4-4.3.10/ext/standard/var.c:646
> #6 0x4089e922 in php_var_serialize (buf=0xbffff240, struc=0x8af5927,
> var_hash=0x8af5927)
> at /downloads/php4/php4-4.3.10/ext/standard/var.c:661
> #7 0x40843276 in ps_srlzr_encode_php (newstr=0x8af5927, newlen=0xbffff2b0)
> at /downloads/php4/php4-4.3.10/ext/session/session.c:440
> #8 0x408438e6 in php_session_encode (newlen=0x8af5927) at
> /downloads/php4/php4-4.3.10/ext/session/session.c:537
It's a bug in the session serializer, try a newer PHP version.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the horde
mailing list