Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash under Linux: free(): invalid pointer #257

Open
papampi opened this issue Aug 7, 2018 · 37 comments
Open

Crash under Linux: free(): invalid pointer #257

papampi opened this issue Aug 7, 2018 · 37 comments
Labels

Comments

@papampi
Copy link

papampi commented Aug 7, 2018

Whatever I do I get these errors on 8.22
Tested on lyra2v2 and neoscrypt algos
Ubuntu 16.04.5, cuda-9.2

screen -c /home/m1/NVOC/19-2-cuda-9/screenrc-miner -dmSL miner /home/m1/NVOC/19-2-cuda-9/miners/KTccminer/latest/ccminer -a lyra2v2 -o stratum+tcp://xvg-lyra.suprnova.cc:2595 -u papampi.nv100 -p x -i 16
ccminer 8.22-KlausT (64bit) for nVidia GPUs

Based on pooler cpuminer 2.3.2 and the tpruvot@github fork
CUDA support by Christian Buchner, Christian H. and DJM34
Includes optimizations and additions implemented by sp-hash, tpruvot, tsiv and others.

Compiled with GCC 5.4 using the Nvidia CUDA Toolkit 9.2

[2018-08-07 18:42:06] Intensity set to 16, 65536 cuda threads
[2018-08-07 18:42:06] Starting Stratum on stratum+tcp://xvg-lyra.suprnova.cc:2595
[2018-08-07 18:42:06] NVML GPU monitoring enabled.
0 
1 
2 
[2018-08-07 18:42:06] 3 miner threads started, using 'lyra2v2' algorithm.
[2018-08-07 18:42:06] Stratum difficulty set to 128
[2018-08-07 18:42:06] Received new lyra2v2 block header
[2018-08-07 18:42:06] block height 2404849, 0 transactions
[2018-08-07 18:42:09] Received new lyra2v2 block header
[2018-08-07 18:42:09] block height 2404850, 1 transactions
[2018-08-07 18:42:11] GPU #0: ASUS GTX 1070, 26.82 MH/s
[2018-08-07 18:42:12] GPU #2: Gigabyte P106-100, 18.57 MH/s
[2018-08-07 18:42:20] GPU #1: Gigabyte P106-100, 16.79 MH/s
[2018-08-07 18:42:39] GPU #2: Gigabyte P106-100, 17.20 MH/s
[2018-08-07 18:42:40] GPU #0: ASUS GTX 1070, 23.69 MH/s
[2018-08-07 18:42:45] GPU #1: Gigabyte P106-100, 16.72 MH/s
[2018-08-07 18:43:04] GPU #2: Gigabyte P106-100, 17.31 MH/s
[2018-08-07 18:43:04] Received new lyra2v2 block header
[2018-08-07 18:43:04] block height 2404850, 2 transactions
[2018-08-07 18:43:05] GPU #0: ASUS GTX 1070, 23.75 MH/s
[2018-08-07 18:43:10] GPU #1: Gigabyte P106-100, 16.73 MH/s
[2018-08-07 18:43:11] Received new lyra2v2 block header
[2018-08-07 18:43:11] block height 2404851, 1 transactions
[2018-08-07 18:43:11] GPU #2: Gigabyte P106-100, 17.52 MH/s
[2018-08-07 18:43:11] GPU #1: Gigabyte P106-100, 16.72 MH/s
[2018-08-07 18:43:11] GPU #0: ASUS GTX 1070, 23.51 MH/s
[2018-08-07 18:43:19] Received new lyra2v2 block header
[2018-08-07 18:43:19] block height 2404852, 0 transactions
[2018-08-07 18:43:19] GPU #1: Gigabyte P106-100, 17.09 MH/s
[2018-08-07 18:43:19] GPU #0: ASUS GTX 1070, 24.13 MH/s
[2018-08-07 18:43:19] GPU #2: Gigabyte P106-100, 17.68 MH/s
[2018-08-07 18:43:21] Received new lyra2v2 block header
[2018-08-07 18:43:21] block height 2404853, 0 transactions
[2018-08-07 18:43:21] GPU #2: Gigabyte P106-100, 18.28 MH/s
[2018-08-07 18:43:21] GPU #1: Gigabyte P106-100, 17.37 MH/s
[2018-08-07 18:43:21] GPU #0: ASUS GTX 1070, 24.09 MH/s
[2018-08-07 18:43:46] GPU #0: ASUS GTX 1070, 24.42 MH/s
[2018-08-07 18:43:46] GPU #1: Gigabyte P106-100, 17.19 MH/s
[2018-08-07 18:43:46] GPU #2: Gigabyte P106-100, 18.09 MH/s
[2018-08-07 18:43:52] Received new lyra2v2 block header
[2018-08-07 18:43:52] block height 2404854, 1 transactions
[2018-08-07 18:43:52] GPU #0: ASUS GTX 1070, 24.22 MH/s
[2018-08-07 18:43:52] GPU #2: Gigabyte P106-100, 18.10 MH/s
[2018-08-07 18:43:52] GPU #1: Gigabyte P106-100, 17.11 MH/s
[2018-08-07 18:43:59] Received new lyra2v2 block header
[2018-08-07 18:43:59] block height 2404855, 0 transactions
[2018-08-07 18:43:59] GPU #0: ASUS GTX 1070, 24.11 MH/s
[2018-08-07 18:43:59] GPU #1: Gigabyte P106-100, 17.01 MH/s
[2018-08-07 18:43:59] GPU #2: Gigabyte P106-100, 18.00 MH/s
[2018-08-07 18:44:05] Received new lyra2v2 block header
[2018-08-07 18:44:05] block height 2404856, 0 transactions
[2018-08-07 18:44:05] GPU #0: ASUS GTX 1070, 24.59 MH/s
[2018-08-07 18:44:05] GPU #1: Gigabyte P106-100, 17.27 MH/s
[2018-08-07 18:44:05] GPU #2: Gigabyte P106-100, 18.17 MH/s
[2018-08-07 18:44:14] Received new lyra2v2 block header
[2018-08-07 18:44:14] block height 2404857, 0 transactions
[2018-08-07 18:44:14] GPU #2: Gigabyte P106-100, 18.31 MH/s
[2018-08-07 18:44:14] GPU #1: Gigabyte P106-100, 17.26 MH/s
[2018-08-07 18:44:14] GPU #0: ASUS GTX 1070, 24.23 MH/s
[2018-08-07 18:44:33] Received new lyra2v2 block header
[2018-08-07 18:44:33] block height 2404858, 1 transactions
[2018-08-07 18:44:33] GPU #1: Gigabyte P106-100, 16.89 MH/s
[2018-08-07 18:44:33] GPU #0: ASUS GTX 1070, 24.26 MH/s
[2018-08-07 18:44:33] GPU #2: Gigabyte P106-100, 18.32 MH/s
[2018-08-07 18:44:53] Received new lyra2v2 block header
[2018-08-07 18:44:53] block height 2404859, 1 transactions
[2018-08-07 18:44:53] GPU #1: Gigabyte P106-100, 16.72 MH/s
[2018-08-07 18:44:53] GPU #0: ASUS GTX 1070, 24.04 MH/s
[2018-08-07 18:44:53] GPU #2: Gigabyte P106-100, 18.13 MH/s
[2018-08-07 18:45:03] Received new lyra2v2 block header
[2018-08-07 18:45:03] block height 2404860, 0 transactions
[2018-08-07 18:45:03] GPU #2: Gigabyte P106-100, 18.23 MH/s
[2018-08-07 18:45:03] GPU #0: ASUS GTX 1070, 23.96 MH/s
[2018-08-07 18:45:03] GPU #1: Gigabyte P106-100, 17.03 MH/s
[2018-08-07 18:45:14] GPU #1: Gigabyte P106-100, 16.73 MH/s
*** Error in `/home/m1/NVOC/19-2-cuda-9/miners/KTccminer/latest/ccminer': free(): invalid pointer: 0x00007fb58a5356f8 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fb597fc87e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fb597fd137a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fb597fd553c]
/home/m1/NVOC/19-2-cuda-9/miners/KTccminer/latest/ccminer[0x413578]
/home/m1/NVOC/19-2-cuda-9/miners/KTccminer/latest/ccminer[0x409aa0]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7fb59925f6ba]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fb59805841d]
======= Memory map: ========
00400000-0195d000 r-xp 00000000 08:02 1967316                            /home/m1/NVOC/19-2-cuda-9/miners/KTccminer/8.22/ccminer
01b5c000-01b5d000 r--p 0155c000 08:02 1967316                            /home/m1/NVOC/19-2-cuda-9/miners/KTccminer/8.22/ccminer
01b5d000-01b60000 rw-p 0155d000 08:02 1967316                            /home/m1/NVOC/19-2-cuda-9/miners/KTccminer/8.22/ccminer
01b60000-01b6f000 rw-p 00000000 00:00 0 
0315d000-031cf000 rw-p 00000000 00:00 0                                  [heap]
200000000-200200000 ---p 00000000 00:00 0 
200200000-200400000 rw-s 00000000 00:06 437                              /dev/nvidiactl
200400000-200404000 rw-s 00000000 00:06 437                              /dev/nvidiactl
200404000-200600000 ---p 00000000 00:00 0 
200600000-200a00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
200a00000-200c00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
200c00000-200e00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
200e00000-201200000 ---p 00000000 00:00 0 
201200000-201600000 rw-s 00000000 00:06 437                              /dev/nvidiactl
201600000-201604000 rw-s 00000000 00:06 437                              /dev/nvidiactl
201604000-201800000 ---p 00000000 00:00 0 
201800000-201804000 rw-s 00000000 00:06 437                              /dev/nvidiactl
201804000-201a00000 ---p 00000000 00:00 0 
201a00000-201a04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
201a04000-201c00000 ---p 00000000 00:00 0 
201c00000-202000000 rw-s 00000000 00:06 437                              /dev/nvidiactl
202000000-202400000 rw-s 00000000 00:06 437                              /dev/nvidiactl
202400000-202404000 rw-s 00000000 00:06 437                              /dev/nvidiactl
202404000-202600000 ---p 00000000 00:00 0 
202600000-202a00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
202a00000-202a04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
202a04000-202c00000 ---p 00000000 00:00 0 
202c00000-203000000 rw-s 00000000 00:06 437                              /dev/nvidiactl
203000000-203004000 rw-s 00000000 00:06 437                              /dev/nvidiactl
203004000-203200000 ---p 00000000 00:00 0 
203200000-203600000 rw-s 00000000 00:06 437                              /dev/nvidiactl
203600000-203604000 rw-s 00000000 00:06 437                              /dev/nvidiactl
203604000-203800000 ---p 00000000 00:00 0 
203800000-203c00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
203c00000-203c04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
203c04000-203e00000 ---p 00000000 00:00 0 
203e00000-204200000 rw-s 00000000 00:06 437                              /dev/nvidiactl
204200000-204204000 rw-s 00000000 00:06 437                              /dev/nvidiactl
204204000-204400000 ---p 00000000 00:00 0 
204400000-204800000 rw-s 00000000 00:06 437                              /dev/nvidiactl
204800000-205800000 ---p 00000000 00:00 0 
205800000-205804000 rw-s 00000000 00:06 437                              /dev/nvidiactl
205804000-205a00000 ---p 00000000 00:00 0 
205a00000-205e00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
205e00000-206200000 rw-s 00000000 00:06 437                              /dev/nvidiactl
206200000-206600000 rw-s 00000000 00:06 437                              /dev/nvidiactl
206600000-206604000 rw-s 00000000 00:06 437                              /dev/nvidiactl
206604000-206800000 ---p 00000000 00:00 0 
206800000-206804000 rw-s 00000000 00:06 437                              /dev/nvidiactl
206804000-206a00000 ---p 00000000 00:00 0 
206a00000-206e00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
206e00000-206e04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
206e04000-207000000 ---p 00000000 00:00 0 
207000000-207200000 rw-s 00000000 00:06 437                              /dev/nvidiactl
207200000-207400000 ---p 00000000 00:00 0 
207400000-207404000 rw-s 00000000 00:06 437                              /dev/nvidiactl
207404000-207600000 ---p 00000000 00:00 0 
207600000-207a00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
207a00000-208200000 ---p 00000000 00:00 0 
208200000-208204000 rw-s 00000000 00:06 437                              /dev/nvidiactl
208204000-208400000 ---p 00000000 00:00 0 
208400000-208800000 rw-s 00000000 00:06 437                              /dev/nvidiactl
208800000-208804000 rw-s 00000000 00:06 437                              /dev/nvidiactl
208804000-208a00000 ---p 00000000 00:00 0 
208a00000-208e00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
208e00000-208e04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
208e04000-209000000 ---p 00000000 00:00 0 
209000000-209400000 rw-s 00000000 00:06 437                              /dev/nvidiactl
209400000-209404000 rw-s 00000000 00:06 437                              /dev/nvidiactl
209404000-209600000 ---p 00000000 00:00 0 
209600000-209a00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
209a00000-209a04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
209a04000-209c00000 ---p 00000000 00:00 0 
209c00000-20a000000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20a000000-20a004000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20a004000-20a200000 ---p 00000000 00:00 0 
20a200000-20a204000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20a204000-20a400000 ---p 00000000 00:00 0 
20a400000-20a800000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20a800000-20ac00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20ac00000-20ac04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20ac04000-20ae00000 ---p 00000000 00:00 0 
20ae00000-20ae04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20ae04000-20b000000 ---p 00000000 00:00 0 
20b000000-20b400000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20b400000-20b800000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20b800000-20b804000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20b804000-20ba00000 ---p 00000000 00:00 0 
20ba00000-20ba04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20ba04000-20bc00000 ---p 00000000 00:00 0 
20bc00000-20c000000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20c000000-20c400000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20c400000-20c404000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20c404000-20c600000 ---p 00000000 00:00 0 
20c600000-20c604000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20c604000-20c800000 ---p 00000000 00:00 0 
20c800000-20cc00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20cc00000-20d000000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20d000000-20d004000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20d004000-20d200000 ---p 00000000 00:00 0 
20d200000-20d204000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20d204000-20d400000 ---p 00000000 00:00 0 
20d400000-20d800000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20d800000-20dc00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20dc00000-20dc04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20dc04000-20de00000 ---p 00000000 00:00 0 
20de00000-20de04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20de04000-20e000000 ---p 00000000 00:00 0 
20e000000-20e400000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20e400000-20e800000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20e800000-20e804000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20e804000-20ea00000 ---p 00000000 00:00 0 
20ea00000-20ee00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20ee00000-20ee04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20ee04000-20f000000 ---p 00000000 00:00 0 
20f000000-20f400000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20f400000-20f404000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20f404000-20f600000 ---p 00000000 00:00 0 
20f600000-20fa00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20fa00000-20fa04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
20fa04000-20fc00000 ---p 00000000 00:00 0 
20fc00000-210000000 rw-s 00000000 00:06 437                              /dev/nvidiactl
210000000-210004000 rw-s 00000000 00:06 437                              /dev/nvidiactl
210004000-210200000 ---p 00000000 00:00 0 
210200000-210600000 rw-s 00000000 00:06 437                              /dev/nvidiactl
210600000-210604000 rw-s 00000000 00:06 437                              /dev/nvidiactl
210604000-210800000 ---p 00000000 00:00 0 
210800000-210c00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
210c00000-210c04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
210c04000-210e00000 ---p 00000000 00:00 0 
210e00000-211200000 rw-s 00000000 00:06 437                              /dev/nvidiactl
211200000-211204000 rw-s 00000000 00:06 437                              /dev/nvidiactl
211204000-211400000 ---p 00000000 00:00 0 
211400000-211800000 rw-s 00000000 00:06 437                              /dev/nvidiactl
211800000-211804000 rw-s 00000000 00:06 437                              /dev/nvidiactl
211804000-211a00000 ---p 00000000 00:00 0 
211a00000-211e00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
211e00000-211e04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
211e04000-212000000 ---p 00000000 00:00 0 
212000000-212400000 rw-s 00000000 00:06 437                              /dev/nvidiactl
212400000-212404000 rw-s 00000000 00:06 437                              /dev/nvidiactl
212404000-212600000 ---p 00000000 00:00 0 
212600000-212a00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
212a00000-212a04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
212a04000-212c00000 ---p 00000000 00:00 0 
212c00000-213000000 rw-s 00000000 00:06 437                              /dev/nvidiactl
213000000-213004000 rw-s 00000000 00:06 437                              /dev/nvidiactl
213004000-213200000 ---p 00000000 00:00 0 
213200000-213600000 rw-s 00000000 00:06 437                              /dev/nvidiactl
213600000-213604000 rw-s 00000000 00:06 437                              /dev/nvidiactl
213604000-213800000 ---p 00000000 00:00 0 
213800000-213c00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
213c00000-213c04000 rw-s 00000000 00:06 437                              /dev/nvidiactl
213c04000-213e00000 ---p 00000000 00:00 0 
213e00000-214200000 rw-s 00000000 00:06 437                              /dev/nvidiactl
214200000-214204000 rw-s 00000000 00:06 437                              /dev/nvidiactl
214204000-214400000 ---p 00000000 00:00 0 
214400000-214800000 rw-s 00000000 00:06 437                              /dev/nvidiactl
214800000-214a00000 ---p 00000000 00:00 0 
214a00000-214c00000 rw-s 00000000 00:06 437                              /dev/nvidiactl
214c00000-214e00000 ---p 00000000 00:00 0 
214e00000-215000000 rw-s 00000000 00:06 437                              /dev/nvidiactl
215000000-500200000 ---p 00000000 00:00 0 
10000000000-1060c000000 ---p 00000000 00:00 0 
7fb518000000-7fb52b000000 ---p 00000000 00:00 0 
7fb52b000000-7fb52b200000 rw-s 00000000 00:05 28916                      /dev/zero (deleted)
7fb52b200000-7fb52b600000 ---p 00000000 00:00 0 
7fb52b600000-7fb52b800000 rw-s 00000000 00:05 26358                      /dev/zero (deleted)
7fb52b800000-7fb530000000 ---p 00000000 00:00 0 
7fb530000000-7fb530021000 rw-p 00000000 00:00 0 
7fb530021000-7fb534000000 ---p 00000000 00:00 0 
7fb536000000-7fb536200000 ---p 00000000 00:00 0 
7fb536200000-7fb5364d6000 rw-s 00000000 00:06 437                        /dev/nvidiactl
7fb5364d6000-7fb536600000 ---p 00000000 00:00 0 
7fb536600000-7fb5368d6000 rw-s 00000000 00:06 437                        /dev/nvidiactl
7fb5368d6000-7fb543000000 ---p 00000000 00:00 0 
7fb543000000-7fb543200000 rw-s 00000000 00:05 28014                      /dev/zero (deleted)
7fb543200000-7fb543400000 rw-s 00000000 00:05 26356                      /dev/zero (deleted)
7fb543400000-7fb543600000 rw-s 00000000 00:06 437                        /dev/nvidiactl
7fb543600000-7fb543800000 rw-s 00000000 00:05 28914                      /dev/zero (deleted)
7fb543800000-7fb543a00000 rw-s 00000000 00:05 26357                      /dev/zero (deleted)
7fb543a00000-7fb543c00000 rw-s 00000000 00:06 437                        /dev/nvidiactl
7fb543c00000-7fb543e00000 rw-s 00000000 00:05 28915                      /dev/zero (deleted)
7fb543e00000-7fb544000000 rw-s 00000000 00:06 437                        /dev/nvidiactl
7fb544000000-7fb544021000 rw-p 00000000 00:00 0 
7fb544021000-7fb548000000 ---p 00000000 00:00 0 
7fb548000000-7fb548021000 rw-p 00000000 00:00 0 
7fb548021000-7fb54c000000 ---p 00000000 00:00 0 
7fb54c000000-7fb54c021000 rw-p 00000000 00:00 0 
7fb54c021000-7fb550000000 ---p 00000000 00:00 0 
7fb550000000-7fb550021000 rw-p 00000000 00:00 0 
7fb550021000-7fb554000000 ---p 00000000 00:00 0 
7fb554000000-7fb554021000 rw-p 00000000 00:00 0 
7fb554021000-7fb558000000 ---p 00000000 00:00 0 
7fb558000000-7fb55947e000 rw-p 00000000 00:00 0 
7fb55947e000-7fb55c000000 ---p 00000000 00:00 0 
7fb55c000000-7fb55ceab000 rw-p 00000000 00:00 0 
7fb55ceab000-7fb560000000 ---p 00000000 00:00 0 
7fb560000000-7fb560f40000 rw-p 00000000 00:00 0 
7fb560f40000-7fb564000000 ---p 00000000 00:00 0 
7fb566000000-7fb566200000 rw-s 00000000 00:05 28011                      /dev/zero (deleted)
7fb566200000-7fb566400000 rw-s 00000000 00:06 437                        /dev/nvidiactl
7fb566400000-7fb566600000 rw-s 00000000 00:05 28012                      /dev/zero (deleted)
7fb566600000-7fb566c00000 ---p 00000000 00:00 0 
7fb566c00000-7fb566ed6000 rw-s 00000000 00:06 437                        /dev/nvidiactl
7fb566ed6000-7fb567800000 ---p 00000000 00:00 0 
7fb567800000-7fb567a00000 rw-s 00000000 00:06 437                        /dev/nvidiactl
7fb567a00000-7fb567e00000 ---p 00000000 00:00 0 
7fb567e00000-7fb568000000 rw-s 00000000 00:06 437                        /dev/nvidiactl
7fb568000000-7fb568021000 rw-p 00000000 00:00 0 
7fb568021000-7fb56c000000 ---p 00000000 00:00 0 
7fb56c000000-7fb56c021000 rw-p 00000000 00:00 0 
7fb56c021000-7fb570000000 ---p 00000000 00:00 0 
7fb570000000-7fb570001000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb570001000-7fb570002000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb570002000-7fb570003000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb570003000-7fb570004000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb570004000-7fb570005000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb570005000-7fb570006000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb570006000-7fb570007000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb570007000-7fb570008000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb570008000-7fb570009000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb570009000-7fb57000a000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb57000a000-7fb57000b000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb57000b000-7fb57000c000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb57000c000-7fb57000d000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb57000d000-7fb57000e000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb57000e000-7fb57000f000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb57000f000-7fb570010000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb570010000-7fb570011000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb570011000-7fb570012000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb570012000-7fb570013000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb570013000-7fb570014000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb570014000-7fb570015000 rw-s 00000000 00:06 476                        /dev/nvidia1
7fb570015000-7fb570016000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb570016000-7fb570017000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb570017000-7fb570018000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb570018000-7fb570019000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb570019000-7fb57001a000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb57001a000-7fb57001b000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb57001b000-7fb57001c000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb57001c000-7fb57001d000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb57001d000-7fb57001e000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb57001e000-7fb57001f000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb57001f000-7fb570020000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb570020000-7fb570021000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb570021000-7fb570022000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb570022000-7fb570023000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb570023000-7fb570024000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb570024000-7fb570025000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb570025000-7fb570026000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb570026000-7fb570027000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb570027000-7fb570028000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb570028000-7fb570029000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb570029000-7fb57002a000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb57002a000-7fb57002b000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb57002b000-7fb57002c000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb57002c000-7fb57002d000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb57002d000-7fb57002e000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb57002e000-7fb57002f000 rw-s 00000000 00:06 479                        /dev/nvidia2
7fb57002f000-7fb570030000 rw-s 00000000 00:06 438                        /dev/nvidia0
7fb570030000-7fb580000000 ---p 00000000 00:00 0 
7fb5807f9000-7fb5807fa000 ---p 00000000 00:00 0 
7fb5807fa000-7fb580ffa000 rw-p 00000000 00:00 0 
7fb580ffa000-7fb580ffb000 ---p 00000000 00:00 0 
7fb580ffb000-7fb5817fb000 rw-p 00000000 00:00 0 
7fb5817fb000-7fb5817fc000 ---p 00000000 00:00 0 
7fb5817fc000-7fb581ffc000 rw-p 00000000 00:00 0 
7fb581ffc000-7fb581ffd000 ---p 00000000 00:00 0 
7fb581ffd000-7fb5827fd000 rw-p 00000000 00:00 0 
7fb5827fd000-7fb5827fe000 ---p 00000000 00:00 0 
7fb5827fe000-7fb582ffe000 rw-p 00000000 00:00 0 
7fb582ffe000-7fb582fff000 ---p 00000000 00:00 0 
7fb582fff000-7fb5837ff000 rw-p 00000000 00:00 0 
7fb5837ff000-7fb583800000 ---p 00000000 00:00 0 
7fb583800000-7fb584000000 rw-p 00000000 00:00 0 
7fb584000000-7fb58402a000 rw-p 00000000 00:00 0 
7fb58402a000-7fb588000000 ---p 00000000 00:00 0 
7fb588717000-7fb588718000 ---p 00000000 00:00 0 
7fb588718000-7fb588f18000 rw-p 00000000 00:00 0 
7fb588f18000-7fb588f19000 ---p 00000000 00:00 0 
7fb588f19000-7fb589719000 rw-p 00000000 00:00 0 
7fb589719000-7fb58971e000 r-xp 00000000 08:02 139276                     /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7fb58971e000-7fb58991e000 ---p 00005000 08:02 139276                     /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7fb58991e000-7fb58991f000 r--p 00005000 08:02 139276                     /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7fb58991f000-7fb589920000 rw-p 00006000 08:02 139276                     /lib/x86_64-linux-gnu/libnss_dns-2.23.so
7fb589920000-7fb589922000 r-xp 00000000 08:02 174745                     /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7fb589922000-7fb589b21000 ---p 00002000 08:02 174745                     /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7fb589b21000-7fb589b22000 r--p 00001000 08:02 174745                     /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7fb589b22000-7fb589b23000 rw-p 00002000 08:02 174745                     /lib/x86_64-linux-gnu/libnss_mdns4_minimal.so.2
7fb589b23000-7fb589b2e000 r-xp 00000000 08:02 139288                     /lib/x86_64-linux-gnu/libnss_files-2.23.so
7fb589b2e000-7fb589d2d000 ---p 0000b000 08:02 139288                     /lib/x86_64-linux-gnu/libnss_files-2.23.so
7fb589d2d000-7fb589d2e000 r--p 0000a000 08:02 139288                     /lib/x86_64-linux-gnu/libnss_files-2.23.so
7fb589d2e000-7fb589d2f000 rw-p 0000b000 08:02 139288                     /lib/x86_64-linux-gnu/libnss_files-2.23.so
7fb589d2f000-7fb589d35000 rw-p 00000000 00:00 0 
7fb589d35000-7fb589d36000 ---p 00000000 00:00 0 
7fb589d36000-7fb58a536000 rw-p 00000000 00:00 0 
7fb58a536000-7fb58a676000 r-xp 00000000 08:02 1441887                    /usr/lib/nvidia-396/libnvidia-ml.so.396.45
7fb58a676000-7fb58a876000 ---p 00140000 08:02 1441887                    /usr/lib/nvidia-396/libnvidia-ml.so.396.45
7fb58a876000-7fb58a88c000 rw-p 00140000 08:02 1441887                    /usr/lib/nvidia-396/libnvidia-ml.so.396.45
7fb58a88c000-7fb58ab25000 rw-p 00000000 00:00 0 
7fb58ab25000-7fb58ab26000 ---p 00000000 00:00 0 
7fb58ab26000-7fb58b326000 rw-p 00000000 00:00 0 
7fb58b326000-7fb58b327000 ---p 00000000 00:00 0 
7fb58b327000-7fb58bb27000 rw-p 00000000 00:00 0 
7fb58bb27000-7fb58bb28000 ---p 00000000 00:00 0 
7fb58bb28000-7fb58c328000 rw-p 00000000 00:00 0 
7fb58c328000-7fb592328000 ---p 00000000 00:00 0 
7fb592328000-7fb592365000 r-xp 00000000 08:02 1441881                    /usr/lib/nvidia-396/libnvidia-fatbinaryloader.so.396.45
7fb592365000-7fb592564000 ---p 0003d000 08:02 1441881                    /usr/lib/nvidia-396/libnvidia-fatbinaryloader.so.396.45
7fb592564000-7fb59256f000 rw-p 0003c000 08:02 1441881                    /usr/lib/nvidia-396/libnvidia-fatbinaryloader.so.396.45
7fb59256f000-7fb592574000 rw-p 00000000 00:00 0 
7fb592574000-7fb59317b000 r-xp 00000000 08:02 132006                     /usr/lib/x86_64-linux-gnu/libcuda.so.396.45
7fb59317b000-7fb59337a000 ---p 00c07000 08:02 132006                     /usr/lib/x86_64-linux-gnu/libcuda.so.396.45
7fb59337a000-7fb5934e0000 rw-p 00c06000 08:02 132006                     /usr/lib/x86_64-linux-gnu/libcuda.so.396.45
7fb5934e0000-7fb5934ef000 rw-p 00000000 00:00 0 
7fb5934ef000-7fb5934f8000 r-xp 00000000 08:02 139300                     /lib/x86_64-linux-gnu/libcrypt-2.23.so
7fb5934f8000-7fb5936f7000 ---p 00009000 08:02 139300                     /lib/x86_64-linux-gnu/libcrypt-2.23.so
7fb5936f7000-7fb5936f8000 r--p 00008000 08:02 139300                     /lib/x86_64-linux-gnu/libcrypt-2.23.so
7fb5936f8000-7fb5936f9000 rw-p 00009000 08:02 139300                     /lib/x86_64-linux-gnu/libcrypt-2.23.so
7fb5936f9000-7fb593727000 rw-p 00000000 00:00 0 
7fb593727000-7fb5937f6000 r-xp 00000000 08:02 218819                     /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7fb5937f6000-7fb5939f6000 ---p 000cf000 08:02 218819                     /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7fb5939f6000-7fb5939f9000 r--p 000cf000 08:02 218819                     /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7fb5939f9000-7fb5939fb000 rw-p 000d2000 08:02 218819                     /usr/lib/x86_64-linux-gnu/libsqlite3.so.0.8.6
7fb5939fb000-7fb5939fc000 rw-p 00000000 00:00 0 
7fb5939fc000-7fb593a43000 r-xp 00000000 08:02 139500                     /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7fb593a43000-7fb593c42000 ---p 00047000 08:02 139500                     /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7fb593c42000-7fb593c44000 r--p 00046000 08:02 139500                     /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7fb593c44000-7fb593c46000 rw-p 00048000 08:02 139500                     /usr/lib/x86_64-linux-gnu/libhx509.so.5.0.0
7fb593c46000-7fb593c47000 rw-p 00000000 00:00 0 
7fb593c47000-7fb593c55000 r-xp 00000000 08:02 139474                     /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7fb593c55000-7fb593e54000 ---p 0000e000 08:02 139474                     /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7fb593e54000-7fb593e55000 r--p 0000d000 08:02 139474                     /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7fb593e55000-7fb593e56000 rw-p 0000e000 08:02 139474                     /usr/lib/x86_64-linux-gnu/libheimbase.so.1.0.0
7fb593e56000-7fb593e7d000 r-xp 00000000 08:02 139491                     /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7fb593e7d000-7fb59407d000 ---p 00027000 08:02 139491                     /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7fb59407d000-7fb59407e000 r--p 00027000 08:02 139491                     /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7fb59407e000-7fb59407f000 rw-p 00028000 08:02 139491                     /usr/lib/x86_64-linux-gnu/libwind.so.0.0.0
7fb59407f000-7fb594094000 r-xp 00000000 08:02 133031                     /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7fb594094000-7fb594293000 ---p 00015000 08:02 133031                     /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7fb594293000-7fb594294000 r--p 00014000 08:02 133031                     /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7fb594294000-7fb594295000 rw-p 00015000 08:02 133031                     /usr/lib/x86_64-linux-gnu/libroken.so.18.1.0
7fb594295000-7fb5942c5000 r-xp 00000000 08:02 139456                     /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7fb5942c5000-7fb5944c5000 ---p 00030000 08:02 139456                     /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7fb5944c5000-7fb5944c6000 r--p 00030000 08:02 139456                     /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7fb5944c6000-7fb5944c7000 rw-p 00031000 08:02 139456                     /usr/lib/x86_64-linux-gnu/libhcrypto.so.4.1.0
7fb5944c7000-7fb5944c8000 rw-p 00000000 00:00 0 
7fb5944c8000-7fb594567000 r-xp 00000000 08:02 139383                     /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7fb594567000-7fb594766000 ---p 0009f000 08:02 139383                     /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7fb594766000-7fb594767000 r--p 0009e000 08:02 139383                     /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7fb594767000-7fb59476a000 rw-p 0009f000 08:02 139383                     /usr/lib/x86_64-linux-gnu/libasn1.so.8.0.0
7fb59476a000-7fb5947ee000 r-xp 00000000 08:02 139509                     /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7fb5947ee000-7fb5949ed000 ---p 00084000 08:02 139509                     /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7fb5949ed000-7fb5949f0000 r--p 00083000 08:02 139509                     /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7fb5949f0000-7fb5949f3000 rw-p 00086000 08:02 139509                     /usr/lib/x86_64-linux-gnu/libkrb5.so.26.0.0
7fb5949f3000-7fb5949f4000 rw-p 00000000 00:00 0 
7fb5949f4000-7fb5949fc000 r-xp 00000000 08:02 139518                     /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7fb5949fc000-7fb594bfb000 ---p 00008000 08:02 139518                     /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7fb594bfb000-7fb594bfc000 r--p 00007000 08:02 139518                     /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7fb594bfc000-7fb594bfd000 rw-p 00008000 08:02 139518                     /usr/lib/x86_64-linux-gnu/libheimntlm.so.0.1.0
7fb594bfd000-7fb594c00000 r-xp 00000000 08:02 174702                     /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7fb594c00000-7fb594dff000 ---p 00003000 08:02 174702                     /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7fb594dff000-7fb594e00000 r--p 00002000 08:02 174702                     /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7fb594e00000-7fb594e01000 rw-p 00003000 08:02 174702                     /lib/x86_64-linux-gnu/libkeyutils.so.1.5
7fb594e01000-7fb594e08000 r-xp 00000000 08:02 218075                     /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7fb594e08000-7fb595007000 ---p 00007000 08:02 218075                     /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7fb595007000-7fb595008000 r--p 00006000 08:02 218075                     /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7fb595008000-7fb595009000 rw-p 00007000 08:02 218075                     /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7fb595009000-7fb595046000 r-xp 00000000 08:02 140118                     /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7fb595046000-7fb595246000 ---p 0003d000 08:02 140118                     /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7fb595246000-7fb595247000 r--p 0003d000 08:02 140118                     /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7fb595247000-7fb595249000 rw-p 0003e000 08:02 140118                     /usr/lib/x86_64-linux-gnu/libgssapi.so.3.0.0
7fb595249000-7fb59524a000 rw-p 00000000 00:00 0 
7fb59524a000-7fb595263000 r-xp 00000000 08:02 218764                     /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7fb595263000-7fb595463000 ---p 00019000 08:02 218764                     /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7fb595463000-7fb595464000 r--p 00019000 08:02 218764                     /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7fb595464000-7fb595465000 rw-p 0001a000 08:02 218764                     /usr/lib/x86_64-linux-gnu/libsasl2.so.2.0.25
7fb595465000-7fb59547c000 r-xp 00000000 08:02 139251                     /lib/x86_64-linux-gnu/libresolv-2.23.so
7fb59547c000-7fb59567c000 ---p 00017000 08:02 139251                     /lib/x86_64-linux-gnu/libresolv-2.23.so
7fb59567c000-7fb59567d000 r--p 00017000 08:02 139251                     /lib/x86_64-linux-gnu/libresolv-2.23.so
7fb59567d000-7fb59567e000 rw-p 00018000 08:02 139251                     /lib/x86_64-linux-gnu/libresolv-2.23.so
7fb59567e000-7fb595680000 rw-p 00000000 00:00 0 
7fb595680000-7fb59568a000 r-xp 00000000 08:02 144671                     /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7fb59568a000-7fb595889000 ---p 0000a000 08:02 144671                     /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7fb595889000-7fb59588a000 r--p 00009000 08:02 144671                     /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7fb59588a000-7fb59588b000 rw-p 0000a000 08:02 144671                     /usr/lib/x86_64-linux-gnu/libkrb5support.so.0.1
7fb59588b000-7fb59588e000 r-xp 00000000 08:02 174657                     /lib/x86_64-linux-gnu/libcom_err.so.2.1
7fb59588e000-7fb595a8d000 ---p 00003000 08:02 174657                     /lib/x86_64-linux-gnu/libcom_err.so.2.1
7fb595a8d000-7fb595a8e000 r--p 00002000 08:02 174657                     /lib/x86_64-linux-gnu/libcom_err.so.2.1
7fb595a8e000-7fb595a8f000 rw-p 00003000 08:02 174657                     /lib/x86_64-linux-gnu/libcom_err.so.2.1
7fb595a8f000-7fb595abb000 r-xp 00000000 08:02 144644                     /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7fb595abb000-7fb595cba000 ---p 0002c000 08:02 144644                     /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7fb595cba000-7fb595cbc000 r--p 0002b000 08:02 144644                     /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7fb595cbc000-7fb595cbd000 rw-p 0002d000 08:02 144644                     /usr/lib/x86_64-linux-gnu/libk5crypto.so.3.1
7fb595cbd000-7fb595cbe000 rw-p 00000000 00:00 0 
7fb595cbe000-7fb595d81000 r-xp 00000000 08:02 144662                     /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7fb595d81000-7fb595f81000 ---p 000c3000 08:02 144662                     /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7fb595f81000-7fb595f8e000 r--p 000c3000 08:02 144662                     /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7fb595f8e000-7fb595f90000 rw-p 000d0000 08:02 144662                     /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
7fb595f90000-7fb595fa1000 r-xp 00000000 08:02 150929                     /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7fb595fa1000-7fb5961a1000 ---p 00011000 08:02 150929                     /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7fb5961a1000-7fb5961a2000 r--p 00011000 08:02 150929                     /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7fb5961a2000-7fb5961a3000 rw-p 00012000 08:02 150929                     /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
7fb5961a3000-7fb5961fc000 r-xp 00000000 08:02 144631                     /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7fb5961fc000-7fb5963fb000 ---p 00059000 08:02 144631                     /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7fb5963fb000-7fb596405000 r--p 00058000 08:02 144631                     /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7fb596405000-7fb596407000 rw-p 00062000 08:02 144631                     /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.1.0
7fb596407000-7fb596486000 r-xp 00000000 08:02 218208                     /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7fb596486000-7fb596685000 ---p 0007f000 08:02 218208                     /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7fb596685000-7fb596686000 r--p 0007e000 08:02 218208                     /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7fb596686000-7fb596687000 rw-p 0007f000 08:02 218208                     /usr/lib/x86_64-linux-gnu/libgmp.so.10.3.0
7fb596687000-7fb5966b9000 r-xp 00000000 08:02 212403                     /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7fb5966b9000-7fb5968b8000 ---p 00032000 08:02 212403                     /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7fb5968b8000-7fb5968b9000 r--p 00031000 08:02 212403                     /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7fb5968b9000-7fb5968ba000 rw-p 00032000 08:02 212403                     /usr/lib/x86_64-linux-gnu/libhogweed.so.4.2
7fb5968ba000-7fb5968d0000 r-xp 00000000 08:02 174682                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7fb5968d0000-7fb596acf000 ---p 00016000 08:02 174682                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7fb596acf000-7fb596ad0000 rw-p 00015000 08:02 174682                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7fb596ad0000-7fb596ad7000 r-xp 00000000 08:02 139298                     /lib/x86_64-linux-gnu/librt-2.23.so
7fb596ad7000-7fb596cd6000 ---p 00007000 08:02 139298                     /lib/x86_64-linux-gnu/librt-2.23.so
7fb596cd6000-7fb596cd7000 r--p 00006000 08:02 139298                     /lib/x86_64-linux-gnu/librt-2.23.so
7fb596cd7000-7fb596cd8000 rw-p 00007000 08:02 139298                     /lib/x86_64-linux-gnu/librt-2.23.so
7fb596cd8000-7fb596cf1000 r-xp 00000000 08:02 161729                     /lib/x86_64-linux-gnu/libz.so.1.2.8
7fb596cf1000-7fb596ef0000 ---p 00019000 08:02 161729                     /lib/x86_64-linux-gnu/libz.so.1.2.8
7fb596ef0000-7fb596ef1000 r--p 00018000 08:02 161729                     /lib/x86_64-linux-gnu/libz.so.1.2.8
7fb596ef1000-7fb596ef2000 rw-p 00019000 08:02 161729                     /lib/x86_64-linux-gnu/libz.so.1.2.8
7fb596ef2000-7fb596f3f000 r-xp 00000000 08:02 150944                     /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7fb596f3f000-7fb59713e000 ---p 0004d000 08:02 150944                     /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7fb59713e000-7fb597140000 r--p 0004c000 08:02 150944                     /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7fb597140000-7fb597141000 rw-p 0004e000 08:02 150944                     /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2.10.5
7fb597141000-7fb597143000 rw-p 00000000 00:00 0 
7fb597143000-7fb597150000 r-xp 00000000 08:02 150945                     /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7fb597150000-7fb597350000 ---p 0000d000 08:02 150945                     /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7fb597350000-7fb597351000 r--p 0000d000 08:02 150945                     /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7fb597351000-7fb597352000 rw-p 0000e000 08:02 150945                     /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2.10.5
7fb597352000-7fb597399000 r-xp 00000000 08:02 144653                     /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
7fb597399000-7fb597598000 ---p 00047000 08:02 144653                     /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2.2
@KlausT
Copy link
Owner

KlausT commented Aug 7, 2018

This error doesn't happen on my system, but I will see what I can do.
Also, I still don't know where this comes from:

[2018-08-07 18:42:06] NVML GPU monitoring enabled.
0 
1 
2 
[2018-08-07 18:42:06] 3 miner threads started, using 'lyra2v2' algorithm.

@KlausT KlausT added the bug label Aug 7, 2018
@papampi
Copy link
Author

papampi commented Aug 7, 2018

I just compiled from latest release.
Tried with many intensities and OC settings,
Intensity more than 17 start the error as soon as miner starts
Lower intensities gives error with delay

@kkkrackpot
Copy link

Probably I have a similar issue #254
I try neoscrypt with -i 18

@KlausT
Copy link
Owner

KlausT commented Aug 12, 2018

Is this also happening if you try this?
ccminer -a lyra2v2 --benchmark
or this
ccminer -a neoscrypt --benchmark

@KlausT
Copy link
Owner

KlausT commented Aug 12, 2018

I have just tried mining lyra2v2 with -i 20 for about 10 minutes, but there's no error (Ubuntu 16.04)

@kkkrackpot
Copy link

@KlausT benchmarking seems working fine, with neoscrypt at least.
However, the problem with real mining, no matter what intensity I use

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
ccminer 8.22-KlausT (64bit) for nVidia GPUs

Based on pooler cpuminer 2.3.2 and the tpruvot@github fork
CUDA support by Christian Buchner, Christian H. and DJM34
Includes optimizations and additions implemented by sp-hash, tpruvot, tsiv and others.

Compiled with GCC 7.3 using the Nvidia CUDA Toolkit 9.2

[New Thread 0x7fffee58a700 (LWP 26754)]
[New Thread 0x7fffedd89700 (LWP 26755)]
[New Thread 0x7fffed588700 (LWP 26756)]
[2018-08-12 23:31:26] Starting Stratum on stratum+tcp://neoscrypt.mine.zergpool.com:4233
[2018-08-12 23:31:26] NVML GPU monitoring enabled.
[New Thread 0x7fffcffff700 (LWP 26758)]
[New Thread 0x7fffcf7fe700 (LWP 26759)]
0 
[2018-08-12 23:31:26] 1 miner thread started, using 'neoscrypt' algorithm.
[2018-08-12 23:31:26] Stratum difficulty set to 256
[2018-08-12 23:31:29] GPU #0: waiting for data
[2018-08-12 23:31:30] Received new neoscrypt block header
[2018-08-12 23:31:30] block height 235062, 1 transactions
[New Thread 0x7fffceffd700 (LWP 26779)]
[New Thread 0x7fffce7fc700 (LWP 26780)]
[2018-08-12 23:31:32] GPU #0: using default intensity 14.000
[2018-08-12 23:31:59] GPU #0: Gigabyte GTX 1060 3GB, 637.46 kH/s
[2018-08-12 23:32:00] Received new neoscrypt block header
[2018-08-12 23:32:00] block height 235062, 1 transactions
[2018-08-12 23:32:00] GPU #0: Gigabyte GTX 1060 3GB, 568.68 kH/s
[2018-08-12 23:32:05] GPU #0: Gigabyte GTX 1060 3GB, 559.30 kH/s
free(): invalid pointer

Thread 3 "ccminer-klaust" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffedd89700 (LWP 26755)]
0x00007ffff598e0ff in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff598e0ff in raise () from /lib64/libc.so.6
#1  0x00007ffff598f495 in abort () from /lib64/libc.so.6
#2  0x00007ffff59cf660 in ?? () from /lib64/libc.so.6
#3  0x00007ffff59d56ea in ?? () from /lib64/libc.so.6
#4  0x00007ffff59d64ec in ?? () from /lib64/libc.so.6
#5  0x0000555555563cdf in tq_pop(thread_q*, timespec const*) ()
#6  0x000055555555f161 in workio_thread(void*) ()
#7  0x00007ffff6a78457 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffff5a4a23f in clone () from /lib64/libc.so.6
(gdb) 

@KlausT
Copy link
Owner

KlausT commented Aug 13, 2018

I can't find anything wrong in the code.
I have no explanation why it doesn't work for you, but it works for most other people.

@kkkrackpot
Copy link

kkkrackpot commented Aug 14, 2018

I built the miner with debug symbols:

(gdb) run
Starting program: /tmp/ccminer/ccminer -a neoscrypt -o stratum+tcp://neoscrypt.mine.zergpool.com:4233 -u 14Mr664JrxDJyiEyjeKCGwFKAVonAGfuTq -p c=BTC
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
ccminer 8.22-KlausT (64bit) for nVidia GPUs

Based on pooler cpuminer 2.3.2 and the tpruvot@github fork
CUDA support by Christian Buchner, Christian H. and DJM34
Includes optimizations and additions implemented by sp-hash, tpruvot, tsiv and others.

Compiled with GCC 7.3 using the Nvidia CUDA Toolkit 9.2

[New Thread 0x7fffee58a700 (LWP 17599)]
[New Thread 0x7fffedd89700 (LWP 17600)]
[New Thread 0x7fffed588700 (LWP 17601)]
[2018-08-14 22:28:53] Starting Stratum on stratum+tcp://neoscrypt.mine.zergpool.com:4233
[2018-08-14 22:28:54] NVML GPU monitoring enabled.
[New Thread 0x7fffcffff700 (LWP 17603)]
[New Thread 0x7fffcf7fe700 (LWP 17604)]
0 
[2018-08-14 22:28:54] 1 miner thread started, using 'neoscrypt' algorithm.
[2018-08-14 22:28:54] Stratum difficulty set to 256
[2018-08-14 22:28:57] GPU #0: waiting for data
[2018-08-14 22:28:57] Received new neoscrypt block header
[2018-08-14 22:28:57] block height 236298, 0 transactions
[New Thread 0x7fffceffd700 (LWP 17624)]
[New Thread 0x7fffce7fc700 (LWP 17625)]
[2018-08-14 22:29:00] GPU #0: using default intensity 14.000
[2018-08-14 22:29:27] GPU #0: Gigabyte GTX 1060 3GB, 639.45 kH/s
[2018-08-14 22:29:28] Received new neoscrypt block header
[2018-08-14 22:29:28] block height 236298, 0 transactions
[2018-08-14 22:29:28] GPU #0: Gigabyte GTX 1060 3GB, 569.13 kH/s
[2018-08-14 22:29:37] GPU #0: Gigabyte GTX 1060 3GB, 567.42 kH/s
free(): invalid pointer

Thread 3 "ccminer" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffedd89700 (LWP 17600)]
0x00007ffff598e0ff in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff598e0ff in raise () from /lib64/libc.so.6
#1  0x00007ffff598f495 in abort () from /lib64/libc.so.6
#2  0x00007ffff59cf660 in ?? () from /lib64/libc.so.6
#3  0x00007ffff59d56ea in ?? () from /lib64/libc.so.6
#4  0x00007ffff59d64ec in ?? () from /lib64/libc.so.6
#5  0x0000555555563d3b in tq_pop (tq=0x555555bc1f00, abstime=0x0) at util.cpp:2164
#6  0x000055555555ea48 in workio_thread (userdata=0x555555bc18d8) at ccminer.cpp:1120
#7  0x00007ffff6a78457 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffff5a4a23f in clone () from /lib64/libc.so.6

However, I don't know how to use gdb properly to debug this thing...
I suspect, it doesn't like abstime=0x0, but I'm not sure at all.

Some more gdb:

[2018-08-14 22:59:05] GPU #0: Gigabyte GTX 1060 3GB, 642.67 kH/s
free(): invalid pointer

Thread 3 "ccminer" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffedd89700 (LWP 26809)]
0x00007ffff598e0ff in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff598e0ff in raise () from /lib64/libc.so.6
#1  0x00007ffff598f495 in abort () from /lib64/libc.so.6
#2  0x00007ffff59cf660 in ?? () from /lib64/libc.so.6
#3  0x00007ffff59d56ea in ?? () from /lib64/libc.so.6
#4  0x00007ffff59d64ec in ?? () from /lib64/libc.so.6
#5  0x000055555556735b in tq_pop (tq=0x555555c5ef00, abstime=0x0) at util.cpp:2164
#6  0x000055555555bad4 in workio_thread (userdata=0x555555c5e8d8) at ccminer.cpp:1120
#7  0x00007ffff6a78457 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffff5a4a23f in clone () from /lib64/libc.so.6
(gdb) frame 5
#5  0x000055555556735b in tq_pop (tq=0x555555c5ef00, abstime=0x0) at util.cpp:2164
2164		free(ent);
(gdb) info locals
ent = 0x7fffcffff6f8
rval = 0x0
rc = 0
(gdb) frame 6
#6  0x000055555555bad4 in workio_thread (userdata=0x555555c5e8d8) at ccminer.cpp:1120
1120			wc = (struct workio_cmd *)tq_pop(mythr->q, NULL);
(gdb) info locals
wc = 0x0
mythr = 0x555555c5e8d8
curl = 0x7fffe0000b20
ok = true

Same thing with lyra2v2:

[2018-08-14 23:13:17] GPU #0: Gigabyte GTX 1060 3GB, 22.17 MH/s
free(): invalid pointer

Thread 3 "ccminer" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffedd89700 (LWP 29429)]
0x00007ffff598e0ff in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff598e0ff in raise () from /lib64/libc.so.6
#1  0x00007ffff598f495 in abort () from /lib64/libc.so.6
#2  0x00007ffff59cf660 in ?? () from /lib64/libc.so.6
#3  0x00007ffff59d56ea in ?? () from /lib64/libc.so.6
#4  0x00007ffff59d64ec in ?? () from /lib64/libc.so.6
#5  0x000055555556735b in tq_pop (tq=0x555555c5ef00, abstime=0x0) at util.cpp:2164
#6  0x000055555555bad4 in workio_thread (userdata=0x555555c5e8d8) at ccminer.cpp:1120
#7  0x00007ffff6a78457 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffff5a4a23f in clone () from /lib64/libc.so.6
(gdb) frame 5
#5  0x000055555556735b in tq_pop (tq=0x555555c5ef00, abstime=0x0) at util.cpp:2164
2164		free(ent);
(gdb) info locals
ent = 0x7fffcffff6f8
rval = 0x0
rc = 0

Sorry for long copy-pastes...

@KlausT
Copy link
Owner

KlausT commented Aug 14, 2018

I suspect it has something to do with this:

ccminer/elist.h

Line 183 in 864551c

#define list_entry(ptr, type, member) ((type *)((char *)(ptr) - (unsigned long long)(&((type *)0)-> member)))

Maybe GCC 7.3 is behaving differently than older versions.

@kkkrackpot
Copy link

For me it looks like a bit of mess doing some pointer math... As I understand, list_entry def is used only once in the whole codebase, exactly in tq_pop function. Maybe you could just inline it there, with explicit clear math and everything?

@KlausT
Copy link
Owner

KlausT commented Aug 14, 2018

Yeah. Actually, the whole tq_pop / tq_push thing is a mess.
Well, it's historic code that hasn't been changed for a while.

@KlausT
Copy link
Owner

KlausT commented Aug 15, 2018

I have made a small change to make it more compatible, but I don't know if it works for you now.

@kkkrackpot
Copy link

@KlausT thanks a lot! I will try it and report back.

@papampi
Copy link
Author

papampi commented Aug 16, 2018

Compiled latest commit and it still has the same problem

ccminer 8.22-KlausT (64bit) for nVidia GPUs

Based on pooler cpuminer 2.3.2 and the tpruvot@github fork
CUDA support by Christian Buchner, Christian H. and DJM34
Includes optimizations and additions implemented by sp-hash, tpruvot, tsiv and others.

Compiled with GCC 5.4 using the Nvidia CUDA Toolkit 9.2

[2018-08-16 13:12:05] Intensity set to 17, 131072 cuda threads
[2018-08-16 13:12:05] Starting Stratum on stratum+tcp://hub.miningpoolhub.com:20510
[2018-08-16 13:12:05] NVML GPU monitoring enabled.
0 
[2018-08-16 13:12:05] 3 miner threads started, using 'neoscrypt' algorithm.
2 
1 
[2018-08-16 13:12:06] Stratum difficulty set to 4096
[2018-08-16 13:12:06] Received new neoscrypt block header
[2018-08-16 13:12:06] block height 2312516, 2 transactions
[2018-08-16 13:12:06] Stratum difficulty set to 305.537
[2018-08-16 13:12:18] Received new neoscrypt block header
[2018-08-16 13:12:18] block height 2312516, 2 transactions
[2018-08-16 13:12:33] GPU #0: ASUS GTX 1070, 982.66 kH/s
[2018-08-16 13:12:35] GPU #2: Gigabyte P106-100, 662.36 kH/s
[2018-08-16 13:12:35] GPU #1: Gigabyte P106-100, 676.44 kH/s
[2018-08-16 13:12:41] GPU #1: Gigabyte P106-100, 652.03 kH/s
*** Error in `/home/m1/Downloads/ccminer-windows/ccminer': free(): invalid pointer: 0x00007f5073a106f8 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f50858617e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7f508586a37a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f508586e53c]
Downloads/ccminer-windows/ccminer[0x413558]
Downloads/ccminer-windows/ccminer[0x409ac0]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba)[0x7f5086af86ba]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f50858f141d]

