You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2011/01/16 15:44:43 UTC

DO NOT REPLY [Bug 50594] apr_palloc Segmentation Fault

https://issues.apache.org/bugzilla/show_bug.cgi?id=50594

--- Comment #1 from John Poole <jl...@gmail.com> 2011-01-16 09:44:39 EST ---
Bug #50596 "make test hangs on testprocmute" may be related.  I read this bug
and saw similarities to the problem I've been encountering.  I've been hampered
with Apache failing at the outset with a segment fault.  My back trace pointed
to the same function and hence I believe there may be a similarity between the
bugs:

plug bin # gdb httpd
GNU gdb (Gentoo 7.0.1 p1) 7.0.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "armv5tel-softfloat-linux-gnueabi".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /var/tmp/apache/httpd/bin/httpd...done.
(gdb) run
Starting program: /var/tmp/apache/httpd/bin/httpd
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x402600e4 in apr_palloc () from /usr/lib/libapr-1.so.0
(gdb) bt
#0  0x402600e4 in apr_palloc () from /usr/lib/libapr-1.so.0
#1  0x4025a988 in apr_array_make () from /usr/lib/libapr-1.so.0
#2  0x400ddb54 in apr_hook_sort_register () from /usr/lib/libaprutil-1.so.0
#3  0x00051f74 in ap_hook_create_connection (pf=0x3f49c <core_create_conn>,
aszPre=0x0, aszSucc=0x0,
    nOrder=30) at connection.c:42
#4  0x0003f838 in register_hooks (p=0xc50a8) at core.c:3985
#5  0x000485e4 in ap_register_hooks (m=0xbaeec, p=0xc50a8) at config.c:431
#6  0x00048974 in ap_add_module (m=0xbaeec, p=0xc50a8) at config.c:556
#7  0x00048d64 in ap_setup_prelinked_modules (process=0xc3130) at config.c:701
#8  0x00028be0 in main (argc=1, argv=0xbecac314) at main.c:487
(gdb) info frame
Stack level 0, frame at 0xbecac098:
 pc = 0x402600e4 in apr_palloc; saved pc 0x4025a988
 called by frame at 0xbecac0b8
 Arglist at 0xbecac080, args:
 Locals at 0xbecac080, Previous frame's sp is 0xbecac098
 Saved registers:
  r4 at 0xbecac080, r5 at 0xbecac084, r6 at 0xbecac088, r7 at 0xbecac08c, r8 at
0xbecac090,
  lr at 0xbecac094
(gdb) info locals
No symbol table info available.
(gdb)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org