Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-04

startlazarus crash in Ubuntu 14:04

12 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Junior

Lazarus 1.3 r44782M FPC 2.6.2 i386-linux-gtk 2

Ubuntu 14.04 - 32 bits

-----------------------------------------------------------

Every time I compile lazarus (make clean all) and run the startlazarus, the splash window freezes. To kill the process and rerun the program works.

has been some time, but now that I decided to publish.

Reply by email

Unknown author
to Junior
Junior wrote 11 lines
Lazarus 1.3 r44782M FPC 2.6.2 i386-linux-gtk 2 Ubuntu 14.04 - 32 bits ----------------------------------------------------------- Every time I compile lazarus (make clean all) and run the startlazarus, the splash window freezes. To kill the process and rerun the program works. has been some time, but now that I decided to publish.

Pls. open an issue about it. I'll install 14.04 into vmware next wekeend and take a look into problem.

zeljko

Reply by email

Flávio Etrusco
to Unknown author
Show quoted text 19 lines
On 2014-04-22 09:11, Junior wrote: > Lazarus 1.3 r44782M FPC 2.6.2 i386-linux-gtk 2 > > Ubuntu 14.04 - 32 bits > > ----------------------------------------------------------- > > Every time I compile lazarus (make clean all) and run the > startlazarus, the splash window freezes. To kill the process and rerun > the program works. > > has been some time, but now that I decided to publish. > Pls. open an issue about it. I'll install 14.04 into vmware next wekeend and take a look into problem. zeljko

FWIW I don't have any problem on Ubuntu 14.04 64-bit (x86_64).

-Fl?vio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140423/f30a7f43/attachment.html>

Reply by email

zeljko
to Flávio Etrusco
Fl?vio Etrusco wrote 29 lines
On Tue, Apr 22, 2014 at 3:01 PM, < <mailto:>> wrote: On 2014-04-22 09:11, Junior wrote: Lazarus 1.3 r44782M FPC 2.6.2 i386-linux-gtk 2 Ubuntu 14.04 - 32 bits ------------------------------__----------------------------- Every time I compile lazarus (make clean all) and run the startlazarus, the splash window freezes. To kill the process and rerun the program works. has been some time, but now that I decided to publish. Pls. open an issue about it. I'll install 14.04 into vmware next wekeend and take a look into problem. zeljko FWIW I don't have any problem on Ubuntu 14.04 64-bit (x86_64).

His problem is with 32 bit. I guess it's because of libpixman which crashes if it isn't compiled with -mstackrealign.We, lazarus developers cannot do anything about this problem.
So there are 3 solutions:
1.Check (ask) ubuntu packagers if it's possible to rebuild libpixman with -mstackrealign
2.Ask fpc devels to fix problem somehow.
3.Use qt-lcl.

Same problem exist on Mint 16 32bit.

zeljko

Reply by email

FreeMan
to zeljko
His problem is with 32 bit. I guess it's because of libpixman which crashes if it isn't compiled with -mstackrealign.We, lazarus developers cannot do anything about this problem.

Is this mean problem on just Ubuntu 14.04 - 32 bits gtk 2 ? second question if any application created other platform and crosscompiled to linux 32bit, and this application has crash on Ubuntu 14.04 - 32 bits gtk 2
Thank you

Reply by email

zeljko
to FreeMan
FreeMan wrote
> His problem is with 32 bit. I guess it's because of libpixman which > crashes if it isn't compiled with -mstackrealign.We, lazarus > developers cannot do anything about this problem. Is this mean problem on just Ubuntu 14.04 - 32 bits gtk 2 ?

That means: any 32bit gtk2 application created by fpc compiler will crash on any distro which realigns stack (eg sse2/sse3) inside library. Currently libpixman.so is critical (but tomorrow any C lib can be critical), so such lib should be rebuilt with -mstackrealign passed to gcc or fpc devels should make some magic to avoid such problem.Maybe it will be good to open issue at fpc bugtracker about this.

second question if any application created other platform and crosscompiled to linux 32bit, and this application has crash on Ubuntu 14.04 - 32 bits gtk 2

Yes if we have above scenario. If you rebuild libpixman by yourself (with -mstackrealign passed to gcc) then it won't crash.

There is already story about that problem:
http://bugs.freepascal.org/view.php?id=15582

zeljko

Reply by email

Reinier Olislagers
to zeljko
zeljko wrote 12 lines
On 04/23/2014 10:14 AM, FreeMan wrote: >> His problem is with 32 bit. I guess it's because of libpixman which >> crashes if it isn't compiled with -mstackrealign.We, lazarus >> developers cannot do anything about this problem. > Is this mean problem on just Ubuntu 14.04 - 32 bits gtk 2 ? That means: any 32bit gtk2 application created by fpc compiler will crash on any distro which realigns stack (eg sse2/sse3) inside library. Currently libpixman.so is critical (but tomorrow any C lib can be critical), so such lib should be rebuilt with -mstackrealign passed to gcc or fpc devels should make some magic to avoid such problem.Maybe it will be good to open issue at fpc bugtracker about this.

