Bug 439667
Summary: | gnome-python2-gtkmozembed python module crashes using example | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Daniel Walsh <dwalsh> | ||||
Component: | gnome-python2-extras | Assignee: | Colin Walters <walters> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 13 | CC: | bestis+rh, caillon, dsm42, hugoleonardomelo, shamardin | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-06-27 13:57:38 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 481428 | ||||||
Attachments: |
|
Description
Daniel Walsh
2008-03-30 06:49:20 UTC
Created attachment 299613 [details]
strace output
Could you please attach t.py so I can reproduce this? It is in your example documentation. import gtk import gtkmozembed class TinyGecko: def __init__(self): self.moz = gtkmozembed.MozEmbed() win = gtk.Window() win.add(self.moz) win.show_all() # self.moz.load_url('http://www.pygtk.org') data = '<html><head><title>Hello</title></head><body>pygtk dev</body></html>' self.moz.render_data(data, long(len(data)), 'file:///', 'text/html') if __name__ == '__main__': TinyGecko() gtk.main() This appears to be a Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=325884 Simplified reproducer: #!/usr/bin/env python import gtk import gtkmozembed window = gtk.Window() module = gtkmozembed.MozEmbed() window.add(module) window.show_all() Setting these environment variables seems to fix it: export LD_LIBRARY_PATH=/usr/lib/firefox-2.0.0.5 export MOZILLA_FIVE_HOME=/usr/lib/firefox-2.0.0.5 ^^^^^^^^^^^^^^^ (whatever you have installed) Chris, any thoughts about this? You can set it I guess based on one of the conf files in /etc/gre.d Two notes about this bug: - the bug is reproducible on i386. - the exported variables workaround does not work anymore with firefox 3 Cheers, piem Boo. I guess we're stuck waiting on upstream to fix this, unless someone comes up with a workaround for XULRunner / Firefox 3. Leaving this open so I don't lose track of it. Those enviromental variables works as workaround with firefox-3.0-1.fc9.i386, gnome-python2-gtkmozembed-2.19.1-16.fc9.i386 and xulrunner-1.9-1.fc9.i386 The trick is to use path where the modules really lies nowadays. export LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9 export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9 Ok, too fast to say it works with those. It worked and works sometimes, but sometimes it fails.. But without those it never worked. The program 'screenshot-tng.py' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 112 error_code 8 request_code 129 minor_code 3) (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.) This is still broken on Fedora 10; I had to set the environment variables as suggested in comment #10. xulrunner-1.9.0.6-1.fc10.i386 gnome-python2-gtkmozembed-2.19.1-26.fc10.i386 firefox-3.0.6-1.fc10.i386 My previous comment should have been referring to comment #8. This message is a reminder that Fedora 9 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 9. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '9'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 9's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 9 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Still broken: gnome-python2-gtkmozembed-2.25.3-14.fc12.i686 Fix from comment #8 still works. Hi, I can reproduce this error on a F13 x86_64. I used /usr/lib64/xulrunner-1.9.2/ in the variables MOZILLA_FIVE_HOME and LD_LIBRARY_PATH and it stopped giving segmentation fault. uname -a Linux panini.ibm.com 2.6.33.3-85.fc13.x86_64 #1 SMP Thu May 6 18:09:49 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Please, check comment 14. I was able to reproduce this error on Fedora 13. Thanks! This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Still an issue on Fedora 14, gnome-python2-gtkmozembed-2.25.3-30.fc14.1.x86_64 Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |