Building hashcat v3.20
#1
Thanks for the release :-). I've upgraded from 3.10 to 3.20 although I get the following and I'm not sure where to go from here.
It's a clean build.

Ubuntu 16.04 Server
amdgpu-pro

./hashcat -b

*** Error in `./hashcat': double free or corruption (!prev): 0x000000000169a280 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fc9449e07e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7fc9449e8e0a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fc9449ec98c]
/lib/x86_64-linux-gnu/libc.so.6(fclose+0x103)[0x7fc9449d6363]
./hashcat[0x447203]
./hashcat[0x44aa0f]
./hashcat[0x4139a6]
./hashcat[0x40251c]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fc944989830]
./hashcat[0x4025d9]
#2
Just do:

git reset --hard
git clean -f
git pull
make clean
make
#3
(12-02-2016, 07:02 PM)atom Wrote: Just do:

git reset --hard
git clean -f
git pull
make clean
make

I've done the above but I still receive the same as before atom.

Code:
./hashcat -b hashcat (v3.20+) starting in benchmark mode... *** Error in `./hashcat': double free or corruption (!prev): 0x0000000000ae5280 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fc6c34587e5] /lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7fc6c3460e0a] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fc6c346498c] /lib/x86_64-linux-gnu/libc.so.6(fclose+0x103)[0x7fc6c344e363] ./hashcat[0x447203] ./hashcat[0x44aa0f] ./hashcat[0x4139a6] ./hashcat[0x40251c] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fc6c3401830] ./hashcat[0x4025d9] ======= Memory map: ======== 00400000-0048d000 r-xp 00000000 00:2b 1836002                            /home/si2006/hashcat/hashcat 0068d000-0068e000 r--p 0008d000 00:2b 1836002                            /home/si2006/hashcat/hashcat 0068e000-0068f000 rw-p 0008e000 00:2b 1836002                            /home/si2006/hashcat/hashcat 00aca000-00b55000 rw-p 00000000 00:00 0                                  [heap] 7fc6bc000000-7fc6bc021000 rw-p 00000000 00:00 0 7fc6bc021000-7fc6c0000000 ---p 00000000 00:00 0 7fc6c0c11000-7fc6c0c27000 r-xp 00000000 fc:00 1049111                    /lib/x86_64-linux-gnu/libgcc_s.so.1 7fc6c0c27000-7fc6c0e26000 ---p 00016000 fc:00 1049111                    /lib/x86_64-linux-gnu/libgcc_s.so.1 7fc6c0e26000-7fc6c0e27000 rw-p 00015000 fc:00 1049111                    /lib/x86_64-linux-gnu/libgcc_s.so.1 7fc6c0e29000-7fc6c0f31000 r-xp 00000000 fc:00 1053636                    /lib/x86_64-linux-gnu/libm-2.23.so 7fc6c0f31000-7fc6c1130000 ---p 00108000 fc:00 1053636                    /lib/x86_64-linux-gnu/libm-2.23.so 7fc6c1130000-7fc6c1131000 r--p 00107000 fc:00 1053636                    /lib/x86_64-linux-gnu/libm-2.23.so 7fc6c1131000-7fc6c1132000 rw-p 00108000 fc:00 1053636                    /lib/x86_64-linux-gnu/libm-2.23.so 7fc6c1139000-7fc6c1140000 r-xp 00000000 fc:00 1053639                    /lib/x86_64-linux-gnu/librt-2.23.so 7fc6c1140000-7fc6c133f000 ---p 00007000 fc:00 1053639                    /lib/x86_64-linux-gnu/librt-2.23.so 7fc6c133f000-7fc6c1340000 r--p 00006000 fc:00 1053639                    /lib/x86_64-linux-gnu/librt-2.23.so 7fc6c1340000-7fc6c1341000 rw-p 00007000 fc:00 1053639                    /lib/x86_64-linux-gnu/librt-2.23.so 7fc6c1341000-7fc6c1347000 r-xp 00000000 fc:00 4721116                    /opt/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so.1 7fc6c1347000-7fc6c1547000 ---p 00006000 fc:00 4721116                    /opt/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so.1 7fc6c1547000-7fc6c1548000 rw-p 00006000 fc:00 4721116                    /opt/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so.1 7fc6c154a000-7fc6c33e1000 rw-p 00000000 00:00 0 7fc6c33e1000-7fc6c35a0000 r-xp 00000000 fc:00 1053644                    /lib/x86_64-linux-gnu/libc-2.23.so 7fc6c35a0000-7fc6c37a0000 ---p 001bf000 fc:00 1053644                    /lib/x86_64-linux-gnu/libc-2.23.so 7fc6c37a0000-7fc6c37a4000 r--p 001bf000 fc:00 1053644                    /lib/x86_64-linux-gnu/libc-2.23.so 7fc6c37a4000-7fc6c37a6000 rw-p 001c3000 fc:00 1053644                    /lib/x86_64-linux-gnu/libc-2.23.so 7fc6c37a6000-7fc6c37aa000 rw-p 00000000 00:00 0 7fc6c37b1000-7fc6c37b4000 r-xp 00000000 fc:00 1053645                    /lib/x86_64-linux-gnu/libdl-2.23.so 7fc6c37b4000-7fc6c39b3000 ---p 00003000 fc:00 1053645                    /lib/x86_64-linux-gnu/libdl-2.23.so 7fc6c39b3000-7fc6c39b4000 r--p 00002000 fc:00 1053645                    /lib/x86_64-linux-gnu/libdl-2.23.so 7fc6c39b4000-7fc6c39b5000 rw-p 00003000 fc:00 1053645                    /lib/x86_64-linux-gnu/libdl-2.23.so 7fc6c39b9000-7fc6c39d1000 r-xp 00000000 fc:00 1053643                    /lib/x86_64-linux-gnu/libpthread-2.23.so 7fc6c39d1000-7fc6c3bd0000 ---p 00018000 fc:00 1053643                    /lib/x86_64-linux-gnu/libpthread-2.23.so 7fc6c3bd0000-7fc6c3bd1000 r--p 00017000 fc:00 1053643                    /lib/x86_64-linux-gnu/libpthread-2.23.so 7fc6c3bd1000-7fc6c3bd2000 rw-p 00018000 fc:00 1053643                    /lib/x86_64-linux-gnu/libpthread-2.23.so 7fc6c3bd2000-7fc6c3bd6000 rw-p 00000000 00:00 0 7fc6c3bd9000-7fc6c3bff000 r-xp 00000000 fc:00 1053640                    /lib/x86_64-linux-gnu/ld-2.23.so 7fc6c3df7000-7fc6c3dfe000 rw-p 00000000 00:00 0 7fc6c3dfe000-7fc6c3dff000 r--p 00025000 fc:00 1053640                    /lib/x86_64-linux-gnu/ld-2.23.so 7fc6c3dff000-7fc6c3e00000 rw-p 00026000 fc:00 1053640                    /lib/x86_64-linux-gnu/ld-2.23.so 7fc6c3e00000-7fc6c3e01000 rw-p 00000000 00:00 0 7fffa9a45000-7fffa9a66000 rw-p 00000000 00:00 0                          [stack] 7fffa9bb9000-7fffa9bbb000 r--p 00000000 00:00 0                          [vvar] 7fffa9bbb000-7fffa9bbd000 r-xp 00000000 00:00 0                          [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall] Aborted (core dumped)
#4
Hm, for some reason I think this is related to your opencl installation. Can you post the output of /opt/amdgpu-pro/bin/clinfo ?
#5
Sure.


