[Bug 1842630] Re: OWASP ZAP crashing after first run

Pablo Hörtner 1842630 at bugs.launchpad.net
Thu Aug 10 23:27:38 UTC 2023


I've just tested this again on Ubuntu with OWASP ZAP 2.13.0 (this time
using Flatpak instead of Snap), and everything seems to be working fine,
so I'll close this bug report.

Switching to GTK does not crash ZAP anymore. :)

Just in case, the relevant errors messages are:

1936 [main] INFO  org.zaproxy.zap.GuiBootstrap - OWASP ZAP 2.13.0 started 11.08.23, 01:06:27 with home /home/redtux/.ZAP/
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.zaproxy.zap.GuiBootstrap (file:/app/share/owasp-zap/zap-2.13.0.jar) to field sun.awt.X11.XToolkit.awtAppClassName
WARNING: Please consider reporting this to the maintainers of org.zaproxy.zap.GuiBootstrap
[...]
Gtk-Message: 01:06:58.151: Failed to load module "canberra-gtk-module"                                                                                                                        
Gtk-Message: 01:06:58.155: Failed to load module "canberra-gtk-module"                                                                                                                        

** Changed in: openjdk-lts (Ubuntu)
       Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openjdk-lts in Ubuntu.
https://bugs.launchpad.net/bugs/1842630

Title:
  OWASP ZAP crashing after first run

Status in openjdk-lts package in Ubuntu:
  Fix Released

Bug description:
  I have just successfully installed the OWASP ZAP proxy via snap Ubuntu
  disco 19.04, but after changing the theme to GTK+ and restarting the
  app crashes with the following output:

  Found Java version 11.0.4
  Available memory: 7857 MB
  Using JVM args: -Xmx1964m
  0 [main] INFO org.zaproxy.zap.GuiBootstrap  - OWASP ZAP 2.8.0 started 04.09.19, 10:41:12 with home /home/redtux/.ZAP/
  GLib-GIO-Message: 10:41:12.412: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
  WARNING: An illegal reflective access operation has occurred
  WARNING: Illegal reflective access by org.zaproxy.zap.GuiBootstrap (file:/snap/zaproxy/4/zap-2.8.0.jar) to field sun.awt.X11.XToolkit.awt
  AppClassName
  WARNING: Please consider reporting this to the maintainers of org.zaproxy.zap.GuiBootstrap
  WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
  WARNING: All illegal access operations will be denied in a future release
  662 [AWT-EventQueue-0] INFO org.parosproxy.paros.network.SSLConnector  - Reading supported SSL/TLS protocols...
  665 [AWT-EventQueue-0] INFO org.parosproxy.paros.network.SSLConnector  - Using a SSLEngine...
  880 [AWT-EventQueue-0] INFO org.parosproxy.paros.network.SSLConnector  - Done reading supported SSL/TLS protocols: [SSLv2Hello, SSLv3, TL
  Sv1, TLSv1.1, TLSv1.2, TLSv1.3]
  899 [AWT-EventQueue-0] INFO org.parosproxy.paros.extension.option.OptionsParamCertificate  - Unsafe SSL renegotiation disabled.
  1569 [AWT-EventQueue-0] INFO hsqldb.db.HSQLDB379AF3DEBD.ENGINE  - dataFileCache open start
  1582 [AWT-EventQueue-0] INFO hsqldb.db.HSQLDB379AF3DEBD.ENGINE  - dataFileCache open end
  Gtk-Message: 10:41:13.821: Failed to load module "canberra-gtk-module"
  Gtk-Message: 10:41:13.822: Failed to load module "pk-gtk-module"
  #
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  SIGSEGV (0xb) at pc=0x00007feafe4630f8, pid=26061, tid=26161
  #
  # JRE version: OpenJDK Runtime Environment (11.0.4+11) (build 11.0.4+11-post-Ubuntu-1ubuntu219.04)
  # Java VM: OpenJDK 64-Bit Server VM (11.0.4+11-post-Ubuntu-1ubuntu219.04, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
  # Problematic frame:
  # C  [libc.so.6+0x1890f8]
  #
  # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P" (or dumping to /snap/zaproxy/4/core.26061)
  #
  # An error report file with more information is saved as:
  # /tmp/hs_err_pid26061.log
  #
  # If you would like to submit a bug report, please visit:
  #   https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
  # The crash happened outside the Java Virtual Machine in native code.
  # See problematic frame for where to report the bug.
  #
  Aborted (core dumped)

  java -version
  openjdk version "11.0.4" 2019-07-16
  OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu219.04)
  OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu219.04, mixed mode, sharing)

  uname -r
  5.0.0-27-generic

  OWASP ZAP (Zed Attack Proxy) is a Java app for finding vulnerabilities
  in web applications:
  https://www.owasp.org/index.php/OWASP_Zed_Attack_Proxy_Project

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1842630/+subscriptions




More information about the foundations-bugs mailing list