namtrac35 / pyrit

Automatically exported from code.google.com/p/pyrit
0 stars 0 forks source link

Segmentation Fault after installing CAL++ or OpenCL #456

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Steps I have done (are repeatable on fresh Installs of MINT17 or Kali Linux):

-Installed fglrx (works flawless) after this instruction 
http://www.blackmoreops.com/2014/03/05/install-amd-ati-proprietary-fglrx-driver-
kali-linux-1-0-6/
-Installed AMP APP SDK 2.7 (also tried with 2.9 and also 2.7 upgraded to 2.9) 
After this instruction (still no Problems until here) 
http://www.blackmoreops.com/2013/11/22/install-amd-app-sdk-kali-linux/
-Installed CAL++ like described here, still no Problems (adjusted some commands 
to try out 2.9) http://www.blackmoreops.com/2013/11/22/install-cal-kali-linux/
-Installed Pyrit normally works just as a charm, reaching about 5000 PKMs with 
i7 4770k@4gHz
-As soon as I want to install CAL++ like here 
(http://www.blackmoreops.com/2013/11/22/install-pyrit-in-kali-linux/), this is 
the Output:
root@Kali-PC:~# pyrit list_cores
Speicherzugriffsfehler  [I think this must be Segmentation Fault after some 
research?]

I tried Nopat in Grub.cfg, didn't work.
I tried 4-5 times fresh installing and just keep straight to the instructions..
just dont know whats wrong here.. 

I appreciate any help!

What is the expected output? What do you see instead?
Doesn't matter which command (pyrit/pyrit list_cores/pyrit benchmark/pyrit 
--help) always the same: "Speicherzugriffsfehler"/Segmentation Fault.

What version of the product are you using? On what operating system?
root@Kali-PC:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux Kali Linux 1.0.8
Release:    Kali Linux 1.0.8
Codename:   n/a

Please provide any additional information below.
Dont know if this is useful, but thats the only thing where i get 
warnigs/errors:

root@Kali-PC:~/calpp-0.90/pyrit_svn/cpyrit_calpp# ./setup.py build install
running build
running build_ext
Building modules...
building 'cpyrit._cpyrit_calpp' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/opt/AMDAPP/include/CAL -I/usr/include/python2.7 -c 
_cpyrit_calpp.cpp -o build/temp.linux-x86_64-2.7/_cpyrit_calpp.o -Wall 
-fno-strict-aliasing -DVERSION="0.4.1-dev (svn r308)"
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for 
C/ObjC but not for C++ [enabled by default]
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/opt/AMDAPP/include/CAL -I/usr/include/python2.7 -c 
_cpyrit_calpp_kernel.cpp -o build/temp.linux-x86_64-2.7/_cpyrit_calpp_kernel.o 
-Wall -fno-strict-aliasing -DVERSION="0.4.1-dev (svn r308)"
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for 
C/ObjC but not for C++ [enabled by default]
_cpyrit_calpp_kernel.cpp: In function ‘void sha1_process(const SHA_DEV_CTX&, 
SHA_DEV_CTX&)’:
_cpyrit_calpp_kernel.cpp:429:32: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:431:57: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:434:61: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:437:63: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:440:63: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:443:53: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:446:53: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:449:53: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:452:53: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:455:53: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:458:53: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:461:53: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:464:53: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:467:53: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:470:53: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:473:54: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:477:66: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:481:69: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:485:69: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:490:69: warning: suggest parentheses around arithmetic 
in operand of ‘^’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:595:49: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:599:76: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:605:49: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:609:76: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:615:49: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:619:76: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:625:49: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:629:76: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:635:49: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:639:76: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:645:49: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:649:76: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:655:49: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:659:76: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:665:49: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:669:76: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:675:49: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:679:76: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:685:49: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
_cpyrit_calpp_kernel.cpp:689:76: warning: suggest parentheses around arithmetic 
in operand of ‘|’ [-Wparentheses]
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/cpyrit
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro 
build/temp.linux-x86_64-2.7/_cpyrit_calpp.o 
build/temp.linux-x86_64-2.7/_cpyrit_calpp_kernel.o -lcrypto -laticalrt 
-laticalcl -o build/lib.linux-x86_64-2.7/cpyrit/_cpyrit_calpp.so
running install
running install_lib
copying build/lib.linux-x86_64-2.7/cpyrit/_cpyrit_calpp.so -> 
/usr/local/lib/python2.7/dist-packages/cpyrit
running install_egg_info
Writing 
/usr/local/lib/python2.7/dist-packages/cpyrit_calpp-0.4.1_dev._svn.r308_.egg-inf
o

Original issue reported on code.google.com by robert.h...@googlemail.com on 23 Jul 2014 at 2:30

GoogleCodeExporter commented 9 years ago
the same problem on ubuntu 12.04. amd r9 290. everything was done according to 
the instructions, SCAA interesting is that with amd 6950 graphics card it's OK.

Original comment by prorusn...@gmail.com on 3 Jan 2015 at 7:42

GoogleCodeExporter commented 9 years ago
Same problem here - Pyrit with CAL++ on R9 290 not working, only with OpenCL, 
but it gives only 85k PMKs :-/

Original comment by mkl...@gmail.com on 7 Feb 2015 at 8:28