public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug boehm-gc/52179] boehm-gc incompatible with aslr on darwin11
Date: Thu, 09 Feb 2012 00:57:00 -0000	[thread overview]
Message-ID: <bug-52179-4-7MZMVfBJlr@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-52179-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52179

--- Comment #5 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-02-09 00:56:13 UTC ---
Backtrace for staticrootstest at -m64...

# gdb ./staticrootstestGNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Thu
Nov  3 21:59:02 UTC 2011)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 "x86_64-apple-darwin"...Reading symbols for shared
libraries ..... done

(gdb) set disable-aslr off
(gdb) r
Starting program:
/sw/src/fink.build/gcc47-4.7.0-1/darwin_objdir/x86_64-apple-darwin11.3.0/boehm-gc/testsuite/.libs/staticrootstest 
Reading symbols for shared libraries + done
Reading symbols for shared libraries +++++........................ done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00007fff6fbb0020
GC_mark_from (mark_stack_top=0x110037000, mark_stack=0x110037000,
mark_stack_limit=0x110047000) at ../../../gcc-4.7-20120207/boehm-gc/mark.c:759
759          deferred = *limit;
(gdb) bt
#0  GC_mark_from (mark_stack_top=0x110037000, mark_stack=0x110037000,
mark_stack_limit=0x110047000) at ../../../gcc-4.7-20120207/boehm-gc/mark.c:759
#1  0x000000010ff9081f in GC_mark_some (cold_gc_frame=0x7fff6fb2b68c "\001") at
../../../gcc-4.7-20120207/boehm-gc/mark.c:361
#2  0x000000010ff88583 in GC_stopped_mark (stop_func=0x10ff87a5d
<GC_never_stop_func>) at ../../../gcc-4.7-20120207/boehm-gc/alloc.c:531
#3  0x000000010ff8813f in GC_try_to_collect_inner (stop_func=0x10ff87a5d
<GC_never_stop_func>) at ../../../gcc-4.7-20120207/boehm-gc/alloc.c:378
#4  0x000000010ff940fa in GC_init_inner () at
../../../gcc-4.7-20120207/boehm-gc/misc.c:789
#5  0x000000010ff93c95 in GC_init () at
../../../gcc-4.7-20120207/boehm-gc/misc.c:493
#6  0x000000010ff8621e in libsrl_init () at
/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120207/boehm-gc/testsuite/boehm-gc.lib/staticrootslib.c:26
#7  0x000000010ff2ce59 in main () at
/sw/src/fink.build/gcc47-4.7.0-1/gcc-4.7-20120207/boehm-gc/testsuite/boehm-gc.lib/staticrootstest.c:26
(gdb)


  parent reply	other threads:[~2012-02-09  0:57 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-08 23:47 [Bug boehm-gc/52179] New: " howarth at nitro dot med.uc.edu
2012-02-08 23:55 ` [Bug boehm-gc/52179] " howarth at nitro dot med.uc.edu
2012-02-09  0:35 ` howarth at nitro dot med.uc.edu
2012-02-09  0:40 ` howarth at nitro dot med.uc.edu
2012-02-09  0:47 ` howarth at nitro dot med.uc.edu
2012-02-09  0:57 ` howarth at nitro dot med.uc.edu [this message]
2012-02-09 15:06 ` howarth at nitro dot med.uc.edu
2012-02-11  1:11 ` howarth at nitro dot med.uc.edu
2012-02-22 22:32 ` patrick.marlier at gmail dot com
2012-02-23  4:34 ` howarth at nitro dot med.uc.edu
2012-02-23  4:40 ` mikestump at comcast dot net
2012-02-23  8:19 ` mikestump at comcast dot net
2012-02-23 15:17 ` howarth at nitro dot med.uc.edu
2012-02-23 15:18 ` iains at gcc dot gnu.org
2012-02-23 15:42 ` patrick.marlier at gmail dot com
2012-02-23 15:50 ` patrick.marlier at gmail dot com
2012-02-23 15:53 ` howarth at nitro dot med.uc.edu
2012-02-23 18:31 ` howarth at nitro dot med.uc.edu
2012-02-23 18:38 ` howarth at nitro dot med.uc.edu
2012-02-23 18:44 ` howarth at nitro dot med.uc.edu
2012-02-23 18:51 ` mikestump at comcast dot net
2012-02-23 18:53 ` howarth at nitro dot med.uc.edu
2012-02-23 18:57 ` patrick.marlier at gmail dot com
2012-02-23 18:58 ` mikestump at comcast dot net
2012-02-23 21:02 ` howarth at nitro dot med.uc.edu
2012-02-23 21:57 ` mikestump at comcast dot net
2012-02-23 22:05 ` howarth at nitro dot med.uc.edu
2012-02-24 15:52 ` pmarlier at gcc dot gnu.org
2012-02-29  6:04 ` howarth at nitro dot med.uc.edu
2012-03-02 18:23 ` mrs at gcc dot gnu.org
2012-03-02 18:35 ` mrs at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-52179-4-7MZMVfBJlr@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).