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: segfault from "size -f"


On 7/4/2013 5:34 PM, David Rothenberger wrote:
> Please let me know if there's anything else I can do to
> troubleshoot. I'm going to try building binutils to get a gdb
> backtrace, but there's no instructions in the source package about
> how it's built for Cygwin.

Here's the backtrace I got:

Program received signal SIGSEGV, Segmentation fault.
objalloc_free (o=0x656c646e) at ./objalloc.c:181
181       l = (struct objalloc_chunk *) o->chunks;
(gdb) bt
#0  objalloc_free (o=0x656c646e) at ./objalloc.c:181
#1  0x0040bc33 in bfd_hash_table_free (table=table@entry=0x80054438) at hash.c:426
#2  0x0040536b in _bfd_delete_bfd (abfd=abfd@entry=0x800543e8) at opncls.c:139
#3  0x004059cb in bfd_close_all_done (abfd=0x800543e8) at opncls.c:768
#4  0x004064d4 in archive_close_worker (slot=0x8006da44, inf=0x0) at archive.c:2707
#5  0x0046c945 in htab_traverse_noresize (htab=htab@entry=0x80056498, callback=callback@entry=0x4064c0 <archive_close_worker>,
    info=info@entry=0x0) at ./hashtab.c:784
#6  0x0040a059 in _bfd_archive_close_and_cleanup (abfd=0x8003adf8) at archive.c:2730
#7  0x004058dd in bfd_close (abfd=abfd@entry=0x8003adf8) at opncls.c:723
#8  0x004019ef in display_file (filename=0x155ac55 "/usr/src/net-snmp/net-snmp-5.7.2-1/inst/usr/lib/libnetsnmpagent.a")
    at size.c:402
#9  display_file (filename=0x155ac55 "/usr/src/net-snmp/net-snmp-5.7.2-1/inst/usr/lib/libnetsnmpagent.a") at size.c:379
#10 0x00475b04 in main (argc=2, argv=0x155ac00) at size.c:241


-- 
David Rothenberger  ----  daveroth@acm.org

With a rubber duck, one's never alone.
                -- "The Hitchhiker's Guide to the Galaxy"

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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