segfault on windows
quinnj opened this issue · comments
Jacob Quinn commented
Seeing this:
julia> using Nettle
julia> s = HMACState(SHA256,"foobar")
Please submit a bug report with steps to reproduce this fault, and any error mes
sages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x6a7094a8 -- ??? at ???:1785762984
nettle_hmac_set_key at ???:1785762984
HMACState at C:\Users\karbarcca\.julia\v0.3\Nettle\src\hmac.jl:24
jl_apply_generic at ???:1705056858
jl_interpret_toplevel_expr at ???:1705273036
jl_interpret_toplevel_thunk_with at ???:1705269810
jl_interpret_toplevel_thunk_with at ???:1705270404
jl_interpret_toplevel_expr_in at ???:1705274385
jl_interpret_toplevel_thunk_with at ???:1705268728
jl_toplevel_eval at ???:1705337595
jl_f_top_eval at ???:1705082617
eval_user_input at REPL.jl:53
jlcall_eval_user_input;20312 at ???:46733675
??? at ???:46305952
??? at ???:46145200
??? at ???:12909680
??? at ???:94626544
??? at ???:12909520
jl_apply_generic at ???:1705056732
anonymous at task.jl:95
jl_f_task at ???:1705301525
julia_trampoline at ???:1705296549
??? at ???:4202432
??? at ???:4199369
??? at ???:4199672
BaseThreadInitThunk at ???:588060333
RtlUserThreadStart at ???:593184297
Please submit a bug report with steps to reproduce this fault, and any error mes
sages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x6a7094a8 -- nettle_hmac_set_key at ??
?:1785762984
RtlUserThreadStart at ???:593184297
Please submit a bug report with steps to reproduce this fault, and any error mes
sages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x6a7094a8 -- nettle_hmac_set_key at ??
?:1785762984
RtlUserThreadStart at ???:593184297
Please submit a bug report with steps to reproduce this fault, and any error mes
sages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x6a7094a8 -- nettle_hmac_set_key at ??
?:1785762984
RtlUserThreadStart at ???:593184297
Please submit a bug report with steps to reproduce this fault, and any error mes
sages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x6a7094a8 -- nettle_hmac_set_key at ??
?:1785762984
RtlUserThreadStart at ???:593184297
C:\Users\karbarcca\julia>
Jacob Quinn commented
Discovered in JuliaLang/IJulia.jl#199
Steven G. Johnson commented
versioninfo(true)
might be helpful.
Jacob Quinn commented
julia> versioninfo(true)
Julia Version 0.3.0-prerelease+3994
Commit c7eb3c5* (2014-07-01 18:20 UTC)
Platform Info:
System: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
WORD_SIZE: 64
Microsoft Windows [Version 6.3.9600]
uname: MSYS_NT-6.3 2.0.0(0.273/5/3) 2014-05-22 10:56 x86_64 unknown
Memory: 15.912464141845703 GB (10351.8828125 MB free)
Uptime: 662874.9978522 sec
Load Avg: 0.0 0.0 0.0
Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz:
speed user nice sys idle irq ticks
#1 2295 MHz 15367312 0 12741781 272090500 1389250 ticks
#2 2295 MHz 13511625 0 12189500 274498250 35500 ticks
#3 2295 MHz 15273656 0 15298953 269626765 47546 ticks
#4 2295 MHz 15673250 0 20380171 264145953 34437 ticks
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
LAPACK: libopenblas
LIBM: libopenlibm
Environment:
GOPATH = C:\Users\karbarcca\go
GUROBI_HOME = C:\gurobi560\win64
HOME = C:\Users\karbarcca
HOMEDRIVE = C:
HOMEPATH = \Users\karbarcca
JAVA_HOME = C:\Program Files\Java\jdk1.7.0_21\bin
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Package Directory: C:\Users\karbarcca\.julia\v0.3
4 required packages:
- Dates 0.0.1+ master
- IJulia 0.1.12+ master
- LibGit2 0.3.7+ master
- ODBC 0.3.8+ master (dirty)
22 additional packages:
- ArrayViews 0.4.6
- BinDeps 0.2.14
- DataArrays 0.1.11
- DataFrames 0.5.6 668bec9a (dirty)
- Datetime 0.1.6
- GZip 0.2.12
- Grisu 0.0.0- master (unregistered, dirty)
- HTTPClient 0.1.4
- JSON 0.3.6
- LibCURL 0.1.3
- LibExpat 0.0.4
- Nettle 0.1.4
- REPLCompletions 0.0.1
- Reexport 0.0.1
- SortingAlgorithms 0.0.1
- StatsBase 0.5.2
- TimeZones 0.0.0- master (unregistered)
- URIParser 0.0.2
- URLParse 0.0.0
- WinRPM 0.0.14
- ZMQ 0.1.12
- Zlib 0.1.7
julia>
Isaiah Norton commented
I can't reproduce on julia/d303568 or back several months. (Fluke? Nettle DLL bug?)
julia> s = HMACState(SHA256, "foobar")
SHA256 HMAC state
Jacob Quinn commented
I'm not seeing this anymore either. Cheers for issues that mysteriously fix themselves!