This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

symtab/1668: gdb dumps core when reading symbols from my .so


>Number:         1668
>Category:       symtab
>Synopsis:       gdb dumps core when reading symbols from my .so
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 10 11:38:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     fergal@esatclear.ie
>Release:        unknown-1.0
>Organization:
>Environment:
fecora core 1 and 2 and possibly other redhats but it doesn't happen on 7.2
>Description:
I have an apache module compiled using Kylix (written in Object Pascal). When I attempt to attach to apache and debug I get a core dump. It successfully reads symbols from a variety of .sos and then dies here

Reading symbols from /mnt/win/crm/crm/libeWare.so.../home/fergal/my/bin/asd: line 6:  2402 Segmentation fault      (core dumped) "$@"

nm is able to dump the symbols no problem.

There is something weird about this .so, Kylix can't debug it properly either however I was able to successfully debug it using gdb on a vanilla Redhat 7.2 install, so it's not fatally broken.

I can't attach the so or the core here in public. If you have any tests you'd like me to carry out, let me know. If I have to I can send the so (12M) or the core dump (17M) in private.

This happens with the latest snapshot including

gdb+dejagnu-20040608-20040610.diff
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]