Re: [Gc] Wrong __data_start/_end pair Abort

Ivan Maidanski <ivmai-JGs/[email protected]> Sat, 12 Mar 2016 01:07:26 +0300
Newsgroups gmane.comp.programming.garbage-collection.boehmgc
Message-ID <[email protected]>
 Hello,

I cannot reproduce it on the latest master (target: android 6.x arm32).
But I got a crash on this app, see  https://github.com/ivmai/bdwgc/issues/94  
The workaround for now is to link gc statically.

>Thu, 10 Mar 2016, 12:22 +03:00 from [email protected]:
>
>
>Hi,
>
>when I compile and run the following code, I get a message and an Abort. 
>When I run it in gdb
>
>$ cat test.c
>
>#include "gc.h"
>
>int main () {
>     int *p;
>     GC_INIT():
>     p = GC_MALLOC(sizeof(int));
>     return 0;
>}
>
>$ gcc test.c -lgc
>
>$ ./a.out
>Wrong __data_start/_end pair
>Aborted
>
>$ uname -a
>Linux localhost 3.10.49 #1 SMP PREEMPT Mon Nov 16 12:46:20 CST 2015 
>armv71 Android
>
>Any suggestion on how to proceed. gdb did not show anything interesting.
>
>Thanks.
>_______________________________________________
>bdwgc mailing list
>[email protected]
>https://lists.opendylan.org/mailman/listinfo/bdwgc

_______________________________________________
bdwgc mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/bdwgc