@kkkrackpot
Copy link

kkkrackpot commented Aug 19, 2018

Still fails after the commit:

[2018-08-19 18:05:18] GPU #0: Gigabyte GTX 1060 3GB, 639.62 kH/s
free(): invalid pointer

Thread 3 "ccminer" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffedd89700 (LWP 7286)]
0x00007ffff598e0ff in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff598e0ff in raise () from /lib64/libc.so.6
#1  0x00007ffff598f495 in abort () from /lib64/libc.so.6
#2  0x00007ffff59cf660 in ?? () from /lib64/libc.so.6
#3  0x00007ffff59d56ea in ?? () from /lib64/libc.so.6
#4  0x00007ffff59d64ec in ?? () from /lib64/libc.so.6
#5  0x000055555556735b in tq_pop (tq=0x555555c52f00, abstime=0x0)
    at util.cpp:2164
#6  0x000055555555bad4 in workio_thread (userdata=0x555555c528d8)
    at ccminer.cpp:1120
#7  0x00007ffff6a78457 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffff5a4a23f in clone () from /lib64/libc.so.6
(gdb) frame 5
#5  0x000055555556735b in tq_pop (tq=0x555555c52f00, abstime=0x0)
    at util.cpp:2164
2164		free(ent);
(gdb) info locals
ent = 0x7fffcffff6f8
rval = 0x0
rc = 0