Code:
 /opt/amdgpu-pro/bin/clinfo Number of platforms:                 1   Platform Profile:                 FULL_PROFILE   Platform Version:                 OpenCL 2.0 AMD-APP (2117.10)   Platform Name:                 AMD Accelerated Parallel Processing   Platform Vendor:                 Advanced Micro Devices, Inc.   Platform Extensions:                 cl_khr_icd cl_amd_event_callback cl_amd_offline_devices   Platform Name:                 AMD Accelerated Parallel Processing Number of devices:                 4   Device Type:                     CL_DEVICE_TYPE_GPU   Vendor ID:                     1002h   Board name:                       Device Topology:                 PCI[ B#1, D#0, F#0 ]   Max compute units:                 14   Max work items dimensions:             3     Max work items[0]:                 256     Max work items[1]:                 256     Max work items[2]:                 256   Max work group size:                 256   Preferred vector width char:             4   Preferred vector width short:             2   Preferred vector width int:             1   Preferred vector width long:             1   Preferred vector width float:             1   Preferred vector width double:         1   Native vector width char:             4   Native vector width short:             2   Native vector width int:             1   Native vector width long:             1   Native vector width float:             1   Native vector width double:             1   Max clock frequency:                 555Mhz   Address bits:                     64   Max memory allocation:             2998855680   Image support:                 Yes   Max number of images read arguments:         128   Max number of images write arguments:         8   Max image 2D width:                 16384   Max image 2D height:                 16384   Max image 3D width:                 2048   Max image 3D height:                 2048   Max image 3D depth:                 2048   Max samplers within kernel:             16   Max size of kernel argument:             1024   Alignment (bits) of base address:         2048   Minimum alignment (bytes) for any datatype:     128   Single precision floating point capability     Denorms:                     No     Quiet NaNs:                     Yes     Round to nearest even:             Yes     Round to zero:                 Yes     Round to +ve and infinity:             Yes     IEEE754-2008 fused multiply-add:         Yes   Cache type:                     Read/Write   Cache line size:                 64   Cache size:                     16384   Global memory size:                 4222152704   Constant buffer size:                 65536   Max number of constant args:             8   Local memory type:                 Scratchpad   Local memory size:                 32768   Max pipe arguments:                 0   Max pipe active reservations:             0   Max pipe packet size:                 0   Max global variable size:             0   Max global variable preferred total size:     0   Max read/write image args:             0   Max on device events:                 0   Queue on device max size:             0   Max on device queues:                 0   Queue on device preferred size:         0   SVM capabilities:                     Coarse grain buffer:             No     Fine grain buffer:                 No     Fine grain system:                 No     Atomics:                     No   Preferred platform atomic alignment:         0   Preferred global atomic alignment:         0   Preferred local atomic alignment:         0   Kernel Preferred work group size multiple:     64   Error correction support:             0   Unified memory for Host and Device:         0   Profiling timer resolution:             1   Device endianess:                 Little   Available:                     Yes   Compiler available:                 Yes   Execution capabilities:                     Execute OpenCL kernels:             Yes     Execute native function:             No   Queue on Host properties:                     Out-of-Order:                 No     Profiling :                     Yes   Queue on Device properties:                     Out-of-Order:                 No     Profiling :                     No   Platform ID:                     0x7fbf1aa6abd8   Name:                         Hawaii   Vendor:                     Advanced Micro Devices, Inc.   Device OpenCL C version:             OpenCL C 1.2   Driver version:                 2117.10 (VM)   Profile:                     FULL_PROFILE   Version:                     OpenCL 1.2 AMD-APP (2117.10)   Extensions:                     cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event   Device Type:                     CL_DEVICE_TYPE_GPU   Vendor ID:                     1002h   Board name:                       Device Topology:                 PCI[ B#7, D#0, F#0 ]   Max compute units:                 14   Max work items dimensions:             3     Max work items[0]:                 256     Max work items[1]:                 256     Max work items[2]:                 256   Max work group size:                 256   Preferred vector width char:             4   Preferred vector width short:             2   Preferred vector width int:             1   Preferred vector width long:             1   Preferred vector width float:             1   Preferred vector width double:         1   Native vector width char:             4   Native vector width short:             2   Native vector width int:             1   Native vector width long:             1   Native vector width float:             1   Native vector width double:             1   Max clock frequency:                 555Mhz   Address bits:                     64   Max memory allocation:             3005549568   Image support:                 Yes   Max number of images read arguments:         128   Max number of images write arguments:         8   Max image 2D width:                 16384   Max image 2D height:                 16384   Max image 3D width:                 2048   Max image 3D height:                 2048   Max image 3D depth:                 2048   Max samplers within kernel:             16   Max size of kernel argument:             1024   Alignment (bits) of base address:         2048   Minimum alignment (bytes) for any datatype:     128   Single precision floating point capability     Denorms:                     No     Quiet NaNs:                     Yes     Round to nearest even:             Yes     Round to zero:                 Yes     Round to +ve and infinity:             Yes     IEEE754-2008 fused multiply-add:         Yes   Cache type:                     Read/Write   Cache line size:                 64   Cache size:                     16384   Global memory size:                 4239462400   Constant buffer size:                 65536   Max number of constant args:             8   Local memory type:                 Scratchpad   Local memory size:                 32768   Max pipe arguments:                 0   Max pipe active reservations:             0   Max pipe packet size:                 0   Max global variable size:             0   Max global variable preferred total size:     0   Max read/write image args:             0   Max on device events:                 0   Queue on device max size:             0   Max on device queues:                 0   Queue on device preferred size:         0   SVM capabilities:                     Coarse grain buffer:             No     Fine grain buffer:                 No     Fine grain system:                 No     Atomics:                     No   Preferred platform atomic alignment:         0   Preferred global atomic alignment:         0   Preferred local atomic alignment:         0   Kernel Preferred work group size multiple:     64   Error correction support:             0   Unified memory for Host and Device:         0   Profiling timer resolution:             1   Device endianess:                 Little   Available:                     Yes   Compiler available:                 Yes   Execution capabilities:                     Execute OpenCL kernels:             Yes     Execute native function:             No   Queue on Host properties:                     Out-of-Order:                 No     Profiling :                     Yes   Queue on Device properties:                     Out-of-Order:                 No     Profiling :                     No   Platform ID:                     0x7fbf1aa6abd8   Name:                         Hawaii   Vendor:                     Advanced Micro Devices, Inc.   Device OpenCL C version:             OpenCL C 1.2   Driver version:                 2117.10 (VM)   Profile:                     FULL_PROFILE   Version:                     OpenCL 1.2 AMD-APP (2117.10)   Extensions:                     cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event   Device Type:                     CL_DEVICE_TYPE_GPU   Vendor ID:                     1002h   Board name:                       Device Topology:                 PCI[ B#8, D#0, F#0 ]   Max compute units:                 14   Max work items dimensions:             3     Max work items[0]:                 256     Max work items[1]:                 256     Max work items[2]:                 256   Max work group size:                 256   Preferred vector width char:             4   Preferred vector width short:             2   Preferred vector width int:             1   Preferred vector width long:             1   Preferred vector width float:             1   Preferred vector width double:         1   Native vector width char:             4   Native vector width short:             2   Native vector width int:             1   Native vector width long:             1   Native vector width float:             1   Native vector width double:             1   Max clock frequency:                 555Mhz   Address bits:                     64   Max memory allocation:             3005549568   Image support:                 Yes   Max number of images read arguments:         128   Max number of images write arguments:         8   Max image 2D width:                 16384   Max image 2D height:                 16384   Max image 3D width:                 2048   Max image 3D height:                 2048   Max image 3D depth:                 2048   Max samplers within kernel:             16   Max size of kernel argument:             1024   Alignment (bits) of base address:         2048   Minimum alignment (bytes) for any datatype:     128   Single precision floating point capability     Denorms:                     No     Quiet NaNs:                     Yes     Round to nearest even:             Yes     Round to zero:                 Yes     Round to +ve and infinity:             Yes     IEEE754-2008 fused multiply-add:         Yes   Cache type:                     Read/Write   Cache line size:                 64   Cache size:                     16384   Global memory size:                 4239462400   Constant buffer size:                 65536   Max number of constant args:             8   Local memory type:                 Scratchpad   Local memory size:                 32768   Max pipe arguments:                 0   Max pipe active reservations:             0   Max pipe packet size:                 0   Max global variable size:             0   Max global variable preferred total size:     0   Max read/write image args:             0   Max on device events:                 0   Queue on device max size:             0   Max on device queues:                 0   Queue on device preferred size:         0   SVM capabilities:                     Coarse grain buffer:             No     Fine grain buffer:                 No     Fine grain system:                 No     Atomics:                     No   Preferred platform atomic alignment:         0   Preferred global atomic alignment:         0   Preferred local atomic alignment:         0   Kernel Preferred work group size multiple:     64   Error correction support:             0   Unified memory for Host and Device:         0   Profiling timer resolution:             1   Device endianess:                 Little   Available:                     Yes   Compiler available:                 Yes   Execution capabilities:                     Execute OpenCL kernels:             Yes     Execute native function:             No   Queue on Host properties:                     Out-of-Order:                 No     Profiling :                     Yes   Queue on Device properties:                     Out-of-Order:                 No     Profiling :                     No   Platform ID:                     0x7fbf1aa6abd8   Name:                         Hawaii   Vendor:                     Advanced Micro Devices, Inc.   Device OpenCL C version:             OpenCL C 1.2   Driver version:                 2117.10 (VM)   Profile:                     FULL_PROFILE   Version:                     OpenCL 1.2 AMD-APP (2117.10)   Extensions:                     cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event   Device Type:                     CL_DEVICE_TYPE_CPU   Vendor ID:                     1002h   Board name:                       Max compute units:                 6   Max work items dimensions:             3     Max work items[0]:                 1024     Max work items[1]:                 1024     Max work items[2]:                 1024   Max work group size:                 1024   Preferred vector width char:             16   Preferred vector width short:             8   Preferred vector width int:             4   Preferred vector width long:             2   Preferred vector width float:             8   Preferred vector width double:         4   Native vector width char:             16   Native vector width short:             8   Native vector width int:             4   Native vector width long:             2   Native vector width float:             8   Native vector width double:             4   Max clock frequency:                 3793Mhz   Address bits:                     64   Max memory allocation:             4138327040   Image support:                 Yes   Max number of images read arguments:         128   Max number of images write arguments:         64   Max image 2D width:                 8192   Max image 2D height:                 8192   Max image 3D width:                 2048   Max image 3D height:                 2048   Max image 3D depth:                 2048   Max samplers within kernel:             16   Max size of kernel argument:             4096   Alignment (bits) of base address:         1024   Minimum alignment (bytes) for any datatype:     128   Single precision floating point capability     Denorms:                     Yes     Quiet NaNs:                     Yes     Round to nearest even:             Yes     Round to zero:                 Yes     Round to +ve and infinity:             Yes     IEEE754-2008 fused multiply-add:         Yes   Cache type:                     Read/Write   Cache line size:                 64   Cache size:                     16384   Global memory size:                 16553308160   Constant buffer size:                 65536   Max number of constant args:             8   Local memory type:                 Global   Local memory size:                 32768   Max pipe arguments:                 16   Max pipe active reservations:             16   Max pipe packet size:                 4138327040   Max global variable size:             1879048192   Max global variable preferred total size:     1879048192   Max read/write image args:             64   Max on device events:                 0   Queue on device max size:             0   Max on device queues:                 0   Queue on device preferred size:         0   SVM capabilities:                     Coarse grain buffer:             No     Fine grain buffer:                 No     Fine grain system:                 No     Atomics:                     No   Preferred platform atomic alignment:         0   Preferred global atomic alignment:         0   Preferred local atomic alignment:         0   Kernel Preferred work group size multiple:     1   Error correction support:             0   Unified memory for Host and Device:         1   Profiling timer resolution:             1   Device endianess:                 Little   Available:                     Yes   Compiler available:                 Yes   Execution capabilities:                     Execute OpenCL kernels:             Yes     Execute native function:             Yes   Queue on Host properties:                     Out-of-Order:                 No     Profiling :                     Yes   Queue on Device properties:                     Out-of-Order:                 No     Profiling :                     No   Platform ID:                     0x7fbf1aa6abd8   Name:                         AMD FX(tm)-6300 Six-Core Processor   Vendor:                     AuthenticAMD   Device OpenCL C version:             OpenCL C 1.2   Driver version:                 2117.10 (sse2,avx,fma4)   Profile:                     FULL_PROFILE   Version:                     OpenCL 1.2 AMD-APP (2117.10)   Extensions:                     cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_spir cl_khr_gl_event
#6
Try with --gpu-temp-disable
#7
(12-02-2016, 08:14 PM)atom Wrote: Try with --gpu-temp-disable

No change.
#8
Can you compile hashcat with DEBUG=1 and send me a backtrace ?
#9
(12-02-2016, 08:22 PM)atom Wrote: Can you compile hashcat with DEBUG=1 and send me a backtrace ?

In attachments.
#10
make clean
DEBUG=1 make
ulimit -c 999999999999
./hashcat -b
(core dumped)
gdb ./hashcat core
Then in gdb prompt type "bt"
Send me full output