使用LIBSVM出现EXCEPTION_ACCESS_VIOLATION

大家好,我在使用LIBSVM.jl做分类时,当数据集较大会出现julia的崩溃退出(100乘100可以,在juno里面2000乘2000不行,在cmd里10000乘10000不行)。显示错误为:

Please submit a bug report with steps to reproduce this fault, anException: EXCEPTION_ACCESS_VIOLATION at 0x7ffea53ba5a9 – svm_pr
in expression starting at E:\Coder\github\qisvm\qisvm.jl:705
svm_predict_values at C:\Users\inrm.julia\packages\LIBSVM\5Z99T
vcomp_fork at C:\Windows\SYSTEM32\VCOMP140.DLL (unknown line)
vcomp_fork at C:\Windows\SYSTEM32\VCOMP140.DLL (unknown line)
vcomp_fork at C:\Windows\SYSTEM32\VCOMP140.DLL (unknown line)
svm_predict_values at C:\Users\inrm.julia\packages\LIBSVM\5Z99T
#svmpredict#4 at C:\Users\inrm.julia\packages\LIBSVM\5Z99T\src\L
svmpredict at C:\Users\inrm.julia\packages\LIBSVM\5Z99T\src\LIBS
_jl_invoke at /cygdrive/d/buildbot/worker/package_win64/build/src
jl_apply_generic at /cygdrive/d/buildbot/worker/package_win64/bui
svm3 at E:\Coder\github\qisvm\qisvm.jl:362
competition at E:\Coder\github\qisvm\qisvm.jl:692
competition at E:\Coder\github\qisvm\qisvm.jl:670
unknown function (ip: 0000000001E34E8E)
_jl_invoke at /cygdrive/d/buildbot/worker/package_win64/build/src
jl_apply_generic at /cygdrive/d/buildbot/worker/package_win64/bui
jl_apply at /cygdrive/d/buildbot/worker/package_win64/build/src/c
do_call at /cygdrive/d/buildbot/worker/package_win64/build/src/cy
eval_value at /cygdrive/d/buildbot/worker/package_win64/build/src
eval_stmt_value at /cygdrive/d/buildbot/worker/package_win64/buil
eval_body at /cygdrive/d/buildbot/worker/package_win64/build/src/
jl_interpret_toplevel_thunk_callback at /cygdrive/d/buildbot/work
unknown function (ip: FFFFFFFFFFFFFFFE)
unknown function (ip: 0000000038CDAD0F)
unknown function (ip: 0000000000000002)
jl_toplevel_eval_flex at /cygdrive/d/buildbot/worker/package_win6
jl_parse_eval_all at /cygdrive/d/buildbot/worker/package_win64/bu
include_string at .\loading.jl:1075
#200 at C:\Users\inrm.julia\packages\Atom\cYxbS\src\eval.jl:166
withpath at C:\Users\inrm.julia\packages\CodeTools\kosGY\src\uti
_jl_invoke at /cygdrive/d/buildbot/worker/package_win64/build/src
jl_apply_generic at /cygdrive/d/buildbot/worker/package_win64/bui
withpath at C:\Users\inrm.julia\packages\Atom\cYxbS\src\eval.jl:
#199 at C:\Users\inrm.julia\packages\Atom\cYxbS\src\eval.jl:163
with_logstate at .\logging.jl:395
with_logger at .\logging.jl:491 [inlined]
#198 at C:\Users\inrm.julia\packages\Atom\cYxbS\src\eval.jl:162
hideprompt at C:\Users\inrm.julia\packages\Atom\cYxbS\src\repl.j
macro expansion at C:\Users\inrm.julia\packages\Atom\cYxbS\src\e
macro expansion at C:\Users\inrm.julia\packages\Media\ItEPc\src
evalall at C:\Users\inrm.julia\packages\Atom\cYxbS\src\eval.jl:1
_jl_invoke at /cygdrive/d/buildbot/worker/package_win64/build/src
jl_apply_generic at /cygdrive/d/buildbot/worker/package_win64/bui
jl_apply at /cygdrive/d/buildbot/worker/package_win64/build/src/c
jl_f__apply at /cygdrive/d/buildbot/worker/package_win64/build/sr
macro expansion at C:\Users\inrm.julia\packages\Atom\cYxbS\src\e
#172 at .\task.jl:333
unknown function (ip: 00000000182BE893)
_jl_invoke at /cygdrive/d/buildbot/worker/package_win64/build/src
jl_apply_generic at /cygdrive/d/buildbot/worker/package_win64/bui
jl_apply at /cygdrive/d/buildbot/worker/package_win64/build/src/c
start_task at /cygdrive/d/buildbot/worker/package_win64/build/src
Allocations: 92015103 (Pool: 91992416; Big: 22687); GC: 79

在报错中可以看到是svm_predict_values()这个函数出错的 。

versioninfo()
Julia Version 1.3.1
Commit 2d57411 (2019-12-30 21:36 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel® Core™ i5-8300H CPU @ 2.30GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
JULIA_EDITOR = “C:\Users\inrm\AppData\Local\atom\app-1.43.0\atom.exe” -a
JULIA_FFTW_PROVIDER = MKL
JULIA_NUM_THREADS = 4

LIBSVM.jl版本为v0.4.0.

请不吝赐教!

他好像让你去提交这个bug,你可以把你的错误信息提交一个issue到这个包的github地址上

京ICP备17009874号-2