Posts: 23
	Threads: 9
	Joined: May 2014
	
	
 
	
	
		after a power failure (linux ext4), when the machine comes back up,
I issue the  
./oclHashCat64.bin --session=blah  --restore
and it consistantly, every time, does this:
oclHashcat v1.20 starting in restore-mode...
Generating bitmap tables...Segmentation fault (core dumped)
	
	
	
	
	
 
 
	
	
	
		
	Posts: 2,301
	Threads: 11
	Joined: Jul 2010
	
	
 
	
	
		Maybe the power failure occurred during oclhc writing the restore file and hence it got corrupted.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 23
	Threads: 9
	Joined: May 2014
	
	
 
	
	
		I guess - I was just puzzled when it happened several times.
and it's a RAID 1 array too.  weird..
	
	
	
	
	
 
 
	
	
	
		
	Posts: 2,935
	Threads: 12
	Joined: May 2012
	
	
 
	
	
		RAID will not protect you from power failures unless you are using a hardware RAID controller with battery- or flash- backed cache.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 23
	Threads: 9
	Joined: May 2014
	
	
 
	
		
		
		05-14-2014, 06:40 PM 
(This post was last modified: 05-14-2014, 06:43 PM by tkalfaoglu.)
		
	 
	
		Does this help:
Code:
(gdb) file  ./oclHashcat64.bin
Reading symbols from oclHashcat-1.20/oclHashcat64.bin...(no debugging symbols found)...done.
(gdb) run --session=blah --restore
Starting program: oclHashcat64.bin --session=blah --restore
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
oclHashcat v1.20 starting in restore-mode...
Generating bitmap tables...             
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff586a76b in ?? () from /lib64/libamdocl64.so
(gdb)
 
 
	
	
	
		
	Posts: 5,232
	Threads: 233
	Joined: Apr 2010
	
	
 
	
	
		well that says that it crashes somewhere inside AMD's OpenCL runtime, so it's not really an oclHashcat problem. Try to remove all *.kernel files in kernels/4098/*.kernel maybe it helps..
	
	
	
	
	
 
 
	
	
	
		
	Posts: 23
	Threads: 9
	Joined: May 2014
	
	
 
	
	
		I removed them, but the error did not change. I reinstalled the ATI drivers, same error. I removed all session related files, and started over, still no luck, same crash.
	
	
	
	
	
 
 
	
	
	
		
	Posts: 23
	Threads: 9
	Joined: May 2014
	
	
 
	
	
		I feel quite foolish - it turns out I hadn't started X.. 
I dunno if that's the norm, but I always have to start X and start the hashing at the console first.. I use "screen" to detach it then..
	
	
	
	
	
 
 
	
	
	
		
	Posts: 5,232
	Threads: 233
	Joined: Apr 2010
	
	
 
	
	
		you dont need to, only if you want oclhashcat to be able to access temperature and fan information. if you dont care about, just add --gpu-temp-disable and in that case you should be able to run it without x11
	
	
	
	
	
 
 
	
	
	
		
	Posts: 23
	Threads: 9
	Joined: May 2014
	
	
 
	
	
		Many thanks -- I do enjoy the temperature/fan control of oclHashcat;  it takes about 5 seconds of oclHashCat running for the machine to start sounding like an airplane - I appreciate the fan control!