From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 10 Feb 2017 11:42:12 -0800 (PST) From: Pierre B To: voidlinux Cc: pierr...@gmail.com Message-Id: <284c11e8-a8a1-4324-b081-8bbd9733ec93@googlegroups.com> In-Reply-To: <87lgtex8r8.fsf@gmail.com> References: <077a140e-859b-4a06-8e8f-c02b9ed0d5f6@googlegroups.com> <87lgtex8r8.fsf@gmail.com> Subject: Re: Kernel 4.9 branch causing issue with several BOINC projects MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_809_2021964721.1486755732147" ------=_Part_809_2021964721.1486755732147 Content-Type: multipart/alternative; boundary="----=_Part_810_1809985164.1486755732148" ------=_Part_810_1809985164.1486755732148 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Not sure if I'm doing this right but here's what I managed to get: [root@boinc-zfsnas ~]# uname -a Linux boinc-zfsnas 4.9.9_1 #1 SMP PREEMPT Thu Feb 9 14:09:14 UTC 2017 x86_64 GNU/Linux [root@boinc-zfsnas 0]# gdb wcgrid_scc1_vina_7.08_x86_64-pc-linux-gnu GNU gdb (GDB) 7.12.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from wcgrid_scc1_vina_7.08_x86_64-pc-linux-gnu...(no debugging symbols found)...done. (gdb) run -jobfile SCC1_0000083_Bct-C_10945.job -inputfile SCC1_0000083_Bct- C_10945.zip -seed 218789685 Starting program: /root/0/wcgrid_scc1_vina_7.08_x86_64-pc-linux-gnu -jobfile SCC1_0000083_Bct-C_10945.job -inputfile SCC1_0000083_Bct-C_10945.zip -seed 218789685 Program received signal SIGSEGV, Segmentation fault. 0xffffffffff600000 in ?? () (gdb) (gdb) info program Using the running image of child process 970. Program stopped at 0xffffffffff600000. It stopped with signal SIGSEGV, Segmentation fault. Type "info stack" or "info registers" for more information. (gdb) info stack #0 0xffffffffff600000 in ?? () #1 0x00000000005afeed in ?? () #2 0x00000000004d65be in ?? () #3 0x00000000004d16af in ?? () #4 0x00000000004c6688 in ?? () #5 0x00000000004c31ad in ?? () #6 0x00000000004c33be in ?? () #7 0x00000000004c3c7d in ?? () #8 0x00000000004b5b95 in ?? () #9 0x000000000047abdc in ?? () #10 0x000000000055ad9b in ?? () #11 0x0000000000400449 in ?? () #12 0x00007fffffffe738 in ?? () #13 0x0000000000000000 in ?? () (gdb) info registers rax 0xffffffffff600000 -10485760 rbx 0x7ffffffe2a90 140737488235152 rcx 0x0 0 rdx 0x9 9 rsi 0x0 0 rdi 0x7ffffffe2530 140737488233776 rbp 0x4 0x4 rsp 0x7ffffffe2518 0x7ffffffe2518 r8 0x8d6880 9267328 r9 0x0 0 r10 0x2 2 r11 0x7ffffffe20c8 140737488232648 r12 0xff8 4088 r13 0x7ffffffe2a98 140737488235160 r14 0x7ffffffe2690 140737488234128 r15 0x100 256 rip 0xffffffffff600000 0xffffffffff600000 eflags 0x10202 [ IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 On Friday, February 10, 2017 at 6:20:46 PM UTC+1, Christian Neukirchen wrote: > > Pierre B > writes: > > > When running BOINC under any of the 4.9 kernel, several projects tasks > > terminate immediately in error with messages like this: > > > > process got signal 11 > > SIGSEGV: segmentation violation > > > > (example above is from WorldCommunityGrid) > > > > Returning to 4.8 kernel allows the sames tasks to run fine. > > > > Any idea what changes 4.9 introduces that breaks this ? > > Show a backtrace, either from running in gdb or enable coredumps and > print them from one. > > -- > Christian Neukirchen > > http://chneukirchen.org > ------=_Part_810_1809985164.1486755732148 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Not sure if I'm doing this right but here's what I= managed to get:

[root@boinc-zfsnas ~]# una= me -a
<= /span>Linux boinc-zfsnas 4.9.9_1 #1 SMP PREEMPT Thu Feb 9 14:09:14 UTC 2017 x86_64 GNU/Linux
[
root@boinc-zfsnas 0]# gdb wcgrid_scc1_vina_7.08_x86_64-pc-linux-gnu
GNU gdb
(GDB) 7.12.1=
Copyri= ght (C) 2017 Free Softwa= re = Foundation= , Inc.
License GPLv3+: GNU GP= L version = 3 <= span style=3D"color: #008;" class=3D"styled-by-prettify">or
later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WAR= RANTY, to the extent= permitted by law
. =C2=A0Type "show copying"
and "show warranty" for details.
This GDB was configured as &quo= t;x86_64-unknown-linux-gnu".
Type "= show configuration" for c= onfiguration details.
For bug reporti= ng instructions, ple= ase see:
<= span style=3D"color: #660;" class=3D"styled-by-prettify"><
http://www.gnu.org/software/gdb/bugs/>.=
Find the GDB manual and other documentation re= sources online at:<http://www.gnu.org/software/gdb/d= ocumentation/>.
For help= , type "help"= .
Type "apropos word" to search for commands related to "word"...
Reading symbols from wcgrid_scc1_vina_7.08_x86_64-pc-linux= -gnu...(no debugging symbols found)...done.
(gdb) = run -jobfile SCC1_00= 00083_Bct-= C_10945
.job -inputfile SCC1_0000083_Bct-C_10945.zip -seed 218789685
Starting program: /root/<= span style=3D"color: #066;" class=3D"styled-by-prettify">0/wcgrid_scc1_vina_7.08_x86_64-pc-linux-
gnu -jobfile SCC1_0000083_Bct-C_10945.job -inputfile SCC1_0000083_Bct-C_10945.zip -seed = 218789685<= br>

