[M3devel] more crashers

Jay K jay.krell at cornell.edu
Sun Aug 16 21:21:14 CEST 2009


I see the assertion failure on PPC_LINUX too.
I tried VAR defaultStackSize := 1024 * 1024; (not sure why there was any suspicion of stack size).
 
 
Debugging doesn't work PPC_LINUX.
 
 
jay at plin:/cm3/bin$ gdb ./cm3
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-linux-gnu"...
break ma(gdb) break main
Breakpoint 1 at 0x86fc4: file _m3main.mc, line 2.
(gdb) r
Starting program: /home/jay/cm3/bin/cm3
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x86fc4: Input/output error.
 
 
No problem with C:
 
 
jay at plin:/cm3/bin$ echo "main(){}"> 1.c
jay at plin:/cm3/bin$ gcc -g 1.c
jay at plin:/cm3/bin$ gdb ./a.out
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-linux-gnu"...
(gdb) break main
Breakpoint 1 at 0x10000448: file 1.c, line 1.
(gdb) r
Starting program: /home/jay/cm3/bin/a.out
Breakpoint 1, main () at 1.c:1
1       main(){}
(gdb)
 
 
jay at plin:/cm3/bin$ gcc -gstabs+ 1.c
jay at plin:/cm3/bin$ gdb ./a.out
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-linux-gnu"...
(gdb) break main
Breakpoint 1 at 0x10000448: file 1.c, line 1.
(gdb) r
Starting program: /home/jay/cm3/bin/a.out
Breakpoint 1, main () at 1.c:1
1       main(){}
 
 
jay at plin:/cm3/bin$ gcc -gstabs 1.c
jay at plin:/cm3/bin$ gdb ./a.out
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-linux-gnu"...
(gdb) break main
Breakpoint 1 at 0x10000448: file 1.c, line 1.
(gdb) r
Starting program: /home/jay/cm3/bin/a.out
Breakpoint 1, main () at 1.c:1
1       main(){}
(gdb)
 
 
 - Jay


----------------------------------------
> From: jay.krell at cornell.edu
> To: m3devel at elegosoft.com
> Subject: more crashers
> Date: Sun, 16 Aug 2009 10:06:15 +0000
>
>
> This is head on SOLgnu:
> I'll try another and debug and see if fix is easy.
>
> -bash-3.00$ ./m3browser
>
> ***
> *** runtime error:
> *** Segmentation violation - possible attempt to dereference NIL
> *** pc = 0xfe484f04 = String16_M3 + 0xe0 in ../src/text/String16.m3
> ***
>
> -bash-3.00$ ./visobliq
> Internal Obliq interpreter installed...
> Establishing 'templates'
> (Created frame 'templates')
> let
> Templates =
> {boolean=> ... ,
> browser=> ... ,
> button=> ... ,
> choice=> ... ,
> filebrowser=> ... ,
> form=> ... ,
> frame=> ... ,
> hscroll=> ... ,
> menu=> ... ,
> numeric=> ... ,
> text=> ... ,
> textedit=> ... ,
> typein=> ... ,
> video=> ... ,
> vscroll=> ... }
> Establishing 'vowidgets'
> (Created frame 'vowidgets')
> ok
> Establishing 'vocheckpt'
> (Created frame 'vocheckpt')
> ok
> Establishing 'volib'
> (Created frame 'volib')
> Segmentation Fault (core dumped)
> -bash-3.00$
>


More information about the M3devel mailing list