PS. As far as I remember, this started after cuda-9.2 update. Maybe it's related, don't know...

@KlausT
Copy link
Owner

KlausT commented Aug 19, 2018

I have no idea what could be wrong.

@kkkrackpot
Copy link

Maybe it's possible to add some debug prints in the code?

@KlausT
Copy link
Owner

KlausT commented Aug 20, 2018

Sometimes it takes a while until I have more ideas what could be wrong :-)
I think I have used free() where I should use aligned_free().
Please test the latest commit.

@kkkrackpot
Copy link

Nope, still fails...

[2018-08-21 23:52:45] GPU #0: Gigabyte GTX 1060 3GB, 569.60 kH/s
free(): invalid pointer

Thread 3 "ccminer" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffedd89700 (LWP 26304)]
0x00007ffff598e0ff in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff598e0ff in raise () from /lib64/libc.so.6
#1  0x00007ffff598f495 in abort () from /lib64/libc.so.6
#2  0x00007ffff59cf660 in ?? () from /lib64/libc.so.6
#3  0x00007ffff59d56ea in ?? () from /lib64/libc.so.6
#4  0x00007ffff59d64ec in ?? () from /lib64/libc.so.6
#5  0x0000555555567299 in tq_pop (tq=0x555555c52ee0, abstime=0x0)
    at util.cpp:2168
