GNOME Bugzilla – Bug 86657
crashing reading HTML mail
Last modified: 2004-12-22 21:47:04 UTC
Package: balsa Severity: major Version: 2.0.1 Synopsis: crashing reading HTML mail Bugzilla-Product: balsa Bugzilla-Component: general BugBuddy-GnomeVersion: 2.0 (2.0.1) Description: Description of Problem: Some HTML mail messages I get crash balsa -- whether it's just freezing the app or (as this case) starting Bug Buddy. Amazon.com's messages freeze up Balsa half the time (always the same messages). This time Netgrocer's message crashed it. Debugging Information: Backtrace was generated from '/usr/bin/balsa' 0x40ffa219 in wait4 () from /lib/libc.so.6
+ Trace 24396
------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-06-27 17:40 ------- The original reporter (thehaas@binary.net) of this bug does not have an account here. Reassigning to the exporter, unknown@bugzilla.gnome.org. Reassigning to the default owner of the component, pawsa@theochem.kth.se.
Excellent :-). Can you please attach to the report such a html part (I can hel you if you need help extracting it). Please report also version of libgtkhtml: # pkg-config --modversion libgtkhtml-2.0 Reassigning to libgtkhtml.
Possibly a recurrence of bug 83085?
unfortutately, I erased the message causing this problem (since it prevents me from reading the rest of my mail in Balsa). When I get another one, I will extract it and attach it. I am running libgtkhtml-2.0.0: 103 gideon:~ > pkg-config --modversion libgtkhtml-2.0 2.0.0
Created attachment 9635 [details] Amazon HTML mail that crashes gtkhtml
I tried opening the html file (attached) with gtkhtml and it hangs the window. But I don't get a crash. Do you also see the hang (freeze as you have mentioned) or it crashes for you everytime.
The hang can be reproduced with any html file which -has no <body> tag and -has <select> tag inside a <table> tag and -the table width is more than the width of the window. Only when all the above condition is true (as also in the case of the attached html file) , gtkhtml is unable to load the page and it hangs. Attaching a sample html file. Open it in a window of width less than 600 (< 600).
Created attachment 10149 [details] Sample html file
Hmm .. Satyajit, could this be related to: http://bugzilla.gnome.org/show_bug.cgi?id=84895 and if so, did the patch solve this one too?.
No mike ..this is not related to 84895. But again this is also some intialization/value not getting set properly, kind of issue. I have a patch , shall put it after some testing.
Satyajit, ok, great! btw, does balsa use gtkhtml2?
well i don't have balsa installed :)(and it's not ported to gnome2.0 I think ), I tried the sample html in gtkhtml2 and got the hang problem and I hope this should solve the balsa problem also (or am I trying to fix some other issue ???? )
Balsa links against libgtkhtml-2.0 (port to gnome2 is in BALSA_2 branch).
satyajit - is this fixed for you now?
Satyajit: did this patch get applied?
Karl, Luis Really sorry for coming so late on this. The patch is not applied as I was not sure of the correctness of the patch beside that it fixes this Issue. After review, the patch was found not the correct one.And currently I do not find anyone to send the patch for review. This bug was somehow out of my mind. sorry for that again. Shall look into this again soon.
*** Bug 96396 has been marked as a duplicate of this bug. ***
Created attachment 13200 [details] [review] Proposed patch
The attached patch seems to fix the symptomsi.e. the looping, reported in the bug. I would welcome comments on the patch.
I have committed this patch.