Program r= eceived signal SIGSEGV, Segmen= tation fau= lt.=
0xffffffffff600000 in ?? ()
(gdb
)
(gdb) info program
=C2=A0 =C2=A0 =C2=A0 =C2=A0
Using the running image of= child process 970.<= br>Program= stopped a= t 0xffffff= ffff600000= .
It stopped with signal SIGSEGV, Segmentation fault.
Type "info stack" or <= /span>"info = registers" for<= /span> more infor= mation.
(
gdb) info stack
#0 =C2=A00xffffffffff600000 in ?? ()
#1 =C2=A00x00000000= 005afeed in ?? ()

#2 =C2=A00x00000000004d65be in ?? ()
#3 =C2=A00x00000000004d16af in ?? ()
#4 =C2=A00x00000000004c6688 in ?? = ()
#5 =C2=A00x000= 00000004c31ad in ?? ()
#6 =C2=A00x00000000004c33be in ?? ()
#7 =C2=A00x00000000004c3c7d in ?? ()
#8 =C2=A00x00000000004b5b95 = in ?? ()#9 =C2= =A00x000000000047abdc in ?? ()
#10 0x000000000055ad9b in ?? ()
#11 0x0000000000400449 in ?? ()
#12 0x00007fffffffe738 in ?? ()=
#13 0x0000000000= 000000 in ?? ()
(= gdb= ) info registers
rax =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
0xffffffffff600000 =C2=A0 =C2=A0 =C2=A0 -10485760
rbx =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0
0x7ffffffe2a90 =C2=A0 140737488235152
rcx =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
0x0 =C2=A0 =C2=A0 =C2=A00

rdx =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0
0x9 =C2=A0 =C2=A0 =C2=A09
rsi =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
0x0 =C2=A0 =C2=A0 =C2=A00
rdi =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0
0x7ffffffe2530 =C2=A0 140737488233776
rbp =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
0x4 =C2=A0 =C2=A0 =C2=A00x4

rsp =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0
0x7ffffffe2518 =C2=A0 0x7ffffffe2518
r8 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
0x8d6880
9267328
r9 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0
0x0 =C2=A0 =C2=A0 =C2=A00
r10 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
0x2 =C2=A0 =C2=A0 =C2=A02
r11 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0
0x7ffffffe20c8 =C2=A0 140737488232648
r12 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
0xff8 =C2=A0 =C2=A04088
r13 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0
0x7ffffffe2a98 =C2=A0 140737488235160
r14 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
0x7ffffffe2690<= span style=3D"color: #000;" class=3D"styled-by-prettify"> =C2=A0 140737488234128
r15 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
0x100 =C2=A0 =C2=A0256
rip =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
0xffffffffff600000<= /span> =C2=A0 =C2= =A0 =C2=A0 0xffffffffff600000
eflags =C2=A0 =C2=A0 =C2=A0 =C2=A0
0x10202 =C2=A0[ IF RF ]
cs =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
0x33 =C2=A0 =C2=A0 51
ss =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0
0x2b =C2=A0 =C2=A0 43<= br>ds =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0x0 =C2=A0 =C2=A0 =C2=A00
es =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0
0x0= =C2=A0 = =C2=A0 =C2=A00
fs= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
0x0 =C2=A0 =C2=A0 =C2=A00
gs =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0
0x0
=C2=A0 =C2= =A0 =C2=A0= 0






On Friday, February 10, 2017 at 6:20:46 PM U= TC+1, Christian Neukirchen wrote:
Pierre B <pier...@gmail.com> writes:

> When running BOINC under any of the 4.9 kernel, several projects t= asks=20
> terminate immediately in error with messages like this:
>
> process got signal 11
> SIGSEGV: segmentation violation
>
> (example above is from WorldCommunityGrid)
>
> Returning to 4.8 kernel allows the sames tasks to run fine.
>
> Any idea what changes 4.9 introduces that breaks this ?

Show a backtrace, either from running in gdb or enable coredumps and
print them from one.

--=20
Christian Neukirchen =C2=A0<chne...@gmail.com> =C2=A0http://chneukirchen.org
------=_Part_810_1809985164.1486755732148-- ------=_Part_809_2021964721.1486755732147--