[Modules] About mod_gnutls on 64-bits AIX 5.3 or 6.1
Nikos Mavrogiannopoulos
nmav at gnutls.org
Sun Sep 12 14:47:23 EDT 2010
Could you use the gdb on gnutls-cli program? By the way which version of
mod_gnutls do you use? Is it the latest?
regards,
Nikos
On 09/11/2010 03:54 PM, 俞黎敏 wrote:
> GNU gdb 6.8
> Copyright (C) 2008 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 "powerpc-ibm-aix5.1.0.0".
> (gdb) file /usr/local/apache2/bin/httpd
> Reading symbols from /usr/local/apache2/bin/httpd...done.
> (gdb) run
> Starting program: /usr/local/apache2/bin/httpd
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xd3386fe8 in ap_hook_pre_connection () at connection.c:44
> 44 AP_IMPLEMENT_HOOK_RUN_ALL(int,pre_connection,(conn_rec *c,
> void *csd),(c, csd),OK,DECLINED)
> (gdb) run
> The program being debugged has been started already.
> Start it from the beginning? (y or n) y
> Starting program: /usr/local/apache2/bin/httpd
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xd3386fe8 in ap_hook_pre_connection () at connection.c:44
> 44 AP_IMPLEMENT_HOOK_RUN_ALL(int,pre_connection,(conn_rec *c,
> void *csd),(c, csd),OK,DECLINED)
> (gdb) break 44
> Breakpoint 1 at 0x10033684: file connection.c, line 44. (3 locations)
> (gdb) run
> The program being debugged has been started already.
> Start it from the beginning? (y or n) y
> Starting program: /usr/local/apache2/bin/httpd
>
> Breakpoint 1, ap_hook_pre_connection (pf=@0x20017e60: 0x20015e50,
> aszPre=0x20015ed0, aszSucc=0x20002190, nOrder=268864752) at
> connection.c:44
> 44 AP_IMPLEMENT_HOOK_RUN_ALL(int,pre_connection,(conn_rec *c,
> void *csd),(c, csd),OK,DECLINED)
> (gdb) step
> apr_array_make (p=0x200053b8, nelts=1, elt_size=20) at apr_tables.c:82
> 82 apr_tables.c: No such file or directory.
> in apr_tables.c
>
> I am not familiar at gdb, here are some debug info, I will do some
> homework of gdb first.
>
> Any suggestions are welcomed.
>
> 在 2010年9月11日 下午1:12,Nikos Mavrogiannopoulos <nmav at gnutls.org> 写道:
>> On 09/11/2010 05:33 AM, 俞黎敏 wrote:
>>> [root at P520A:/ibm/YuLimin/Tools/gnutls-2.10.1]# echo $LDFLAGS
>>> -lgcrypt -lz
>>>
>>> then ./configure, at the end of it, I found static is no: Library
>>> types: Shared=yes, Static=no
>>
>> Something is wrong there. You might want to use gdb to see why it is
>> crashing, or valgrind.
>>
More information about the Modules
mailing list