Blumlein,Richard wrote:
gdb /usr/sbin/httpd core
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix5.1.0.0"...
(no debugging symbols found)...
BFD: /etc/opt/freeware/apache/core: warning core file truncated
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
#0  0xd16b96c0 in ap_pcalloc () from /opt/freeware/apache/libexec/mod_jk.so

(gdb) bt
#0  0xd16b96c0 in ap_pcalloc () from /opt/freeware/apache/libexec/mod_jk.so
#1  0xd1689654 in create_jk_config (p=

OK, that's interesting. So now we come closer, although I still don't understand what should be the problem in the function. But at least we have a starting point. I'll have a look, if I can find known bugs about ap_pcalloc on your platform.

Could you provide (sorry, if you did already) precise information about your platform (I remember AIX, but which version)? Also: which version of Apache httpd (1.3.X) do you use?

Do you have an idea, if your Apache httpd was compiled with the same compiler, that you use? I don't know enough about AIX, but it could be, that we are getting into binary compatibility problems, if your httpd was compiled with gcc and you are using a different compiler.

Try

path/to/my/apxs -q CC

and

path/to/my/apxs -q CFLAGS

There are even more interesting variables in the file apxs (it#s an ascii perl script, and the variables are near the beginning of the file).


Would you be willing to do a couple of tests, if I would send you instraumented code? (Like doing another 2 or three compilation, check if it starts and if not provide output resp. gdb bt).

I unfortunately don't have the platform, and this place in the code didn't produce any problem for years on Linux/Solaris/Windows.

gdbtypes.c:533: internal-error: Assertion `TYPE_OBJFILE (*typeptr) == TYPE_OBJFI
LE (type) || TYPE_STUB (*typeptr)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
gdbtypes.c:533: internal-error: Assertion `TYPE_OBJFILE (*typeptr) == TYPE_OBJFI
LE (type) || TYPE_STUB (*typeptr)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n

Regards,

Rainer

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to