Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 8 Jul 2016 23:03:03 +0200
From: Albert Veli <albert.veli@...il.com>
To: john-users@...ts.openwall.com
Subject: Re: MSCash Opencl format

I am no expert on OpenCL, but that looks like a crash during the
compilation of the mscash OpenCL code, before upload to the GPU. A crash in
"clBuildProgram () from /usr/lib/libamdocl64.so".

On Thu, Jul 7, 2016 at 2:54 PM, Luis Rocha <luiscrocha@...il.com> wrote:

> Output below:
>
> $ gdb ./john core
> GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
> Copyright (C) 2014 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html
> >
> 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-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from ./john...done.
> [New LWP 1504]
> [New LWP 1505]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> Core was generated by `./john /tmp/mscash --dev=gpu --format:mscash-opencl
> --verb=5'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x00007f311abc301d in ?? () from /usr/lib/libamdocl64.so
>
> gdb-peda$ bt
> #0  0x00007f311abc301d in ?? () from /usr/lib/libamdocl64.so
> #1  0x00007f311abcb418 in ?? () from /usr/lib/libamdocl64.so
> #2  0x00007f311abb2a47 in ?? () from /usr/lib/libamdocl64.so
> #3  0x00007f311abbe356 in ?? () from /usr/lib/libamdocl64.so
> #4  0x00007f311abbea1a in ?? () from /usr/lib/libamdocl64.so
> #5  0x00007f311abbb4ab in ?? () from /usr/lib/libamdocl64.so
> #6  0x00007f311b0162f5 in ?? () from /usr/lib/libamdocl64.so
> #7  0x00007f311b04e9fc in ?? () from /usr/lib/libamdocl64.so
> #8  0x00007f311b050633 in ?? () from /usr/lib/libamdocl64.so
> #9  0x00007f311b04dfff in ?? () from /usr/lib/libamdocl64.so
> #10 0x00007f311b0440ba in ?? () from /usr/lib/libamdocl64.so
> #11 0x00007f311b049d45 in ?? () from /usr/lib/libamdocl64.so
> #12 0x00007f311b00e168 in aclCompile () from /usr/lib/libamdocl64.so
> #13 0x00007f311a856be6 in ?? () from /usr/lib/libamdocl64.so
> #14 0x00007f311a857024 in ?? () from /usr/lib/libamdocl64.so
> #15 0x00007f311a862532 in ?? () from /usr/lib/libamdocl64.so
> #16 0x00007f311a865cc1 in ?? () from /usr/lib/libamdocl64.so
> #17 0x00007f311a8093c0 in ?? () from /usr/lib/libamdocl64.so
> #18 0x00007f311a81b9b6 in ?? () from /usr/lib/libamdocl64.so
> #19 0x00007f311a7fa0a9 in clBuildProgram () from /usr/lib/libamdocl64.so
> #20 0x000000000071bd04 in opencl_build (sequential_id=sequential_id@...ry
> =0x0,
>     opts=opts@...ry=0x7ffc18bb1240 "-D NUM_INT_KEYS=1 -D
> IS_STATIC_GPU_MASK=0 -DUCS_2 -D CONST_CACHE_SIZE=65536 -DUTF_8 -DASCII
> -DPLAINTEXT_LENG
>     TH=27 -D LOC_0=-1 -D LOC_1=-1 -D LOC_2=-1 -D LOC_3=-1", save=save@...ry
> =0x1,
>     file_name=file_name@...ry=0x7ffc18bb0fa0
> "$JOHN/kernels/mscash_kernel.cl_6bc462cd06d9931ec9cab42c90eb2372.bin",
>     program=program@...ry=0xe66f20 <program>,
> kernel_source_file=kernel_source_file@...ry=0x81ecd0 "$JOHN/kernels/
> mscash_kernel.cl",
>     kernel_source=0x2e21980 "/*\n * This software is Copyright (c) 2015,
> Sayantan Datta <sdatta@...nwall.com>\n * and Copyright (c) 2015, magnum
>                                                           \n * and it is
> hereby released to the general public under the following terms:\n *
> Redis"...) at common-opencl.c:1031
> #21 0x000000000071ca81 in opencl_build_kernel
> (kernel_filename=kernel_filename@...ry=0x81ecd0 "$JOHN/kernels/
> mscash_kernel.cl",
>     sequential_id=0x0,
>     opts=opts@...ry=0x7ffc18bb1240 "-D NUM_INT_KEYS=1 -D
> IS_STATIC_GPU_MASK=0 -DUCS_2 -D CONST_CACHE_SIZE=65536 -DUTF_8 -DASCII
> -DPLAINTEXT_LENG
>     TH=27 -D LOC_0=-1 -D LOC_1=-1 -D LOC_2=-1 -D LOC_3=-1",
> warn=warn@...ry=0x0)
> at common-opencl.c:1970
> #22 0x00000000006062d7 in init_kernel () at opencl_mscash_fmt_plug.c:328
> #23 0x000000000060713a in reset (db=0x28a9f80) at
> opencl_mscash_fmt_plug.c:765
> #24 0x00000000006c8e83 in fmt_self_test_body (full_lvl=0xffffffff,
> db=0x28a9f80, salt_copy=0x28a6344, binary_copy=0x28b2b64,
>     format=0xb29980 <fmt_opencl_mscash>) at formats.c:470
> #25 fmt_self_test (format=0xb29980 <fmt_opencl_mscash>, db=0x28a9f80) at
> formats.c:1621
> #26 0x00000000006d2468 in john_run () at john.c:1615
> #27 0x00000000006d2f61 in main (argc=0x5, argv=0x7ffc18bb2a58) at
> john.c:1972
> #28 0x00007f311d113ec5 in __libc_start_main (main=0x6d2af6 <main>,
> argc=0x5, argv=0x7ffc18bb2a58, init=<optimized out>, fini=<optimized out>,
>     rtld_fini=<optimized out>, stack_end=0x7ffc18bb2a48) at
> libc-start.c:287
> #29 0x000000000040725c in _start ()
>

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