Hi
It seems that since ARC was introduce there is a bug in edlc.
If you try to compile the blow sample it is going to crash:
-----------
NSObject subclass: A [
| a |
+init [ a := 4]
]
---------
When looking at the bug using dbg the backtrace command is making gdb crashing
too. And gdb seems to crash on a loop:
(gdb) file edlc
Reading symbols from edlc...done.
(gdb) r -f test.st
Starting program: /Local/Tools/edlc -f test.st
[New LWP 100451]
[New Thread 808c07400 (LWP 100451/edlc)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 808c07400 (LWP 100451/edlc)]
0x0000000802b4c57b in objc_retain () from /usr/local/lib/libobjc.so.4
(gdb) bt
#0 0x0000000802b4c57b in objc_retain () from /usr/local/lib/libobjc.so.4
Program received signal SIGSEGV, Segmentation fault.
0x0000000000515e0b in dwarf2_build_psymtabs ()
(gdb) where 10
#0 0x0000000000515e0b in dwarf2_build_psymtabs ()
#1 0x0000000000516050 in dwarf2_build_psymtabs ()
#2 0x0000000000516195 in dwarf2_build_psymtabs ()
#3 0x00000000005162b0 in dwarf2_build_psymtabs ()
#4 0x0000000000516680 in dwarf2_build_psymtabs ()
#5 0x0000000000516090 in dwarf2_build_psymtabs ()
#6 0x0000000000516195 in dwarf2_build_psymtabs ()
#7 0x00000000005162b0 in dwarf2_build_psymtabs ()
#8 0x0000000000516835 in dwarf2_build_psymtabs ()
#9 0x0000000000516060 in dwarf2_build_psymtabs ()
(More stack frames follow...)
(gdb)
I am suspecting that there is a bug with ARC ( because of the objc_retain ) but
I am not sure to know where that could happen.
Thanks for the helps.
--
Mathieu
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss