NON-FATAL RUN-TIME ERROR: "11.c", line 61, col 13, thread id 0x00006834: Function ComRd: (return value == -1 [0xffffffff]). ????????????
时间: 2023-11-04 10:57:26 浏览: 103
这个非致命运行时错误是在"11.c"文件的第61行第13列,线程ID为0x00006834的地方发生的。函数ComRd的返回值为-1(0xffffffff)。根据提供的信息,我无法确定具体的错误原因。但是,根据常见情况,这可能是由于文件读取失败、对象不存在或其他错误导致的。要解决这个问题,您可以检查代码中与ComRd函数相关的部分并确保正确的输入和逻辑。
相关问题
FATAL: `thread_run' function failed: ./tpcc_run.lua:115: attempt to perform arithmetic on local 'd_next_o_id' (a nil value) (last message repeated 2 times) FATAL: `thread_run' function failed: ./tpcc_run.lua:353: attempt to perform arithmetic on a nil value ALERT: attempt to fetch row from an empty result set FATAL: `thread_run' function failed: ./tpcc_run.lua:325: attempt to index global 'row' (a nil value) FATAL: `thread_run' function failed: ./tpcc_run.lua:115: attempt to perform arithmetic on local 'd_next_o_id' (a nil value) FATAL: `thread_run' function failed: ./tpcc_run.lua:353: attempt to perform arithmetic on a nil value ALERT: attempt to fetch row from an empty result set FATAL: `thread_run' function failed: ./tpcc_run.lua:353: attempt to perform arithmetic on a nil value FATAL: `thread_run' function failed: ./tpcc_run.lua:325: attempt to index global 'row' (a nil value) ALERT: attempt to fetch row from an empty result set FATAL: `thread_run' function failed: ./tpcc_run.lua:325: attempt to index global 'row' (a nil value) FATAL: `thread_run' function failed: ./tpcc_run.lua:353: attempt to perform arithmetic on a nil value ALERT: attempt to fetch row from an empty result set FATAL: `thread_run' function failed: ./tpcc_run.lua:325: attempt to index global 'row' (a nil value)怎么解决
这段错误信息看起来是来自一个名为 tpcc_run.lua 的 Lua 脚本。其中的错误包括尝试在一个空值上进行算术运算,尝试从一个空结果集中获取行等等。要解决这些错误,你需要检查代码并确定哪些变量或值为空或未定义,然后进行必要的检查和处理。这可能需要对代码进行逐行分析和调试,以确定问题的确切原因。建议你仔细检查代码并使用调试器或其他工具来帮助你找到问题所在。
解释一下这个报错:# A fatal error has been detected by the Java Runtime Environment: # # SIGBUS (0x7) at pc=0x00007f36fadb534d, pid=4045220, tid=0x00007f354a1b7700 # # JRE version: OpenJDK Runtime Environment (8.0_222-b10) (build 1.8.0_222-b10) # Java VM: OpenJDK 64-Bit Server VM (25.222-b10 mixed mode linux-amd64 compressed oops) # Problematic frame: # C [libzip.so+0x1234d] newEntry.isra.4+0x7d # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /GSCloud2103/hs_err_pid4045220.log Compiled method (nm) 4791771 742 n 0 java.util.zip.ZipFile::getEntry (native) total in heap [0x00007f36e52edd90,0x00007f36e52ee100] = 880 relocation [0x00007f36e52edeb8,0x00007f36e52edf00] = 72 main code [0x00007f36e52edf00,0x00007f36e52ee100] = 512 /GSCloud2103/./startup-linux.sh: line 78: 4045220 Segmentation fault (core dumped) $JAVA_HOME/bin/java $CAF_OPS -server -Dloader.path=$CAF_MODULE_PATHS -Dserver.runtime.path.name=$IGIX_SERVER_PATH $JVM_MEM_OPTS $JVM_DEBUG_OPTS -jar $CAF_BOOTSTRAP --spring.config.location=$IGIX_SERVER_HOME/runtime/
这是一个严重的错误报告,出现了SIGBUS错误,可能是由于硬件或内存故障引起的。报告中提到了一个问题帧,这是指程序崩溃的位置,即C语言的libzip库中的newEntry.isra.4+0x7d方法。此外,还有一个“Segmentation fault (core dumped)”错误,这是指进程试图访问其无法访问的内存区域,导致操作系统终止了该进程并生成了一个核心转储文件。如果这是一个持续发生的问题,建议检查硬件和内存,或者查看是否有最新的库或更新可用。
阅读全文