Version: unspecified (using KDE 4.5.4) OS: Linux When using oxygen-gtk as Gtk+ style, the Java/SWT application Hibiscus (based on Jameica) crashes on startup. Other Java/SWT based applications might probably crash, too. Reproducible: Always Steps to Reproduce: 1. Install oxygen-gtk-1.0.0 2. Change your gtk style to oxygen-gtk 3. Download the Jameica framework (http://www.willuhn.de/products/jameica/download.php) + extract the ZIP file 4. Download the Hibiscus plugin (http://www.willuhn.de/products/hibiscus/download.php) + extract it to the plugins subdir 5. Start the provided 'jameica.sh' script Actual Results: The splash screen shows up for a split second, then an error message appears on the terminal used for launching the application: [Mon Dec 27 02:36:45 CET 2010][INFO][de.willuhn.jameica.system.StartupParams.<init>] starting in STANDALONE mode [Mon Dec 27 02:36:45 CET 2010][INFO][de.willuhn.jameica.system.StartupParams.<init>] workdir: null [Mon Dec 27 02:36:45 CET 2010][INFO][de.willuhn.jameica.system.Application.init] starting jameica... [Mon Dec 27 02:36:45 CET 2010][INFO][de.willuhn.jameica.system.Platform.getWorkdir] using workdir: /home/elias/.jameica [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.util.Session.<init>] creating new session. default timeout: 1800000 millis [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.util.Session$Worker.<init>] Starting Session Worker Thread [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.system.Config.getLocale] configured language: de [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.system.Config.getLocale] configured country: DE [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.system.Config.getLocale] checking resource bundle for language [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.system.Config.getLocale] active language: Deutsch (Deutschland) [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.util.I18N.<init>] loading resource bundle lang/system_messages for locale de_DE [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.gui.SplashScreen$3.run] starting jameica ... [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] init service de.willuhn.jameica.services.SecurityManagerService [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SecurityManagerService.init] applying jameica security manager [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.security.JameicaSecurityManager.<init>] write permissions disabled for /opt/jameica/ [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] used time to init de.willuhn.jameica.services.SecurityManagerService: 11 millis [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] init service de.willuhn.jameica.services.LockService [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.LockService.init] creating lockfile /home/elias/.jameica/jameica.lock [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] used time to init de.willuhn.jameica.services.LockService: 1 millis [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] init service de.willuhn.jameica.services.LogService [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.LogService.init] using log level INFO [100] [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.LogService.init] log file /home/elias/.jameica/jameica.log [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] used time to init de.willuhn.jameica.services.LogService: 13 millis [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] init service de.willuhn.jameica.services.SysinfoService [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SysinfoService.init] starting Jameica Version 1.10.0 [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SysinfoService.init] Built-Date : 20101112 [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SysinfoService.init] Buildnumber: 403 [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SysinfoService.init] command line parameters [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SysinfoService.init] os.arch : amd64 [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SysinfoService.init] os.name : Linux [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SysinfoService.init] os.version : 2.6.36-gentoo [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SysinfoService.init] java.version : 1.6.0_20 [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SysinfoService.init] java.vendor : Sun Microsystems Inc. [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SysinfoService.init] java.runtime.name: OpenJDK Runtime Environment [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SysinfoService.init] java.vm.name : OpenJDK 64-Bit Server VM [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SysinfoService.init] user.name : elias [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SysinfoService.init] user.home : /home/elias [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.services.SysinfoService.init] file.encoding : UTF-8 [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] used time to init de.willuhn.jameica.services.SysinfoService: 32 millis [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] init service de.willuhn.jameica.services.BackupService [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] init service de.willuhn.jameica.services.MessagingService [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.messaging.NamedQueue.<init>] creating message queue [default] [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.messaging.NamedQueue.<init>] starting messaging worker thread [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] used time to init de.willuhn.jameica.services.MessagingService: 15 millis [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.messaging.NamedQueue.<init>] creating message queue jameica.error [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] used time to init de.willuhn.jameica.services.BackupService: 20 millis [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] init service de.willuhn.jameica.services.ProxyService [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] used time to init de.willuhn.jameica.services.ProxyService: 4 millis [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] init service de.willuhn.jameica.services.AuthenticateService [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] used time to init de.willuhn.jameica.services.AuthenticateService: 0 millis [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.boot.BootLoader.resolve] init service de.willuhn.jameica.services.SSLService [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.security.SSLFactory.<clinit>] applying security provider BouncyCastle Security Provider v1.44 [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.security.SSLFactory.init] init ssl factory [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.gui.SplashScreen$3.run] init ssl factory ... [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.security.SSLFactory.getKeyStore] reading keystore from file /home/elias/.jameica/cfg/jameica.keystore [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.security.SSLFactory.getKeyStore] init keystore [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.security.SSLFactory.getKeyStore] reading keys [Mon Dec 27 02:36:46 CET 2010][INFO][de.willuhn.jameica.gui.util.Font.<clinit>] system font: 1|Droid Sans|9.0|0|GTK|1| The program 'SWT' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 1948 error_code 8 request_code 148 minor_code 4) (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.) Expected Results: The application starts like any other application without a crash. Gentoo Linux Kernel 2.6.36 Gtk+ 2.20.1 Qt 4.6.3 KDE SC 4.5.4 Oxygen-Gtk 1.0.0 Java/Icedtea 6.1.9.2 SWT 3.5.2 and 3.6.1
Could you recompile oxygen-gtk with OXYGEN_DEBUG set to 1 in CMakeLists.txt, and start the program like this: program_name 2>&1|grep ARGB where program name is the name you type to start it, and put the output here. P.S. Please attach long logs, don't post them into the message box.
(In reply to comment #1) > Could you recompile oxygen-gtk with OXYGEN_DEBUG set to 1 in CMakeLists.txt, > and start the program like this: The output is: Oxygen::init_theme - program: SWT ARGB visual is used
Try blacklisting SWT in argb-apps.conf.
please confirm that adding SWT to the argb-apps.conf file (see the README for details) fixes it (it should), and close the bug if yes.
commit f40ef0a6426c4a9e0cf5b552bb09886485c1c110 branch 1.0 Author: Hugo Pereira Da Costa <hugo@oxygen-icons.org> Date: Thu Dec 30 10:35:08 2010 +0100 added SWT. CCBUG: 261340 diff --git a/rc/argb-apps.conf b/rc/argb-apps.conf index 0707f8f..1dfde66 100644 --- a/rc/argb-apps.conf +++ b/rc/argb-apps.conf @@ -59,4 +59,4 @@ disable:npviewer.bin:miro.real:gflashplayer:swfdec-player:xaralx:notecase:codebl disable:chrome:<unknown>:eclipse:Eclipse:.:xmind:audacious2 disable:nautilus:pcmanfm:emacs:AptanaStudio:dia:pgadmin3:kino:winff:mmc:acroread:filezilla disable:stardict:icecat:openshot:sylpheed:jamin:vmware:vmplayer:eboard -disable:envy24control:snes9x-gtk:guayadeque:komodo-bin +disable:envy24control:snes9x-gtk:guayadeque:komodo-bin:SWT
SWT argb to list. Assuming the bug is fixed. Feel free to re-open if it is not.
Sorry for not responding to this bug, I was on holidays for 4 days. Blacklisting SWT fixes this crash - thanks a lot!