Forum > General

Compiler "raised exception internally" (Ultibo v. of compiler)

(1/1)

AlanTheBeast:

This is using Ultibo v2.3.0U of Lazarus, and [Verbose: Free Pascal Compiler version 3.3.1-11801-g3fe4fbf9c8 [2022/08/08] for arm]


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---gpsa.pas(680,33) Error: Compilation raised exception internallyError: An unhandled exception occurred at $000000010BE4C10A:Error: EAccessViolation: Access violationDebug:   $000000010BE4C10ADebug: Verbose: Compilation aborted 
While compiling - at line <. $04: DecodeDop(UMp); >
(That procedure is in another unit)


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---               case Arr[2] of        // MsgClass (MsgID is at Arr[3])                  $01: begin                         case Arr[3] of                          $07 : Decode_UBX_NAV_PVT(UMp);    //most frequent                          $20 : ; //Decode_UBX_NAV_TIMEGPS(UMp);                          $04 : DecodeDOP(UMp);                          $26 : ; //DecodeLeapSec(UMp);                          $32 : DecodeSBAS(UMp);                          $35 : DecodeSatInfo(UMp);                         end;                       end; 
For now I've added < asm NOP end; > for cases $20: and $26 which resolves the issue for now.

PascalDragon:
Please provide a full, self contained example that shows this problem (preferably without the Ultibo modifications) and report that as a bug.

AlanTheBeast:

--- Quote from: PascalDragon on August 12, 2022, 04:43:25 pm ---Please provide a full, self contained example that shows this problem (preferably without the Ultibo modifications) and report that as a bug.

--- End quote ---
Reported via Git.

Navigation

[0] Message Index

Go to full version