You are not logged in.

#1 2015-10-05 21:52:34

stevenhoneyman
Member
From: England
Registered: 2014-05-25
Posts: 241

freetype2 & harfbuzz updates causing software to crash

After the updates to freetype2 & harfbuzz over the weekend, the software "Eagle" (PCB CAD) crashes with this kind of thing (it varies slightly):

[   38.701169] eagle[757]: segfault at 1000000058 ip 00007fc424e32aa4 sp 00007ffedb51cf68 error 4 in libc-2.22.so[7fc424db7000+19b000]
[ 1156.409346] traps: eagle[2443] general protection ip:7fa380fe97ad sp:7fff2ed01700 error:0 in libc-2.22.so[7fa380f70000+19b000]
[ 1191.012934] traps: eagle[2450] general protection ip:7fd584e99b48 sp:7ffd6712a900 error:0 in libc-2.22.so[7fd584e22000+19b000]
[ 1286.412124] traps: eagle[2801] general protection ip:7ff9c951b7ad sp:7ffe0b448b70 error:0 in libc-2.22.so[7ff9c94a2000+19b000]

After a bit of messing with other packages that had been updated, I narrowed it down to those two updates. A downgrade of both (and then a reboot and font cache rebuild if that makes any difference) cures the problem.

I'm hesitant to file a bug report as I don't yet know exactly what is causing this (i.e. upstream/packaging/something config-related that I have set)
Also half expecting "not Arch problem WONTFIX"... but I thought I'd post anyway in case it's affecting other software. Aside from Firefox this is the only other "heavy" application that I've ran since the update.

Is anyone else having trouble with this?

Offline

#2 2015-10-05 22:04:17

stevenhoneyman
Member
From: England
Registered: 2014-05-25
Posts: 241

Re: freetype2 & harfbuzz updates causing software to crash

Offline

#3 2015-10-13 17:48:27

MeisBarry
Member
Registered: 2011-04-11
Posts: 15

Re: freetype2 & harfbuzz updates causing software to crash

I'm having this problem, too. I downgraded freetype2 and harfbuzz (and associated lib32s and such), rebuilt fonts, and rebooted but am still having the same issue. What are your eagle/harfbuzz/freetype versions?

Offline

#4 2015-10-13 18:01:53

stevenhoneyman
Member
From: England
Registered: 2014-05-25
Posts: 241

Re: freetype2 & harfbuzz updates causing software to crash

It's still not completely fixed as it happens, I just haven't had time to look into it any further and I don't know what else changed (could be as my library went over some size etc)

It only occurs with the part "preview" window, and no other part of the program. Nothing else I've noticed yet has done the same, and the library works fine on the same version of Eagle (for windows). I cheated and added the part in windows, and then opened the schematic and continued on linux!

Currently I'm on (I think all up-to-date again):

eagle 7.4.0-1
harfbuzz 1.0.4-1
freetype2 2.6.1-1

Offline

#5 2015-10-13 19:23:21

MeisBarry
Member
Registered: 2011-04-11
Posts: 15

Re: freetype2 & harfbuzz updates causing software to crash

Strange. I'm having the problem with the schematic open. There is some odd behavior with my WM (tiling) when it happens. If I open Eagle on its own, then open the schematic, it immediately crashes. If I open up another window first, then open up Eagle (making the Eagle config window half-screen), THEN open the schematic, it is fine until I try to move or change or fullscreen the schematic window.

It's hard for me to say what's causing it, but I'm going to try and figure it out if I get a chance.

Offline

#6 2015-11-11 07:19:36

hangten
Member
Registered: 2012-03-26
Posts: 25

Re: freetype2 & harfbuzz updates causing software to crash

I am seeing the same crashes with Eagle.

Eagle crashes with core dump and following message:
kernel: traps: eagle[19271] general protection ip:7f594ae6bb48 sp:7fffc0bded20 error:0 in libc-2.22.so[7f594adf4000+19b000]

Versions installed:
eagle 7.4.0-1
harfbuzz 1.0.6-2
freetype2 2.6.1-1

Seems that the schematic file (foo.sch) can eventually become corrupt enough to cause crash just by opening.  No crash when a new schematic file is created, but it eventually gets corrupted too.   Not sure what libc-2.22.so has to do with it.  Incompatibilities in latest updates is plausible given this problem did not exist before.  Zooming with mouse wheel has also caused crash.  Wish I could read the coredumps.

Offline

#7 2015-11-19 21:25:21

stevenhoneyman
Member
From: England
Registered: 2014-05-25
Posts: 241

Re: freetype2 & harfbuzz updates causing software to crash

Looks to be fixed in eagle 7.5.0

Offline

Board footer

Powered by FluxBB