Hi Following is the back trace of ./firework which is an nucurses example in fpc-svn/packages/ncurses/examples. It used to execute well about 15 days back. I am using latest svn.
I cross compiled today on FreeBSD 7.0 using bin arm-linux binutils from codesourcery . I have made a bug report #0011595 Plz help to fix this. regards Nataraj GNU gdb 6.7.1-debian Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 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 "arm-linux-gnueabi"... Using host libthread_db library "/lib/libthread_db.so.1". [1;30r[0;10m[4l[?7h[39;49m[?25l[?1c[39;49m[37m[40m[H[J Program received signal SIGSEGV, Segmentation fault. 0x000146d4 in FILESIZE (F=Cannot access memory at address 0x10da73 ) at file.inc:311 311 file.inc: No such file or directory. in file.inc #0 0x000146d4 in FILESIZE (F=Cannot access memory at address 0x10da73 ) at file.inc:311 #1 0x00018d6c in OPENEXEFILE (E= {F = {HANDLE = 6, MODE = 55217, RECSIZE = 1, _PRIVATE = {0 #0 <repeats 32 times>}, USERDATA = #0 <repeats 15 times>, NAME = {0 #0 <repeats 16 times>, 47 '/', 114 'r', 111 'o', 111 'o', 116 't', 47 '/', 102 'f', 105 'i', 114 'r', 101 'e', 119 'w', 111 'o', 114 'r', 107 'k', 0 #0 <repeats 226 times>}}, SIZE = 0, ISOPEN = true, NSECTS = 0, SECHDROFS = 0, SECSTROFS = 0, PROCESSADDRESS = 0, FUNCTIONRELATIVE = false, IMGOFFSET = 0, FILENAME = '/root/firework', BUF = #0 <repeats 4095 times>, BUFSIZE = 4096, BUFCNT = 0}, FN=Cannot access memory at address 0x0 ) at exeinfo.pp:1058 #2 0x00017c10 in OPENSTABS (ADDR=0x0) at lineinfo.pp:90 #3 0x00017db0 in GETLINEINFO (ADDR=0, FUNC=Cannot access memory at address 0x0 ) at lineinfo.pp:139 #4 0x00018674 in STABBACKTRACESTR (ADDR=0xf7d4, result='0000F7D4') at lineinfo.pp:271 #5 0x0000fb60 in INTERNALEXIT () at system.inc:822 #6 0x0000fddc in DO_EXIT () at system.inc:863 #7 0x0000fdf8 in HALT (ERRNUM=0) at system.inc:877 #8 0x0000fefc in HANDLEERRORADDRFRAME (ERRNO=0, ADDR=0xf7d4, FRAME=0xbecbcc84) at system.inc:905 #9 0x0000ff4c in HANDLEERRORFRAME (ERRNO=0, FRAME=0x0) at system.inc:918 #10 0x0000d7e4 in fpc_mul_qword (F1=2480833239711744, F2=77, CHECKOVERFLOW=true (57300)) at genmath.inc:1355 #11 0x0000dfd4 in fpc_mul_int64 (F1=2480833239711744, F2=438, CHECKOVERFLOW=false) at real2str.inc:391 #12 0x0000f7d4 in RANDOM (L=0) at system.inc:532 #13 0x0000b888 in main () at firework.pp:105 The program is running. Exit anyway? (y or n) [answered Y; input not from terminal _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel