Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Thunderbird crash after switching to a 17.0 profile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
crystall
n00b
n00b


Joined: 31 Aug 2004
Posts: 15

PostPosted: Thu Jan 18, 2018 10:22 am    Post subject: [SOLVED] Thunderbird crash after switching to a 17.0 profile Reply with quote

I've just updated my kernel to the latest stable version (gentoo-sources-4.9.76-r1) but I'm encountering segfaults in both Thunderbird (thunderbird-bin-52.5.2) and all programs that rely on Python. I had the same problem when I tried to upgrade to the 4.14.x series of kernels back when they were marked stable though I don't recall if KPTI was enabled or not. The bottom of the stack traces for the crashes look the same on both programs. This is a python program crashing (equery):

Code:
#0  0x00007ffff356d91d in dlmmap_locked.isra.2.constprop () from /usr/lib64/libffi.so.6
#1  0x00007ffff356da6c in dlmmap.constprop () from /usr/lib64/libffi.so.6
#2  0x00007ffff356e5b0 in ffi_closure_alloc () from /usr/lib64/libffi.so.6
#3  0x00007ffff3782ad0 in _ctypes_alloc_callback () from /usr/lib64/python3.5/lib-dynload/_ctypes.cpython-35m-x86_64-linux-gnu.so
#4  0x00007ffff377d6fc in PyCFuncPtr_new () from /usr/lib64/python3.5/lib-dynload/_ctypes.cpython-35m-x86_64-linux-gnu.so
#5  0x00007ffff79cebc5 in type_call () from /usr/lib64/libpython3.5m.so.1.0

And this is Thunderbird:

Code:
#0  0x00007fbf117d291d in dlmmap_locked.isra.2.constprop () from /usr/lib64/libffi.so.6
#1  0x00007fbf117d2a6c in dlmmap.constprop () from /usr/lib64/libffi.so.6
#2  0x00007fbf117d35b0 in ffi_closure_alloc () from /usr/lib64/libffi.so.6
#3  0x00007fbf0cf45881 in ?? () from /opt/thunderbird/libxul.so

Has anyone encountered something similar? Should I file a bug or is this an upstream problem?

[edit] I've checked that the problem persists even if I boot with the kernel parameter 'pti=off' to disable the page-table isolation feature. The only way to get the programs working is to boot with the older 4.9.72 kernel.

[edit 2] Changed the title to avoid confusion since the problem was not what I thought it was

[Moderator edit: added [code] tags to preserve output layout. -Hu]


Last edited by crystall on Thu Jan 18, 2018 8:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Thu Jan 18, 2018 1:08 pm    Post subject: Reply with quote

I don't think that this is related to Meltdown/Spectre fixes or to your kernel at all. Maybe it's a late aftereffect or your switch to profile 17.0 ?

Did you try to re-emerge dev-libs/libffi?
Back to top
View user's profile Send private message
crystall
n00b
n00b


Joined: 31 Aug 2004
Posts: 15

PostPosted: Thu Jan 18, 2018 8:47 pm    Post subject: Reply with quote

mike155 wrote:
I don't think that this is related to Meltdown/Spectre fixes or to your kernel at all. Maybe it's a late aftereffect or your switch to profile 17.0 ?

Did you try to re-emerge dev-libs/libffi?

Indeed that was the problem. I thought I had run an
Code:
emerge --emptytree world
after switching the profile but from the emerge log it seem that I actually forgot to. What I cannot explain is why the problem happened only with a kernel version and not the other. Anyway I'll change the title accordingly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum