This is the mail archive of the cygwin mailing list for the Cygwin 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]

Re: 1.5.18: ld command generates stackdump

CGF> It is useless.  You probaby have to continue
CGF> after ld has been attached to see where the
CGF> SEGV really is coming from.

Thanks. Here is the result...

GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
Copyright 2004 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 "i686-pc-cygwin"...
Attaching to program `/bin/ld.exe', process 4060
[Switching to thread 4060.0x9f8]
(gdb) bt
#0 0x7c901231 in ntdll!DbgUiConnectToDbg ()
from /cygdrive/c/WINDOWS/system32/ntdll.dll
#1 0x7c9507a8 in ntdll!KiIntSystemCall ()
from /cygdrive/c/WINDOWS/system32/ntdll.dll
#2 0x00000005 in ?? ()
#3 0x00000004 in ?? ()
#4 0x00000001 in ?? ()
#5 0x195dffd0 in ?? ()
#6 0x867810e8 in ?? ()
#7 0xffffffff in ?? ()
#8 0x7c90ee18 in strchr () from /cygdrive/c/WINDOWS/system32/ntdll.dll
#9 0x7c9507c8 in ntdll!KiIntSystemCall ()
from /cygdrive/c/WINDOWS/system32/ntdll.dll
#10 0x00000000 in ?? () from
(gdb) c

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 4060.0xf60]
0x610c4914 in memcpy () from /bin/cygwin1.dll
(gdb) bt
#0 0x610c4914 in memcpy () from /bin/cygwin1.dll
#1 0x6100275e in toascii () from /bin/cygwin1.dll
#2 0x61050c8e in lsearch () from /bin/cygwin1.dll
#3 0x610516e4 in lsearch () from /bin/cygwin1.dll
#4 0x61051f79 in lsearch () from /bin/cygwin1.dll
#5 0x610ab36c in setstate () from /bin/cygwin1.dll
#6 0x6104ed0a in lsearch () from /bin/cygwin1.dll
#7 0x610844ff in cygwin1!aclcheck () from /bin/cygwin1.dll
#8 0x00428f50 in bfd_alloc (abfd=0x2c9aa418, size=320) at opncls.c:853
#9 0x00428f9e in bfd_zalloc (abfd=0x2c9aa418, size=320) at opncls.c:876
#10 0x00432e77 in coff_new_section_hook (abfd=0x2c9aa418, section=0x2c9fb7a0)
at coffcode.h:1569
#11 0x0042288c in bfd_section_init (abfd=0x2c9aa418, newsect=0x2c9fb7a0)
at section.c:773
#12 0x00422cee in bfd_make_section_anyway (abfd=0x2c9aa418,
name=0x2c9fd8b8 ".rdata$_ZTV15TCMapProjection") at section.c:1084
#13 0x0042f375 in coff_object_p (abfd=0x2c9aa418) at coffgen.c:99
#14 0x004284a7 in bfd_check_format_matches (abfd=0x2c9aa418,
format=bfd_object, matching=0x0) at format.c:167
#15 0x0042857e in bfd_check_format (abfd=0x2c9aa418, format=bfd_object)
at format.c:91
#16 0x004239ba in _bfd_generic_link_add_archive_symbols (abfd=0x2c538620,
info=0x4af0c0, checkfn=0x4455b0 <coff_link_check_archive_element>)
at linker.c:1085
#17 0x00445566 in _bfd_coff_link_add_symbols (abfd=0x2c538620,
info=<incomplete type>) at cofflink.c:166
#18 0x00409be4 in load_symbols (entry=0x2c538620, place=0x1) at ldlang.c:2275
#19 0x0040a5ed in open_input_bfds (s=0x4af0c0, force=1) at ldlang.c:2685
#20 0x0040f3a2 in lang_process () at ldlang.c:5288
#21 0x00411765 in main (argc=153, argv=0x61156a48) at .././ld/ldmain.c:460

Now we're getting somewhere. TCMapProjection is a class in one of my libraries. What next?

Sorry for being a pest.

Unsubscribe info:
Problem reports:

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