You are not logged in.

#1 2015-10-11 16:04:12

dllu
Member
Registered: 2015-10-11
Posts: 10

Random things crashing with libpthread even with latest microcode

Here's what happens when I run dmesg | grep pthread:

> dmesg | grep pthread
[ 1425.250081] traps: evince[1058] general protection ip:7f00f5c1f7e0 sp:7ffd3d72dd48 error:0 in libpthread-2.22.so[7f00f5c0d000+18000]
[ 1601.176271] traps: chrome[1409] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[ 1651.961884] traps: chrome[1566] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[ 2407.069660] traps: chrome[1945] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[ 2766.613901] traps: nvidia-settings[627] general protection ip:7f4e48d667e0 sp:7ffe0306b268 error:0 in libpthread-2.22.so[7f4e48d54000+18000]
[ 2792.449529] traps: mpv[2180] general protection ip:7f92484887e0 sp:7ffcb0301e58 error:0 in libpthread-2.22.so[7f9248476000+18000]
[ 5023.767898] traps: mpv[2325] general protection ip:7f6ff28f27e0 sp:7fff2cb59af8 error:0 in libpthread-2.22.so[7f6ff28e0000+18000]
[ 8784.455365] traps: chrome[24147] general protection ip:7f8f284d67e0 sp:7ffe77c738b8 error:0 in libpthread-2.22.so[7f8f284c4000+18000]
[15273.699802] traps: mpv[24399] general protection ip:7f8692e097e0 sp:7fff2ae79e88 error:0 in libpthread-2.22.so[7f8692df7000+18000]
[17025.352269] traps: chrome[8120] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[19563.995326] traps: chrome[8508] general protection ip:7f6934fed7e0 sp:7ffd8c244e68 error:0 in libpthread-2.22.so[7f6934fdb000+18000]
[34896.110023] traps: chrome[9116] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[36226.152688] traps: chrome[9294] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[54151.839968] traps: chrome[16496] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[59830.754808] traps: mpv[31203] general protection ip:7f64e78727e0 sp:7ffd29bcedd8 error:0 in libpthread-2.22.so[7f64e7860000+18000]
[62030.393991] traps: chrome[9976] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[62066.698338] traps: chrome[10165] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[62938.684254] traps: chrome[12974] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[67229.839496] traps: chrome[25241] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[67298.862474] traps: mpv[21340] general protection ip:7f0ee006c7e0 sp:7ffd742d74b8 error:0 in libpthread-2.22.so[7f0ee005a000+18000]
[67521.729372] traps: mpv[25918] general protection ip:7fd20a0607e0 sp:7ffc60ff14f8 error:0 in libpthread-2.22.so[7fd20a04e000+18000]
[70378.510557] traps: chrome[26751] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[70471.577203] traps: chrome[26789] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[70805.303561] traps: gimp[27082] general protection ip:7fe33161c7e0 sp:7ffc8064b998 error:0 in libpthread-2.22.so[7fe33160a000+18000]
[72569.863979] traps: chrome[27506] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[72569.911592] traps: chrome[27510] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[78830.450858] traps: chrome[28150] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]
[80027.239803] traps: gimp[26230] general protection ip:7f2882ca27e0 sp:7ffd7133a7e8 error:0 in libpthread-2.22.so[7f2882c90000+18000]
[87108.088705] traps: gdk-pixbuf-quer[32712] general protection ip:7f3c0eafc7e0 sp:7ffdf46e4368 error:0 in libpthread-2.22.so[7f3c0eaea000+18000]
[87108.692219] traps: gdk-pixbuf-quer[32717] general protection ip:7fecb85557e0 sp:7ffcc590c1a8 error:0 in libpthread-2.22.so[7fecb8543000+18000]
[87116.352651] traps: vlc-cache-gen[32750] general protection ip:7f14e74467e0 sp:7fff4eb2f868 error:0 in libpthread-2.22.so[7f14e7434000+18000]
[87125.234178] traps: gtk-query-immod[313] general protection ip:7fdc43b367e0 sp:7fffb1f3f408 error:0 in libpthread-2.22.so[7fdc43b24000+18000]
[88226.046071] traps: gst-plugin-scan[12045] general protection ip:7ff663e1f7e0 sp:7ffc4d547f98 error:0 in libpthread-2.22.so[7ff663e0d000+18000]
[90597.868883] traps: chrome[12362] general protection ip:7ffb75c2e7e0 sp:7ffea7436318 error:0 in libpthread-2.22.so[7ffb75c1c000+18000]

