attempt to build clisp on mingw without debug with lightning is crash

View: New views
2 Messages — Rating Filter:   Alert me  

attempt to build clisp on mingw without debug with lightning is crash

by Yaroslav Kavenchuk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

;;  Loading file C:\gnu\home\src\clisp\clisp\src\clos-genfun1.lisp ...
*** - handle_fault error2 ! address = 0x9ef50021 not in
[0x5fde75d8,0x60000000) !
SIGSEGV cannot be cured. Fault address = 0x9ef50021.
GC count: 51
Space collected by GC: 0 23993120
Run time: 0 66718750
Real time: 0 72656250
GC time: 0 3593750
Permanently allocated: 90304 bytes.
Currently in use: 3158036 bytes.
Free space: 752430 bytes.
make: *** [interpreted.mem] Error 5


with debug - all ok.

Any suggestions - how debug it?

--
WBR, Yaroslav Kavenchuk.


_______________________________________________
Lightning mailing list
Lightning@...
http://lists.gnu.org/mailman/listinfo/lightning

Re: attempt to build clisp on mingw without debug with lightning is crash

by Sam Steingold :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yaroslav Kavenchuk wrote:

> ;;  Loading file C:\gnu\home\src\clisp\clisp\src\clos-genfun1.lisp ...
> *** - handle_fault error2 ! address = 0x9ef50021 not in
> [0x5fde75d8,0x60000000) !
> SIGSEGV cannot be cured. Fault address = 0x9ef50021.
> GC count: 51
> Space collected by GC: 0 23993120
> Run time: 0 66718750
> Real time: 0 72656250
> GC time: 0 3593750
> Permanently allocated: 90304 bytes.
> Currently in use: 3158036 bytes.
> Free space: 752430 bytes.
> make: *** [interpreted.mem] Error 5
>
>
> with debug - all ok.
>
> Any suggestions - how debug it?

rm -f *.o
edit Makefile and replace -O2 with -g in the CFLAGS and run under gdb.

also, take a look at the porting suggestions at the end of unix/PLATFORMS.



_______________________________________________
Lightning mailing list
Lightning@...
http://lists.gnu.org/mailman/listinfo/lightning