#6  0x000055555555bad9 in workio_thread (userdata=0x555555c528b8)
    at ccminer.cpp:1120
#7  0x00007ffff6a78457 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffff5a4a23f in clone () from /lib64/libc.so.6
(gdb) frame 5
#5  0x0000555555567299 in tq_pop (tq=0x555555c52ee0, abstime=0x0)
    at util.cpp:2168
2168            free(ent);
(gdb) info locals
ent = 0x7fffcffff6f8
rval = 0x0
rc = 0

@KlausT
Copy link
Owner

KlausT commented Aug 21, 2018

I have just learned that under Linux there's the environment variable MALLOC_CHECK_
With MALLOC_CHECK_=3 we will see data about all malloc() and free() calls.
I will try this on my machine tomorrow, but since the error doesn't happen on my system I will probably not see anything useful.

@papampi
Copy link
Author

papampi commented Aug 28, 2018

I can make an nvOC test image for you and give you ssh access if you want.

@KlausT
Copy link
Owner

KlausT commented Aug 28, 2018

Do you see this text when you start ccminer?

Warning! This build may produce wrong results or even crash!
Please use the -fno-strict-aliasing compiler option!

@papampi
Copy link
Author

papampi commented Aug 28, 2018

Nope, I haven't seen those message
You can check the logs I posted.

