Balsa SVN, loop in html rendering with webkit after webkit upgrade

View: New views
7 Messages — Rating Filter:   Alert me  

Balsa SVN, loop in html rendering with webkit after webkit upgrade

by Jean-Luc Coulon (f5ibh)-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

libwebkit has been updated on debian:

libwebkit-1.0-2 1.1.10-2 -> 1.1.12-1
libwebkit-1.0-common 1.1.10-2 -> 1.1.12-1
libwebkit-dev 1.1.10-2 -> 1.1.12-1

Since that, balsa eats all the CPU on html messages.
Bit I've nothing in a strace on the pid.

I've reverted and everything went fine.

Be warned !

I configure balsa with:


--enable-smime \
         --with-compface \
         --with-gpgme \
         --with-gss \
         --with-gtkspell \
         --with-ldap \
         --with-sqlite \
         --with-ssl \
         --with-gtksourceview=2 \
         --enable-extra-mimeicons \
         --with-libnotify \
         --with-rubrica \
         --enable-threads \
         --with-unique \
         --with-webkit

Regards

Jean-Luc

_______________________________________________
balsa-list mailing list
balsa-list@...
http://mail.gnome.org/mailman/listinfo/balsa-list

Re: Balsa SVN, loop in html rendering with webkit after webkit upgrade

by Jean-Luc Coulon (f5ibh)-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

Any idea aboutthis issue?

It seems that webkit is still moving (1.1.13 now), with still the same
problem.

Even balsa display a whole black screen when trying to open an HTML
only message.

Regards

Jean-Luc

Le 29/07/2009 23:08:26, Jean-Luc Coulon (f5ibh) a écrit :

>Hi,
>
>libwebkit has been updated on debian:
>
>libwebkit-1.0-2 1.1.10-2 -> 1.1.12-1
>libwebkit-1.0-common 1.1.10-2 -> 1.1.12-1
>libwebkit-dev 1.1.10-2 -> 1.1.12-1
>
>Since that, balsa eats all the CPU on html messages.
>Bit I've nothing in a strace on the pid.
>
>I've reverted and everything went fine.
>
>Be warned !
>
>I configure balsa with:
>
>
>--enable-smime \
>         --with-compface \
>         --with-gpgme \
>         --with-gss \
>         --with-gtkspell \
>         --with-ldap \
>         --with-sqlite \
>         --with-ssl \
>         --with-gtksourceview=2 \
>         --enable-extra-mimeicons \
>         --with-libnotify \
>         --with-rubrica \
>         --enable-threads \
>         --with-unique \
>         --with-webkit
>
>Regards
>
>Jean-Luc
>
>_______________________________________________
>balsa-list mailing list
>balsa-list@...
>http://mail.gnome.org/mailman/listinfo/balsa-list
>
>




_______________________________________________
balsa-list mailing list
balsa-list@...
http://mail.gnome.org/mailman/listinfo/balsa-list

attachment0 (197 bytes) Download Attachment

Re: Balsa SVN, loop in html rendering with webkit after webkit upgrade

by Peter Bloomfield :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jean-Luc!

On 09/04/2009 10:26:59 AM Fri, Jean-Luc Coulon (f5ibh) wrote:

> Hi
>
> Any idea about this issue?
>
> It seems that webkit is still moving (1.1.13 now), with still the same  
> problem.
>
> Even balsa display a whole black screen when trying to open an HTML only  
> message.
>
> Regards
>
> Jean-Luc
>
> Le 29/07/2009 23:08:26, Jean-Luc Coulon (f5ibh) a écrit :
> >Hi,
> >
> >libwebkit has been updated on debian:
> >
> >libwebkit-1.0-2 1.1.10-2 -> 1.1.12-1

I'm still on webkitgtk-1.1.10-1.fc11, so I've yet to be hit by this one  
:)  I *could* upgrade to 1.1.13-1.fc12 from rawhide, but that would  
require also upgrading a lot of other stuff that I use every day, so I  
think I'll wait until beta or thereabouts (reverting would pretty much  
mean re-installing!).

Have you tried running under gdb?  Interrupt with ctrl-C when it's maxing  
on cpu--the backtrace might give a hint as to what's going on.

