View Issue Details

IDProjectCategoryView StatusLast Update
0025920LazarusOtherpublic2021-01-12 23:23
ReporterHans-Georg Assigned ToZeljan Rikalo  
Status assignedResolutionopen 
Platformamd64OSUbuntu (32 bit Version) 
Product Version1.2.0 
Summary0025920: OpenDialog crashes with EXTERNAL:SIGSEV and RunError (216)
DescriptionWith OpenDialog, navigating to current users folder crashes.
Steps To ReproducePut a TButton GoButton, a TEdit Edit1 and a TOpenDialog OpenDialog1 on a form.
Enter this in the OnClick event handler of GoButton:

  if OpenDialog1.Execute
  then Edit1.caption:= Opendialog1.FileName
  else Edit1.Caption:= '';
Compile and run this. Click on GoButton. Try to navigate to the home folder of the current user. Programm crashes with "External:SIGSEGV" and "RunError(216)"
TagsNo tags attached.
Fixed in Revision
WidgetsetGTK 2
Attached Files


related to 0025857 resolvedZeljan Rikalo Access violation saving project files on Linux Mint 
related to 0038347 resolvedMartin Friebe crash when opening a file 



2014-03-26 00:08


crashtest1.pas (582 bytes)   
unit CrashTest1;


  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls;


  { TForm1 }

  TForm1 = class(TForm)
    GoButton: TButton;
    Edit1: TEdit;
    OpenDialog1: TOpenDialog;
    procedure GoButtonClick(Sender: TObject);
    { private declarations }
    { public declarations }

  Form1: TForm1;


{$R *.lfm}

{ TForm1 }

procedure TForm1.GoButtonClick(Sender: TObject);
  if OpenDialog1.Execute
  then Edit1.caption:= Opendialog1.FileName
  else Edit1.Caption:= '';


crashtest1.pas (582 bytes)   

Juha Manninen

2014-03-26 11:39

developer   ~0073985

Do you have Cinnamon 16?

Zeljan Rikalo

2014-03-26 11:50

developer   ~0073986

It's Ubuntu 13.10 as I can see.Probably same problem with libpixman.
Somebody must open issue at ubuntu bug tracker about this problem and propose that libpixman should be builded with -mstackrealign (32bit only).That should fix problem.


2014-03-26 14:57

reporter   ~0073988

No, Juhan, I don't have Cinnamon 16.


2014-03-26 15:00

reporter   ~0073989

Last edited: 2014-03-26 15:04

View 2 revisions

Zeljan, I opened an issue at ubuntu bug tracker and asked to build libpixman as told by you. Thanx.

Juha Manninen

2014-03-26 16:34

developer   ~0073990

I assign this to Zeljan like the related issues.

Zeljan Rikalo

2014-04-12 12:02

developer   ~0074345

@Hans-Georg: I've tested it on one of my virtual machines (rebuilding libpixmap with -mstackrealign and it works fine in that case).


2014-08-07 03:44

reporter   ~0076489

It looks like nothing happens on

and this bug affects (=makes unusable) an application, I'm involved in. I guess, in order to fix it, I'd have to build and distribute libpixman together with the application, which sounds like quite a lot of work. Could you give me some hints before I try? Or at least confirm that I'm not off the track?


2014-11-27 21:07

reporter   ~0079429

It also seems to happen when you open the 'Save as' dialogue in the IDE.

I have that happen with this setup:

lazarus ide 1.2.6
fpc 2.6.4
ubuntu 14.04 LTS

I have created a thread about this in the forum.

Zeljan Rikalo

2014-12-02 09:47

developer   ~0079562

@Maaartin: yes, you have to rebuild libpixman with -mstackrealign on your own and distribute it with your app on ubuntu >= 14.04 until they fix issue.

Issue History

Date Modified Username Field Change
2014-03-26 00:08 Hans-Georg New Issue
2014-03-26 00:08 Hans-Georg File Added: crashtest1.pas
2014-03-26 11:38 Juha Manninen Relationship added related to 0025857
2014-03-26 11:39 Juha Manninen LazTarget => -
2014-03-26 11:39 Juha Manninen Note Added: 0073985
2014-03-26 11:39 Juha Manninen Assigned To => Juha Manninen
2014-03-26 11:39 Juha Manninen Status new => feedback
2014-03-26 11:50 Zeljan Rikalo Note Added: 0073986
2014-03-26 14:57 Hans-Georg Note Added: 0073988
2014-03-26 14:57 Hans-Georg Status feedback => assigned
2014-03-26 15:00 Hans-Georg Note Added: 0073989
2014-03-26 15:04 Hans-Georg Note Edited: 0073989 View Revisions
2014-03-26 16:33 Juha Manninen Assigned To Juha Manninen => Zeljan Rikalo
2014-03-26 16:34 Juha Manninen Note Added: 0073990
2014-04-12 12:02 Zeljan Rikalo Note Added: 0074345
2014-08-07 03:44 Maaartin Note Added: 0076489
2014-11-27 21:07 kriz_ze_kraut Note Added: 0079429
2014-12-02 09:47 Zeljan Rikalo Note Added: 0079562
2021-01-12 23:23 Juha Manninen Relationship added related to 0038347