当Java因“ X Window System error”崩溃时,会生成任何日志吗?

时间:2018-10-18 08:34:57

标签: java x11

我有一个Java GUI程序,偶尔会因以下输出而崩溃:

(java:830): Gdk-ERROR **: The program 'java' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
  (Details: serial 16758 error_code 146 request_code 143 minor_code 7)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
/bin/sh: line 1:   830 Trace/breakpoint trap   /usr/java/oracle-jdk-1.8.0_u131/jre/bin/java ...

但是我似乎找不到任何细节,例如当时的情况。 Java stacktrace。

在这种情况下是否生成任何日志?还是我需要使用“ trap”和“ --sync”来调试基础的C代码?

0 个答案:

没有答案