<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Could this be endianness-related?<br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><span class="Apple-style-span" style="font-size: medium;"><font class="Apple-style-span" color="#0000FF" face="'Gill Sans'"><br></font></span></div></span></span></span></span></span></span></span></span></div></span></div></span></div><div><div>On 16 Aug 2009, at 15:21, Jay K wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br>I see the assertion failure on PPC_LINUX too.<br>I tried VAR defaultStackSize := 1024 * 1024; (not sure why there was any suspicion of stack size).<br><br><br>Debugging doesn't work PPC_LINUX.<br><br><br>jay@plin:/cm3/bin$ gdb ./cm3<br>GNU gdb 6.8-debian<br>Copyright (C) 2008 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "powerpc-linux-gnu"...<br>break ma(gdb) break main<br>Breakpoint 1 at 0x86fc4: file _m3main.mc, line 2.<br>(gdb) r<br>Starting program: /home/jay/cm3/bin/cm3<br>Warning:<br>Cannot insert breakpoint 1.<br>Error accessing memory address 0x86fc4: Input/output error.<br><br><br>No problem with C:<br><br><br>jay@plin:/cm3/bin$ echo "main(){}"> 1.c<br>jay@plin:/cm3/bin$ gcc -g 1.c<br>jay@plin:/cm3/bin$ gdb ./a.out<br>GNU gdb 6.8-debian<br>Copyright (C) 2008 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "powerpc-linux-gnu"...<br>(gdb) break main<br>Breakpoint 1 at 0x10000448: file 1.c, line 1.<br>(gdb) r<br>Starting program: /home/jay/cm3/bin/a.out<br>Breakpoint 1, main () at 1.c:1<br>1 main(){}<br>(gdb)<br><br><br>jay@plin:/cm3/bin$ gcc -gstabs+ 1.c<br>jay@plin:/cm3/bin$ gdb ./a.out<br>GNU gdb 6.8-debian<br>Copyright (C) 2008 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "powerpc-linux-gnu"...<br>(gdb) break main<br>Breakpoint 1 at 0x10000448: file 1.c, line 1.<br>(gdb) r<br>Starting program: /home/jay/cm3/bin/a.out<br>Breakpoint 1, main () at 1.c:1<br>1 main(){}<br><br><br>jay@plin:/cm3/bin$ gcc -gstabs 1.c<br>jay@plin:/cm3/bin$ gdb ./a.out<br>GNU gdb 6.8-debian<br>Copyright (C) 2008 Free Software Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later <br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law. Type "show copying"<br>and "show warranty" for details.<br>This GDB was configured as "powerpc-linux-gnu"...<br>(gdb) break main<br>Breakpoint 1 at 0x10000448: file 1.c, line 1.<br>(gdb) r<br>Starting program: /home/jay/cm3/bin/a.out<br>Breakpoint 1, main () at 1.c:1<br>1 main(){}<br>(gdb)<br><br><br> - Jay<br><br><br>----------------------------------------<br><blockquote type="cite">From: <a href="mailto:jay.krell@cornell.edu">jay.krell@cornell.edu</a><br></blockquote><blockquote type="cite">To: <a href="mailto:m3devel@elegosoft.com">m3devel@elegosoft.com</a><br></blockquote><blockquote type="cite">Subject: more crashers<br></blockquote><blockquote type="cite">Date: Sun, 16 Aug 2009 10:06:15 +0000<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">This is head on SOLgnu:<br></blockquote><blockquote type="cite">I'll try another and debug and see if fix is easy.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-bash-3.00$ ./m3browser<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">***<br></blockquote><blockquote type="cite">*** runtime error:<br></blockquote><blockquote type="cite">*** Segmentation violation - possible attempt to dereference NIL<br></blockquote><blockquote type="cite">*** pc = 0xfe484f04 = String16_M3 + 0xe0 in ../src/text/String16.m3<br></blockquote><blockquote type="cite">***<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-bash-3.00$ ./visobliq<br></blockquote><blockquote type="cite">Internal Obliq interpreter installed...<br></blockquote><blockquote type="cite">Establishing 'templates'<br></blockquote><blockquote type="cite">(Created frame 'templates')<br></blockquote><blockquote type="cite">let<br></blockquote><blockquote type="cite">Templates =<br></blockquote><blockquote type="cite">{boolean=> ... ,<br></blockquote><blockquote type="cite">browser=> ... ,<br></blockquote><blockquote type="cite">button=> ... ,<br></blockquote><blockquote type="cite">choice=> ... ,<br></blockquote><blockquote type="cite">filebrowser=> ... ,<br></blockquote><blockquote type="cite">form=> ... ,<br></blockquote><blockquote type="cite">frame=> ... ,<br></blockquote><blockquote type="cite">hscroll=> ... ,<br></blockquote><blockquote type="cite">menu=> ... ,<br></blockquote><blockquote type="cite">numeric=> ... ,<br></blockquote><blockquote type="cite">text=> ... ,<br></blockquote><blockquote type="cite">textedit=> ... ,<br></blockquote><blockquote type="cite">typein=> ... ,<br></blockquote><blockquote type="cite">video=> ... ,<br></blockquote><blockquote type="cite">vscroll=> ... }<br></blockquote><blockquote type="cite">Establishing 'vowidgets'<br></blockquote><blockquote type="cite">(Created frame 'vowidgets')<br></blockquote><blockquote type="cite">ok<br></blockquote><blockquote type="cite">Establishing 'vocheckpt'<br></blockquote><blockquote type="cite">(Created frame 'vocheckpt')<br></blockquote><blockquote type="cite">ok<br></blockquote><blockquote type="cite">Establishing 'volib'<br></blockquote><blockquote type="cite">(Created frame 'volib')<br></blockquote><blockquote type="cite">Segmentation Fault (core dumped)<br></blockquote><blockquote type="cite">-bash-3.00$<br></blockquote><blockquote type="cite"><br></blockquote></div></blockquote></div><br></body></html>