Doesn't
http://bugs.freepascal.org/view.php?id=15582
already cover this?

Reply by email

Flávio Etrusco
to zeljko: That means: any 32bit gtk2 application created by fpc compiler will crash on any distro…
zeljko wrote 29 lines
On 04/23/2014 10:14 AM, FreeMan wrote: > His problem is with 32 bit. I guess it's because of libpixman which >> crashes if it isn't compiled with -mstackrealign.We, lazarus >> developers cannot do anything about this problem. >> > Is this mean problem on just Ubuntu 14.04 - 32 bits gtk 2 ? > That means: any 32bit gtk2 application created by fpc compiler will crash on any distro which realigns stack (eg sse2/sse3) inside library. Currently libpixman.so is critical (but tomorrow any C lib can be critical), so such lib should be rebuilt with -mstackrealign passed to gcc or fpc devels should make some magic to avoid such problem.Maybe it will be good to open issue at fpc bugtracker about this. second question if any application created other platform and > crosscompiled to linux 32bit, and this application has crash on Ubuntu > 14.04 - 32 bits gtk 2 > Yes if we have above scenario. If you rebuild libpixman by yourself (with -mstackrealign passed to gcc) then it won't crash. There is already story about that problem: http://bugs.freepascal.org/view.php?id=15582 zeljko

Do you think it's useful to vote "affects me" in
https://bugs.launchpad.net/ubuntu/+source/pixman/+bug/1297845 ?

-Fl?vio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140423/c66453b5/attachment.html>

Reply by email

Unknown author
to Flávio Etrusco
Fl?vio Etrusco wrote 31 lines
On Wed, Apr 23, 2014 at 12:56 PM, zeljko wrote: > On 04/23/2014 10:14 AM, FreeMan wrote: > His problem is with 32 bit. I guess it's because of libpixman which > crashes if it isn't compiled with -mstackrealign.We, lazarus > developers cannot do anything about this problem. > Is this mean problem on just Ubuntu 14.04 - 32 bits gtk 2 ? That means: any 32bit gtk2 application created by fpc compiler will crash on any distro which realigns stack (eg sse2/sse3) inside library. Currently libpixman.so is critical (but tomorrow any C lib can be critical), so such lib should be rebuilt with -mstackrealign passed to gcc or fpc devels should make some magic to avoid such problem.Maybe it will be good to open issue at fpc bugtracker about this. > second question if any application created other platform and > crosscompiled to linux 32bit, and this application has crash on > Ubuntu > 14.04 - 32 bits gtk 2 Yes if we have above scenario. If you rebuild libpixman by yourself (with -mstackrealign passed to gcc) then it won't crash. There is already story about that problem: http://bugs.freepascal.org/view.php?id=15582 [1] zeljko Do you think it's useful to vote "affects me" in https://bugs.launchpad.net/ubuntu/+source/pixman/+bug/1297845 [2] ?

Maybe. I don't use Ubuntu so don't know exactly how many votes can trigger packager to take a look into problem. Someone should write there that libpixman compiled with -mstackrealign fixes problem.

zeljko

Reply by email

zeljko
to FreeMan
FreeMan wrote 8 lines
> Maybe. I don't use Ubuntu so don't know exactly how many votes can > trigger packager to take a look into problem. Someone should write > there that libpixman compiled with -mstackrealign fixes problem. > > zeljko https://bugs.launchpad.net/ubuntu/+source/pixman/+bug/1297845 this bug's status been confirmed

Yes, I saw that. I've already voted that this bug affects me. We must attract more ppl. to vote for this bug so it could be fixed asap by repackaging libpixman.

zeljko

Reply by email

Flávio Etrusco
to zeljko
zeljko wrote 19 lines
On 04/24/2014 09:51 AM, FreeMan wrote: > Maybe. I don't use Ubuntu so don't know exactly how many votes can >> trigger packager to take a look into problem. Someone should write >> there that libpixman compiled with -mstackrealign fixes problem. >> >> zeljko >> > > https://bugs.launchpad.net/ubuntu/+source/pixman/+bug/1297845 > this bug's status been confirmed > Yes, I saw that. I've already voted that this bug affects me. We must attract more ppl. to vote for this bug so it could be fixed asap by repackaging libpixman. zeljko

It seems it was changed/fixed upstream at least:
https://bugs.freedesktop.org/show_bug.cgi?id=70348 And http://lists.freedesktop.org/archives/pixman/2013-October/003077.html Although the bug ticket mentioned win32 the change seems to be applied globally, right?

Let's hope Ubuntu doesn't take too long to pick it up - not sure whether we can have hopes for a fix in 14.04 :-/

-Fl?vio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140424/23a1ccdb/attachment.html>

Reply by email