[fpc-pascal] could not compile lazarus "make[2]: *** [lazarus] Killed"

Benedikt Schindler BeniSchindler at gmx.de
Fri Apr 17 12:31:25 CEST 2009


i recompiled the hole fpc with the option "-gl" and the patch Paul 
Ishenin mentioned.
there is still a problem with programms, that wonna use windows.
console prorgamms just work fine.

if i try to run a lazarus programm i get this backtrace.



-----------------------------------------------
(gdb) run gdb om_test_suite
Starting program: /opt/test/om_test_suite gdb om_test_suite

Program received signal SIGILL, Illegal instruction.
FPC_CPUCODEINIT () at /media/mmcblk0p3/fpc/rtl/arm/arm.inc:596
596         ldrd r0,[r0]
Current language:  auto; currently pascal
(gdb) bt
#0  FPC_CPUCODEINIT () at /media/mmcblk0p3/fpc/rtl/arm/arm.inc:596
#1  0x00038f30 in SYSTEM_init () at system.pp:325
#2  0x00031a50 in fpc_initializeunits () at 
/media/mmcblk0p3/fpc/rtl/inc/system.inc:766
#3  0x00019a8c in main () at om_test_suite.lpr:13
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x49534e40 in ?? ()
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x4052d860 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
(gdb) bt
#0  0x4052d860 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#1  0x0015ada0 in TGTK2WIDGETSET__DESTROY (vmt=0xffffffff, 
this=0x40b8e020) at 
/media/mmcblk0p3/lazarus/lcl/interfaces/gtk2/gtk2widgetset.inc:551
#2  0x0015ad04 in TGTK2WIDGETSET__CREATE (vmt=0x205fc8, this=0x40b8e020) 
at /media/mmcblk0p3/lazarus/lcl/interfaces/gtk2/gtk2widgetset.inc:547
#3  0x0003b164 in CREATEWIDGETSET (AWIDGETSETCLASS=<incomplete type>) at 
/media/mmcblk0p3/lazarus/lcl/forms.pp:1706
#4  0x0003a8a0 in INTERFACES_init () at 
/media/mmcblk0p3/lazarus/lcl/interfaces/gtk2/interfaces.pas:39
#5  0x00031a50 in fpc_initializeunits () at 
/media/mmcblk0p3/fpc/rtl/inc/system.inc:766
#6  0x00019a8c in main () at om_test_suite.lpr:13
(gdb) cont
Continuing.
[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $4052D860
  $0015AD04
  $0003B164
  $0003A8A0
  $00031A50
  $00019A8C
TApplication.HandleException Access violation
  Stack trace:
  $4052D860
  $0015AD04
  $0003B164
  $0003A8A0
  $00031A50
  $00019A8C

Program received signal SIGSEGV, Segmentation fault.
0x000987f8 in GETCAPTURE () at 
/media/mmcblk0p3/lazarus/lcl/include/winapi.inc:315
315       Result := WidgetSet.GetCapture;
(gdb) bt
#0  0x000987f8 in GETCAPTURE () at 
/media/mmcblk0p3/lazarus/lcl/include/winapi.inc:315
#1  0x00049d5c in TAPPLICATION__HANDLEEXCEPTION (SENDER=0x40b663e0, 
this=0x40b7e020) at 
/media/mmcblk0p3/lazarus/lcl/include/application.inc:1059
#2  0x0003ab10 in EXCEPTIONOCCURRED (SENDER=0x40b663e0, ADDR=0x4052d860, 
FRAMECOUNT=5, FRAMES=0x40b6e340) at 
/media/mmcblk0p3/lazarus/lcl/forms.pp:1531
#3  0x00030080 in DOUNHANDLEDEXCEPTION () at 
/media/mmcblk0p3/fpc/rtl/inc/except.inc:172
#4  0x00030170 in fpc_raiseexception (OBJ=0x40b663e0, ANADDR=0x4052d860, 
AFRAME=0x3a1cb18) at /media/mmcblk0p3/fpc/rtl/inc/except.inc:199
#5  0x00079048 in RUNERRORTOEXCEPT (ERRNO=216, ADDRESS=0x4052d860, 
FRAME=0x3a1cb18) at 
/media/mmcblk0p3/fpc/rtl/objpas/sysutils/sysutils.inc:338
#6  0x00031f70 in HANDLEERRORADDRFRAME (ERRNO=216, ADDR=0x4052d860, 
FRAME=0x3a1cb18) at /media/mmcblk0p3/fpc/rtl/inc/system.inc:910
#7  0x00038ab0 in SIGNALTORUNERROR (SIG=11, SIGCONTEXT=0x3a1c750, 
UCONTEXT=0x3a1c7d0) at ./arm/sighnd.inc:48
#8  0x0001faf4 in LINUX_RESTORE () at ossysc.inc:248
Backtrace stopped: frame did not save the PC
(gdb) cont
Continuing.
[FORMS.PP] ExceptionOccurred

Program exited normally.




More information about the fpc-pascal mailing list