Best,

Peter
_______________________________________________
balsa-list mailing list
balsa-list@...
http://mail.gnome.org/mailman/listinfo/balsa-list

Re: Balsa SVN, loop in html rendering with webkit after webkit upgrade

by Jean-Luc Coulon (f5ibh)-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Peter,

Le 04/09/2009 23:41:47, Peter Bloomfield a écrit :
>Hi Jean-Luc!
>

>I'm still on webkitgtk-1.1.10-1.fc11, so I've yet to be hit by this
> one
>
>:)  I *could* upgrade to 1.1.13-1.fc12 from rawhide, but that would  
>require also upgrading a lot of other stuff that I use every day, so I
>
>think I'll wait until beta or thereabouts (reverting would pretty much
>
>mean re-installing!).
>
>Have you tried running under gdb?  Interrupt with ctrl-C when it's
>maxing  
>on cpu--the backtrace might give a hint as to what's going on.
>
Attached, the backtrace

Regards

Jean-Luc

opening Boîte de réception..
[New Thread 0x7fffda3f4910 (LWP 13909)]
[Thread 0x7fffda3f4910 (LWP 13909) exited]
[Thread 0x7fffdbbf7910 (LWP 13906) exited]
[Thread 0x7fffdabf5910 (LWP 13908) exited]
[Thread 0x7fffdb3f6910 (LWP 13907) exited]
[New Thread 0x7fffdb3f6910 (LWP 13912)]
[Thread 0x7fffdb3f6910 (LWP 13912) exited]
[New Thread 0x7fffdb3f6910 (LWP 13913)]
[New Thread 0x7fffdabf5910 (LWP 13914)]
[Thread 0x7fffdb3f6910 (LWP 13913) exited]
[Thread 0x7fffdabf5910 (LWP 13914) exited]
[New Thread 0x7fffdabf5910 (LWP 13921)]
[Thread 0x7fffe08ab910 (LWP 13905) exited]
[Thread 0x7fffdabf5910 (LWP 13921) exited]
[New Thread 0x7fffdabf5910 (LWP 13922)]
[Thread 0x7fffdabf5910 (LWP 13922) exited]
^C
Program received signal SIGINT, Interrupt.
0x00007ffff1062f89 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
(gdb) bt
#0  0x00007ffff1062f89 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#1  0x00007ffff1555210 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#2  0x00007fffef6b948d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#3  0x00007fffef6cf8a5 in ?? () from /usr/lib/libgobject-2.0.so.0
#4  0x00007fffef6d155f in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#5  0x00007fffef6d1a63 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#6  0x00007ffff155eae2 in gtk_widget_size_allocate ()
   from /usr/lib/libgtk-x11-2.0.so.0
#7  0x00007ffff139c280 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x00007fffef6b948d in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#9  0x00007fffef6cfc8a in ?? () from /usr/lib/libgobject-2.0.so.0
#10 0x00007fffef6d155f in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#11 0x00007fffef6d1a63 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#12 0x00007ffff139a32a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00007ffff103dba7 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#14 0x00007fffef21f11a in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#15 0x00007fffef222978 in ?? () from /usr/lib/libglib-2.0.so.0
#16 0x00007fffef222e4d in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#17 0x00007ffff142cac7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x000000000045bfaa in main (argc=<value optimized out>,
    argv=0x7fffffffe4a8) at main.c:1150
(gdb)




_______________________________________________
balsa-list mailing list
balsa-list@...
http://mail.gnome.org/mailman/listinfo/balsa-list

attachment0 (197 bytes) Download Attachment

Re: Balsa SVN, loop in html rendering with webkit after webkit upgrade

by Peter Bloomfield :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 09/05/2009 01:48:45 AM Sat, Jean-Luc Coulon (f5ibh) wrote:

