thinblog / pywebkitgtk

Automatically exported from code.google.com/p/pywebkitgtk
Other
0 stars 0 forks source link

segfault when calling WebBackForwardList.get_back_list_with_limit() #48

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. create a webview
2. get some history in it
3. call get_back_list_with_limit 

What is the expected output?
a list is returned
What do you see instead?
segfault

What version of the product are you using?
1.1.6 - 1.1.7
On what operating system?
Fedora 11-12

Please provide any additional information below.
This also happens with its counterpart, get_forward_list_with_limit()
It happens regardless of the number or type of arguments given to that method.
Also, this never happens on Ubuntu.

I've attached a gdb traceback and a valgrind log.

Original issue reported on code.google.com by Lucian.B...@gmail.com on 21 Jul 2010 at 3:30

Attachments:

GoogleCodeExporter commented 8 years ago
Here's a patch, there was a missing kwargs.

The patch doesn't fix the problem, though.

Original comment by Lucian.B...@gmail.com on 21 Jul 2010 at 3:54

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the patch. Committed in http://goo.gl/8oXb.

Original comment by jmalo...@gmail.com on 7 Aug 2010 at 10:30

GoogleCodeExporter commented 8 years ago
As said in the previous comment, this patch doesn't fix the issue, it just 
fixes a typo.

I don't know how pywebkitgtk is generated, but this may be related to this 
webkitgtk bug https://bugs.webkit.org/show_bug.cgi?id=43054

Original comment by Lucian.B...@gmail.com on 8 Aug 2010 at 7:03

GoogleCodeExporter commented 8 years ago
Thanks Lucian. Apologies I misread your comment. I'll keep track of the 
WebKitGtk bug.

Original comment by jmalo...@gmail.com on 8 Aug 2010 at 8:12

GoogleCodeExporter commented 8 years ago
Lucian, I just tried this with the latest WebKitGtk in SVN and PyWebKitGtk and 
it seems to work fine here.

Do you have the capacity to test it with the latest WebKitGtk, perhaps at least 
the stable version webkitgtk.org?

Thanks.
Jan

Original comment by jmalo...@gmail.com on 23 Oct 2010 at 12:28

GoogleCodeExporter commented 8 years ago
After the webkitgtk bug was fixed, webkitgtk works fine via 
gobject-introspection. So should pywebkitgtk.

But I'll build webkitgtk and pywebkitgtk and test it as soon as I get some time.

Original comment by Lucian.B...@gmail.com on 23 Oct 2010 at 6:19