@KlausT
Copy link
Owner

KlausT commented Aug 28, 2018

I still can't see any problem here.
Please try the mallocdebug branch.
You should see something like this:
screenshot 2018-08-28 21 33 32

@papampi
Copy link
Author

papampi commented Aug 29, 2018

I have upgraded to ubuntu 18.04 and now it gives me this error

./configure: line 6266: syntax error near unexpected token `,'
./configure: line 6266: `LIBCURL_CHECK_CONFIG(, 7.15.2, ,'
m1@m1-desktop:~$ apt list --installed | grep   "libcurl3"

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libcurl3/bionic,now 7.58.0-2ubuntu2 amd64 [installed]
libcurl3-gnutls/bionic-security,bionic-updates,now 7.58.0-2ubuntu3.2 amd64 [installed,automatic]

@papampi
Copy link
Author

papampi commented Aug 29, 2018

Can you send your linux compiled so we test that?
Or add compiled executable for debian/ubuntu systems in release section same as windows?

@KlausT
Copy link
Owner

KlausT commented Aug 29, 2018

Here's my binary:
ccminerbinary.zip
Did you use the build.sh script?

@papampi
Copy link
Author

papampi commented Aug 29, 2018

I used autogen.sh , configure.sh then build.sh

With your binary it stops with free(): invalid pointer

m1@m1-desktop:~$ /home/m1/NVOC/Dual_Cuda/miners/KTccminer/recommended/ccminer -a neoscrypt -o stratum+tcp://hub.miningpoolhub.com:20510 -u papampi.nv100 -p x 
ccminer 8.22-KlausT (64bit) for nVidia GPUs

Based on pooler cpuminer 2.3.2 and the tpruvot@github fork
CUDA support by Christian Buchner, Christian H. and DJM34
Includes optimizations and additions implemented by sp-hash, tpruvot, tsiv and others.

Compiled with GCC 5.4 using the Nvidia CUDA Toolkit 9.2

[2018-08-29 13:22:46] invalid intensity, using default intensity
[2018-08-29 13:22:46] Starting Stratum on stratum+tcp://hub.miningpoolhub.com:20510
[2018-08-29 13:22:46] NVML GPU monitoring enabled.
[2018-08-29 13:22:46] 3 miner threads started, using 'neoscrypt' algorithm.
[2018-08-29 13:22:47] Stratum difficulty set to 4096
[2018-08-29 13:22:47] Received new neoscrypt block header
[2018-08-29 13:22:47] block height 2326719, 2 transactions
[2018-08-29 13:22:47] Stratum difficulty set to 333.017
[2018-08-29 13:22:50] GPU #0: using default intensity 16.250
[2018-08-29 13:22:50] GPU #1: using default intensity 16.250
[2018-08-29 13:22:50] GPU #2: using default intensity 16.250

[2018-08-29 13:23:13] GPU #0: ASUS GTX 1070, 970.76 kH/s
[2018-08-29 13:23:16] GPU #1: Gigabyte P106-100, 665.44 kH/s
[2018-08-29 13:23:16] GPU #2: Gigabyte P106-100, 644.95 kH/s
[2018-08-29 13:23:21] Received new neoscrypt block header
[2018-08-29 13:23:21] block height 2326719, 2 transactions
[2018-08-29 13:23:39] GPU #0: ASUS GTX 1070, 941.05 kH/s
[2018-08-29 13:23:41] GPU #2: Gigabyte P106-100, 630.87 kH/s
[2018-08-29 13:23:41] GPU #1: Gigabyte P106-100, 643.11 kH/s
[2018-08-29 13:23:43] GPU #2: Gigabyte P106-100, 609.75 kH/s
free(): invalid pointer

@KlausT
Copy link
Owner

KlausT commented Aug 29, 2018

That's really wierd.
The same binary is running just fine on my system (Ubuntu 16.04 LTS)
I'm out of ideas

@KlausT
Copy link
Owner

KlausT commented Aug 29, 2018

By the way, I have an Intel i5 4570 with 16GB RAM.
I don't know if this is relevant.

@papampi
Copy link
Author

papampi commented Aug 29, 2018

I tested on i3 with 8gb ram, don't think that's relevant.
Leave it be...
Let's hope not more people get into this problem, for now it looks like there is only 2.

@kkkrackpot
Copy link

I will try mallocdebug branch in a couple of days, as soon as i get access to my pc.

@kkkrackpot
Copy link

mallocdebug says this:

[2018-09-03 00:03:12] Received new neoscrypt block header
[2018-09-03 00:03:12] block height 111462, 0 transactions
[2018-09-03 00:03:12] GPU #0: Gigabyte GTX 1060 3GB, 573.93 kH/s
[2018-09-03 00:03:12] GPU #0: Gigabyte GTX 1060 3GB, 574.11 kH/s
[2018-09-03 00:03:12] 0x7fdb04b55250 submit_work calloc(1, sizeof(struct workio_cmd))
[2018-09-03 00:03:12] 0x7fdb0494d5b0 submit_work calloc(1, sizeof(*work_in))
[2018-09-03 00:03:12] 0x7fdb04499490 tq_push calloc(1, sizeof(*ent))
[2018-09-03 00:03:12] 0x7fdb2a6976f8 tq_pop free(ent)
free(): invalid pointer
Aborted

@kkkrackpot
Copy link

kkkrackpot commented Sep 2, 2018

[2018-09-03 00:06:13] GPU #0: Gigabyte GTX 1060 3GB, 564.21 kH/s
[2018-09-03 00:06:13] 0x7fffc0ae3870 submit_work calloc(1, sizeof(struct workio_cmd))
[2018-09-03 00:06:13] 0x7fffc0ae8ef0 submit_work calloc(1, sizeof(*work_in))
[2018-09-03 00:06:13] 0x7fffc04994d0 tq_push calloc(1, sizeof(*ent))
[2018-09-03 00:06:13] 0x7fffcffff6f8 tq_pop free(ent)
free(): invalid pointer

Thread 3 "ccminer" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffedd88700 (LWP 8261)]
0x00007ffff598d0ff in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff598d0ff in raise () from /lib64/libc.so.6
#1  0x00007ffff598e495 in abort () from /lib64/libc.so.6
#2  0x00007ffff59ce660 in ?? () from /lib64/libc.so.6
#3  0x00007ffff59d46ea in ?? () from /lib64/libc.so.6
#4  0x00007ffff59d54ec in ?? () from /lib64/libc.so.6
#5  0x00005555555672ca in tq_pop (tq=0x555555c52f00, abstime=0x0)
    at util.cpp:2164
