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

Segmentation fault (sse) #4

Open
claudioandre-br opened this issue Apr 17, 2015 · 0 comments
Open

Segmentation fault (sse) #4

claudioandre-br opened this issue Apr 17, 2015 · 0 comments

Comments

@claudioandre-br
Copy link

  • ptrWordOut points to an invalid location.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff75e7700 (LWP 10889)]
reducedDuplexRow1and2 (rowOut=<optimized out>, rowIn=0x7ffff00068c0, state=0x7ffff000c920) at sse/Sponge.c:168
168             ptrWordOut[j] = _mm_xor_si128(state[j], ptrWordIn[j]);
(gdb) bt
#0  reducedDuplexRow1and2 (rowOut=<optimized out>, rowIn=0x7ffff00068c0, state=0x7ffff000c920) at sse/Sponge.c:168
#1  LYRA2._omp_fn.0.2482 (.omp_data_i=0x7fffffffdc90) at sse/Lyra2.c:433
#2  0x00007ffff75f034a in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#3  0x00007ffff7bc4182 in start_thread (arg=0x7ffff75e7700) at pthread_create.c:312
#4  0x00007ffff78f147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

(gdb) print ptrWordOut
$1 = (__m128i *) 0x5fa0
(gdb) print j
$2 = 6

(gdb) print state
$3 = (__m128i *) 0x7ffff000c920
(gdb) print ptrWordIn
$4 = (__m128i *) 0x7ffff00068c0
(gdb) 

Inputs:
Password: password
Password Length: 8
Salt: salt.string
Salt Length: 11
Output Length: 64

Parameters:
T: 1
R: 4
C: 256
Parallelism: 2
Sponge: Blake2
Sponge Blocks (bitrate): 12 = 768 bits
Memory: 98304 bytes

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

No branches or pull requests

1 participant