> Hi Peter,
>
> Le 04/09/2009 23:41:47, Peter Bloomfield a écrit :
> >Hi Jean-Luc!
> >
>
>> I'm still on webkitgtk-1.1.10-1.fc11, so I've yet to be hit by this one  
>> :)  I *could* upgrade to 1.1.13-1.fc12 from rawhide, but that would  
>> require also upgrading a lot of other stuff that I use every day, so I  
>> think I'll wait until beta or thereabouts (reverting would pretty much  
>> mean re-installing!).
> >
>> Have you tried running under gdb?  Interrupt with ctrl-C when it's  
>> maxing on cpu--the backtrace might give a hint as to what's going on.
> >
>
> Attached, the backtrace
Hmm...I see gtk_widget_size_allocate in the stack.  In the past, Balsa has  
had problems presenting HTML message parts because they are rendered  
progressively, and allocating the ultimate size requires patience.  
Perhaps the widget is slowly growing?  The attached patch reports the  
requested size each time the request is made--could you see what it  
reports?

Thanks!

Peter

[html-track-patch]

diff --git a/libbalsa/html.c b/libbalsa/html.c
index 81b1acf..6c2b418 100644
--- a/libbalsa/html.c
+++ b/libbalsa/html.c
@@ -105,7 +105,7 @@ lbh_size_request_cb(GtkWidget      * widget,
                     gpointer         data)
 {
     LibBalsaWebKitInfo *info = data;
-
+g_print("%s width %d height %d\n", __func__, (gint) info->hadj->upper, (gint) info->vadj->upper);
     requisition->width  = info->hadj->upper;
     requisition->height = info->vadj->upper;
 }


_______________________________________________
balsa-list mailing list
balsa-list@...
http://mail.gnome.org/mailman/listinfo/balsa-list

Re: Balsa SVN, loop in html rendering with webkit after webkit upgrade

by Jean-Luc Coulon (f5ibh)-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Peter,

>
>Hmm...I see gtk_widget_size_allocate in the stack.  In the past, Balsa
>has  
>had problems presenting HTML message parts because they are rendered  
>progressively, and allocating the ultimate size requires patience.  
>Perhaps the widget is slowly growing?  The attached patch reports the  
>requested size each time the request is made--could you see what it  
>reports?

I've applied the patch and reinstalled new wemkit libs (1.1.13-1)

I've the following in the xtrm when I open an HTML message:

lbh_navigation_requested_cb about:blank

At the same time, I've a popup in the balsa windows (even with the "C"
locale, it is displayed 1/2 in English, and 1/2 in French):


Erreur showing about:blank: L'emplacement indiqué n'est pas pris en
charge

The French part means "The specified location is not supported"

When I click the OK button on the popup, I've the following message
endless in the xterm:

lbh_size_request_cb width 0 height 0
lbh_size_request_cb width 0 height 0
lbh_size_request_cb width 0 height 0
lbh_size_request_cb width 0 height 0
lbh_size_request_cb width 0 height 0
lbh_size_request_cb width 0 height 0
lbh_size_request_cb width 0 height 0
lbh_size_request_cb width 0 height 0
lbh_size_request_cb width 0 height 0
lbh_size_request_cb width 0 height 0
lbh_size_request_cb width 0 height 0
lbh_size_request_cb width 0 height 0


Regards

Jean-Luc


_______________________________________________
balsa-list mailing list
balsa-list@...
http://mail.gnome.org/mailman/listinfo/balsa-list

attachment0 (197 bytes) Download Attachment

Re: Balsa SVN, loop in html rendering with webkit after webkit upgrade

by Peter Bloomfield :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 07/29/2009 05:08:26 PM Wed, Jean-Luc Coulon (f5ibh) wrote:
> Hi,
>
> libwebkit has been updated on debian:
>
> libwebkit-1.0-2 1.1.10-2 -> 1.1.12-1
> libwebkit-1.0-common 1.1.10-2 -> 1.1.12-1
> libwebkit-dev 1.1.10-2 -> 1.1.12-1
>
> Since that, balsa eats all the CPU on html messages.

Git master has been patched to not max out the CPU.  In a few tests, it  
still displays correctly with WebKit 1.1.10.  With 1.1.12 and later, it no  
longer hangs with the CPU pegged, but neither does it display the content  
:(

There's a reason WebKit support is still labeled "experimental"!

Insights from anyone with experience with WebKit are invited.

Peter


_______________________________________________
balsa-list mailing list
balsa-list@...
http://mail.gnome.org/mailman/listinfo/balsa-list

attachment0 (197 bytes) Download Attachment