h1aji / chmsee

CHM viewer
GNU General Public License v2.0
1 stars 1 forks source link

[patch] always crash under xulrunner 1.9.2 #72

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
chmsee always crashed with xulrunner 1.9.2 (for example: ubuntu 10.04)

following patch can resolve this problem

--- chmsee-1.1.0.orig/src/components/gecko-utils.cpp
+++ chmsee-1.1.0/src/components/gecko-utils.cpp
@@ -191,8 +191,8 @@ gecko_utils_init(void)
         nsresult rv;

         static const GREVersionRange greVersion = {
-                "1.9a", PR_TRUE,
-                "2", PR_TRUE
+                "1.9.1", PR_TRUE,
+                "1.9.3", PR_FALSE
         };

         char xpcomLocation[PATH_MAX];

Original issue reported on code.google.com by lidaob...@gmail.com on 12 Apr 2010 at 11:58

GoogleCodeExporter commented 8 years ago
I tested it with xulrunner 1.9.2 on ArchLinux and NetBSD, with xulrunner 1.9.1 
on
Debian, and someone tested on Fedora, all worked well.

You can run the git trunk/gtkmoz test, if it is going to fail, only ubuntu need 
this
patch.

Original comment by jungl...@gmail.com on 12 Apr 2010 at 3:37

GoogleCodeExporter commented 8 years ago
This patch unfortunately doesn't work for me, also running Ubuntu 10.04 (Lucid) 
with
xulrunner 1.9.2...

Original comment by prh...@gmail.com on 24 May 2010 at 11:51