在java语言中调用matlab生成的jar包时,出现 Segmentation violation detected 错误
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
版本为R2020a,错误信息如下:
--------------------------------------------------------------------------------
Segmentation violation detected at 五 8月 11 11:25:11 2023 +0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : true
GNU C Library : 2.17 stable
Graphics Driver : Unknown software
Graphics card 1 : 0x102b ( 0x102b ) 0x522 Version 0.0.0.0 (0-0-0)
Java Version : Java 1.8.0_131-b11 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : Unknown
MATLAB Root : /data/matlab/mcr/v98
MATLAB Version : 9.8.0.1873465 (R2020a) Update 8
OpenGL : software
Operating System : Linux 3.10.0-1062.el7.x86_64 #1 SMP Wed Aug 7 18:08:02 UTC 2019 x86_64
Process ID : 36940
Processor ID : x86 Family 6 Model 85 Stepping 4, GenuineIntel
Session Key : 9d1307a4-b42b-4d7f-b103-6b4d94474099
Static TLS mitigation : Disabled: Unnecessary
Window System : No active display
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 00007fe194190fb0 RBX = 00007fe1739ffa54
RCX = 0000000000000001 RDX = 00007fe172754260
RSP = 00007fe316017d98 RBP = 00007fe316017e10
RSI = 0000000000000001 RDI = 00007fe1941909c0
R8 = 00007fe173a01460 R9 = 0000000000000008
R10 = 00007fe67a60a5d8 R11 = 00007fe196663900
R12 = 00007fe172754260 R13 = 00007fe173a01460
R14 = 0000000000000001 R15 = 00007fe173a01390
RIP = 00007fe194189750 EFL = 0000000000010206
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007fe194189750 <unknown-module>+00000000
[ 1] 0x00007fe640cd0d48 /data/matlab/mcr/v98/bin/glnxa64/libmwmcos_impl.so+04042056
[ 2] 0x00007fe640cd3688 /data/matlab/mcr/v98/bin/glnxa64/libmwmcos_impl.so+04052616
[ 3] 0x00007fe640cdb6c2 /data/matlab/mcr/v98/bin/glnxa64/libmwmcos_impl.so+04085442
[ 4] 0x00007fe640cd0279 /data/matlab/mcr/v98/bin/glnxa64/libmwmcos_impl.so+04039289
[ 5] 0x00007fe640e4c45f /data/matlab/mcr/v98/bin/glnxa64/libmwmcos_impl.so+05596255
[ 6] 0x00007fe640e46577 /data/matlab/mcr/v98/bin/glnxa64/libmwmcos_impl.so+05571959
[ 7] 0x00007fe65af7f3f6 /data/matlab/mcr/v98/bin/glnxa64/libmwm_dispatcher.so+00578550
[ 8] 0x00007fe65af7f6d1 /data/matlab/mcr/v98/bin/glnxa64/libmwm_dispatcher.so+00579281 _ZN18Mfh_MATLAB_fn_impl8dispatchEiPSt10unique_ptrI11mxArray_tagN6matrix6detail17mxDestroy_deleterEEiPPS1_+00000033
[ 9] 0x00007fe6522ed52d /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+10163501
[ 10] 0x00007fe6522f2066 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+10182758
[ 11] 0x00007fe6523fe84e /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+11282510
[ 12] 0x00007fe6523f18d1 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+11229393
[ 13] 0x00007fe6523f1988 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+11229576
[ 14] 0x00007fe65235f644 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+10630724
[ 15] 0x00007fe652386a8d /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+10791565
[ 16] 0x00007fe651e9a667 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+05629543
[ 17] 0x00007fe651e9c8f4 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+05638388
[ 18] 0x00007fe651e995cd /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+05625293
[ 19] 0x00007fe651e911b1 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+05591473
[ 20] 0x00007fe651e913e9 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+05592041
[ 21] 0x00007fe651e98dd6 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+05623254
[ 22] 0x00007fe651e98ed6 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+05623510
[ 23] 0x00007fe651fd258d /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+06907277
[ 24] 0x00007fe651fd5d05 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+06921477
[ 25] 0x00007fe6521fcd51 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+09178449
[ 26] 0x00007fe6522dd3f7 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+10097655
[ 27] 0x00007fe6522dd645 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+10098245
[ 28] 0x00007fe65b0010ef /data/matlab/mcr/v98/bin/glnxa64/libmwm_dispatcher.so+01110255 _ZN8Mfh_file20dispatch_file_commonEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000207
[ 29] 0x00007fe65b0032a3 /data/matlab/mcr/v98/bin/glnxa64/libmwm_dispatcher.so+01118883 _ZN8Mfh_file19dispatch_with_reuseEiPP11mxArray_tagiS2_+00000323
[ 30] 0x00007fe65241c94e /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+11405646
[ 31] 0x00007fe6521a7cb6 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+08830134
[ 32] 0x00007fe6521a7e2c /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+08830508
[ 33] 0x00007fe65224806b /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+09486443
[ 34] 0x00007fe652249118 /data/matlab/mcr/v98/bin/glnxa64/libmwm_lxe.so+09490712
[ 35] 0x00007fe65b19e1f0 /data/matlab/mcr/v98/bin/glnxa64/libmwm_interpreter.so+01335792 _Z44inCallFcnWithTrapInDesiredWSAndPublishEventsiPP11mxArray_tagiS1_PKcbP15inWorkSpace_tag+00000080
[ 36] 0x00007fe65a6c39b5 /data/matlab/mcr/v98/bin/glnxa64/libmwiqm.so+00735669 _ZN3iqm15BaseFEvalPlugin7executeEP15inWorkSpace_tag+00001253
[ 37] 0x00007fe65b5563a9 /data/matlab/mcr/v98/bin/glnxa64/libmwmcr.so+00951209
[ 38] 0x00007fe65a6b3130 /data/matlab/mcr/v98/bin/glnxa64/libmwiqm.so+00667952
[ 39] 0x00007fe65a696c39 /data/matlab/mcr/v98/bin/glnxa64/libmwiqm.so+00551993
[ 40] 0x00007fe65a69787b /data/matlab/mcr/v98/bin/glnxa64/libmwiqm.so+00555131
[ 41] 0x00007fe65b53b018 /data/matlab/mcr/v98/bin/glnxa64/libmwmcr.so+00839704
[ 42] 0x00007fe65b53b632 /data/matlab/mcr/v98/bin/glnxa64/libmwmcr.so+00841266
[ 43] 0x00007fe65b53bea4 /data/matlab/mcr/v98/bin/glnxa64/libmwmcr.so+00843428
[ 44] 0x00007fe669913a02 /data/matlab/mcr/v98/bin/glnxa64/libmwboost_thread.so.1.70.0+00064002
[ 45] 0x00007fe6fefbee65 /lib64/libpthread.so.0+00032357
[ 46] 0x00007fe6fe8cd88d /lib64/libc.so.6+01042573 clone+00000109
** This crash report has been saved to disk as /root/matlab_crash_dump.36940-1 **
MATLAB is exiting because of fatal error
请解答,谢谢!!!!
Respuestas (1)
halleyhit
el 16 de Ag. de 2024
写了 This crash report。。。这个是软件崩溃了,比如安装不当之类的,建议问jar的作者,他是啥环境下做的
0 comentarios
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!