When I run dmesg | grep microcode:

> dmesg | grep microcode
[    0.314814] microcode: CPU0 sig=0x506e3, pf=0x2, revision=0x33
[    0.314821] microcode: CPU1 sig=0x506e3, pf=0x2, revision=0x33
[    0.314831] microcode: CPU2 sig=0x506e3, pf=0x2, revision=0x33
[    0.314841] microcode: CPU3 sig=0x506e3, pf=0x2, revision=0x33
[    0.314851] microcode: CPU4 sig=0x506e3, pf=0x2, revision=0x33
[    0.314860] microcode: CPU5 sig=0x506e3, pf=0x2, revision=0x33
[    0.314869] microcode: CPU6 sig=0x506e3, pf=0x2, revision=0x33
[    0.314878] microcode: CPU7 sig=0x506e3, pf=0x2, revision=0x33
[    0.314913] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba

When I run arduino:

> arduino
Picked up JAVA_TOOL_OPTIONS: 
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f55065857e0, pid=13160, tid=140003094779648
#
# JRE version: Java(TM) SE Runtime Environment (8.0_51-b16) (build 1.8.0_51-b16)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.51-b03 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libpthread.so.0+0x127e0]  __lll_unlock_elision+0x30
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid13160.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/usr/bin/arduino: line 36: 13160 Aborted                 (core dumped) $JAVA -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel $SPLASH processing.app.Base --curdir "$CURDIR" "$@"

All sorts of things are crashing (mostly on exit) in libpthread. When I googled for this issue, it seems most people didn't update their microcode. But as you can see, I am already using the latest microcode.

Here is the error log from trying to start Arduino: http://lawrence.lu/public/hs_err_pid13160.log

I am using the Intel Core i7 6700K on kernel 4.2.2-1. Also, I'm using: nvidia 355.11-3

I've noticed this problem for a few weeks now. Not being able to start Arduino (which, by the way, is a clean install which I have tried with both java-7-openjdk and java-8-openjdk) is a real blocker for my project.

Last edited by dllu (2015-10-11 16:08:42)

Offline

#2 2015-10-11 16:05:31

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 8,078

Re: Random things crashing with libpthread even with latest microcode

Yes, there are a number of threads about this already.

Offline

#3 2015-10-11 16:09:23

dllu
Member
Registered: 2015-10-11
Posts: 10

Re: Random things crashing with libpthread even with latest microcode

Scimmia wrote:

Yes, there are a number of threads about this already.

My apologies, I couldn't find any relevant info by searching on Google and Duckduckgo. Sorry, it's my first post and I don't know how to use this forum very well yet. By the way, could you link to some of those threads? Thanks

Last edited by dllu (2015-10-11 16:10:28)

Offline

#4 2015-10-11 16:13:17

Scimmia
Bug Wrangler
Registered: 2012-09-01
Posts: 8,078

Re: Random things crashing with libpthread even with latest microcode

Oh, don't get me wrong, it was a very good first post. It provided all of the relevant information, formatted everything correctly, and asked a real question.

Just do a forum search for "skylake" and some info should turn up.

Offline

#5 2015-10-11 16:16:02

dllu
Member
Registered: 2015-10-11
Posts: 10

Re: Random things crashing with libpthread even with latest microcode

Thanks, apparently it was some issue with Nvidia driver version 355 with Skylake. I'll roll back the nvidia driver for now...

Offline

#6 2015-10-12 01:22:46

hmh
Member
Registered: 2015-10-08
Posts: 13

Re: Random things crashing with libpthread even with latest microcode

Microcode rev 0x33/0x34 (they're the same, I think) is not the latest.  There's also a microcode rev 0x39/0x3a out there, at the very least.

The crashes you see are caused by the broken implementation of Intel TSX-NI in Skylake.  I don't know if Intel can fix it in microcode, they had to disable it on Broadwell "refresh" (Broadwell-H).

Offline

#7 2016-01-31 14:35:35

burebista
Member
From: Scotland
Registered: 2015-11-12
Posts: 30

Re: Random things crashing with libpthread even with latest microcode

I am getting this a lot as well. I have an Intel® Core™ i7 Quad Core 6820HK (2.7GHz, 3.6GHz Turbo) processor and a NVIDIA® GeForce® GTX 970M card.

Offline

Board footer

Powered by FluxBB