Joe Schaefer <[EMAIL PROTECTED]> writes: > 1. Problem Description: > > Current cvs segfaults w/perl 5.8.5, not reproducible with 5.8.4: > > #0 0x0000002a9682334b in Perl_safesysmalloc (size=24) at util.c:78 > 78 my_exit(1); > > This may be an ithread-related bug in 5.8.5, not mp2. > > % t/TEST -v t/directive/cmdparms.t
Any assembler gurus out there? This is starting to look like a gcc/ld bug on my debian-amd64 box now... I cranked up httpd via gdb and stepped through the test. Here's the first bad stack frame I see- notice first two arguments to apr_pcalloc_debug are mangled (they *should* be (pool=0x2f01080, size=16) at modperl_module.c:39- (gdb) f 0 #0 apr_pcalloc_debug (pool=0x34, size=47922976, file_line=0x2a9661a620 "modperl_module.c:40") at memory/unix/apr_pools.c:1313 (gdb) up 1 #1 0x0000002a96607c61 in modperl_module_cfg_new (p=0x2f01080) at modperl_module.c:39 (gdb) #2 0x0000002a9660805d in modperl_module_config_merge (p=0x2f01080, basev=0x1bdb340, addv=0x1c08860, type=1) at modperl_module.c:198 (gdb) #3 0x0000002a966086c7 in modperl_module_config_dir_merge (p=0x2f01080, basev=0x1bdb340, addv=0x1c08860) at modperl_module.c:249 (gdb) #4 0x0000000000428d9f in ap_merge_per_dir_configs (p=0x2f01080, base=0x5d7420, new_conf=0x1c1c520) at config.c:245 (gdb) #5 0x000000000044018d in ap_location_walk (r=0x319f420) at request.c:1295 (gdb) #6 0x000000000043ee04 in ap_process_request_internal (r=0x319f420) at request.c:135 (gdb) #7 0x0000000000424148 in ap_process_request (r=0x319f420) at http_request.c:244 (gdb) #8 0x000000000041f335 in ap_process_http_connection (c=0x2f5a5c0) at http_core.c:253 (gdb) #9 0x0000000000432141 in ap_run_process_connection (c=0x2f5a5c0) at connection.c:42 FWIW- here's my assembler dump of modperl_module_cfg_new. I'm really out of my depth here, so any help is really appreciated! (gdb) disass modperl_module_cfg_new Dump of assembler code for function modperl_module_cfg_new: 0x0000002a96607c40 <modperl_module_cfg_new+0>: push %rbp 0x0000002a96607c41 <modperl_module_cfg_new+1>: mov %rsp,%rbp 0x0000002a96607c44 <modperl_module_cfg_new+4>: sub $0x10,%rsp 0x0000002a96607c48 <modperl_module_cfg_new+8>: mov %rdi,0xfffffffffffffff8(%rbp) 0x0000002a96607c4c <modperl_module_cfg_new+12>: mov 0xfffffffffffffff8(%rbp),%rdi 0x0000002a96607c50 <modperl_module_cfg_new+16>: lea 76233(%rip),%rdx # 0x2a9661a620 <__func__.3+240> 0x0000002a96607c57 <modperl_module_cfg_new+23>: mov $0x10,%esi 0x0000002a96607c5c <modperl_module_cfg_new+28>: callq 0x2a965ecee0 <_init+280> 0x0000002a96607c61 <modperl_module_cfg_new+33>: mov %rax,0xfffffffffffffff0(%rbp) 0x0000002a96607c65 <modperl_module_cfg_new+37>: mov 0xfffffffffffffff0(%rbp),%rax 0x0000002a96607c69 <modperl_module_cfg_new+41>: leaveq 0x0000002a96607c6a <modperl_module_cfg_new+42>: retq End of assembler dump. -- Joe Schaefer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