#6  0x000055555555bafa in workio_thread (userdata=0x555555c528d8)
    at ccminer.cpp:1122
#7  0x00007ffff6a77457 in start_thread () from /lib64/libpthread.so.0
#8  0x00007ffff5a4923f in clone () from /lib64/libc.so.6
(gdb) frame 5
#5  0x00005555555672ca in tq_pop (tq=0x555555c52f00, abstime=0x0)
    at util.cpp:2164
2164            free(ent);
(gdb) info locals
ent = 0x7fffcffff6f8
rval = 0x0
rc = 0

My ccminer http://0x0.st/svKb.so (not sure if it works in your system)

@sats0k
Copy link

sats0k commented Nov 9, 2018

This error free(): invalid pointer appears when cuda of your system is older than the version of ccminer.
Faced with the same error today i have cuda 9.1 and with ccminer 8.22 which is for cuda 9.2 gave me this error,
downgrade to ccminer 8.20 which is for cuda 9.1 working perfect.

@KlausT KlausT pinned this issue May 10, 2019
@KlausT KlausT changed the title 8.22 error on lyra2v2 and neoscrypt free(): invalid pointer May 10, 2019
@KlausT
Copy link
Owner

KlausT commented Jul 29, 2020

Short summary of what I found out:
With most Linux distros ccminer is crashing when it finds the first share.
In the workio_thread there's a free call with an invalid address.
With Windows everything works fine.
There's an incompatibility somewhere, but I can't find it.
Maybe I could try Ubuntu 20.04 to see if anything has changed.

@KlausT KlausT changed the title free(): invalid pointer Crash under Linux: free(): invalid pointer Jul 29, 2020
@KlausT
Copy link
Owner

KlausT commented Dec 11, 2020

Good news: It seems to work with Ubuntu 20.04 LTS. Don't ask me why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants