View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0025920 | Lazarus | Other | public | 2014-03-26 00:08 | 2021-01-12 23:23 |
Reporter | Hans-Georg | Assigned To | Zeljan Rikalo | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Platform | amd64 | OS | Ubuntu (32 bit Version) | ||
Product Version | 1.2.0 | ||||
Summary | 0025920: OpenDialog crashes with EXTERNAL:SIGSEV and RunError (216) | ||||
Description | With OpenDialog, navigating to current users folder crashes. | ||||
Steps To Reproduce | Put 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)" | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
LazTarget | - | ||||
Widgetset | GTK 2 | ||||
Attached Files |
|
related to | 0025857 | resolved | Zeljan Rikalo | Access violation saving project files on Linux Mint |
related to | 0038347 | new | crash when opening a file |
|
crashtest1.pas (582 bytes)
unit CrashTest1; interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls; type { TForm1 } TForm1 = class(TForm) GoButton: TButton; Edit1: TEdit; OpenDialog1: TOpenDialog; procedure GoButtonClick(Sender: TObject); private { private declarations } public { public declarations } end; var Form1: TForm1; implementation {$R *.lfm} { TForm1 } procedure TForm1.GoButtonClick(Sender: TObject); begin if OpenDialog1.Execute then Edit1.caption:= Opendialog1.FileName else Edit1.Caption:= ''; end; end. |
|
Do you have Cinnamon 16? |
|
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. |
|
No, Juhan, I don't have Cinnamon 16. |
|
Zeljan, I opened an issue at ubuntu bug tracker and asked to build libpixman as told by you. Thanx. |
|
I assign this to Zeljan like the related issues. |
|
@Hans-Georg: I've tested it on one of my virtual machines (rebuilding libpixmap with -mstackrealign and it works fine in that case). |
|
It looks like nothing happens on https://bugs.launchpad.net/ubuntu/+source/pixman/+bug/1297845 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? |
|
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. |
|
@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. |
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 |