View Issue Details

IDProjectCategoryView StatusLast Update
0036786LazarusLCLpublic2020-03-12 10:41
ReporterOndrej Pokorny Assigned ToOndrej Pokorny  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0036786: Forms crashes for BorderStyle=bsNone
DescriptionJust noticed that the current trunk crashes forms for which the
BorderStyle has been set to bsNone. The error message is

    Project project1 raised exception class 'External: SIGFPE'.

     In file 'laztracer.pas' at line 50:
    if (length(Msg) div (length(Msg) div 10000))=0 then ;

The test project is a simple empty form auto-created by Lazarus, and I
only set its BorderStyle to bsNone.

I bracketed the guilty revision and found that the issue occurs
beginning with Ondrej's r62685 "LCL: implement MDI for win32. Issue
36582, based on patch by Kostas Michalopoulos". The preceding revision,
r62684, does not show the error.
TagsNo tags attached.
Fixed in Revision
LazTarget-
Widgetset
Attached Files

Relationships

related to 0036582 resolvedOndrej Pokorny MDI support for Windows (patch and demo included) 

Activities

Ondrej Pokorny

2020-03-11 07:05

developer   ~0121549

Another one:

Win 64 bit

When I select the main IDE bar (or trying to open a menu) I get a range check error in
win32callback line 2082

Code was added in commit:
LCL: implement MDI for win32. Issue 36582, based on patch by Kostas Michalopoulos

 SVN 62685



The new code uses
 LOWORD(WParam)

Old code uses
 LOWORD(LongInt(WParam))

WParam is PtrInt => 64 bit on a 64bit system.

Ondrej Pokorny

2020-03-12 10:41

developer   ~0121569

Should be fixed.

Issue History

Date Modified Username Field Change
2020-03-11 07:04 Ondrej Pokorny New Issue
2020-03-11 07:04 Ondrej Pokorny Status new => assigned
2020-03-11 07:04 Ondrej Pokorny Assigned To => Ondrej Pokorny
2020-03-11 07:05 Ondrej Pokorny Relationship added related to 0036582
2020-03-11 07:05 Ondrej Pokorny Note Added: 0121549
2020-03-12 10:41 Ondrej Pokorny Status assigned => resolved
2020-03-12 10:41 Ondrej Pokorny Resolution open => fixed
2020-03-12 10:41 Ondrej Pokorny LazTarget => -
2020-03-12 10:41 Ondrej Pokorny Note Added: 0121569