Hi, I have experienced several segfaults with dillo using the new text selection feature. I include two instances from gdb below. This happens when I select text while some page is loading (typically when I get impatient while dl'ing a site). I hope this is informative enough. Let me know if I can test it more. Cheers, --Phil ======================================================== gdb /usr/local/bin/dillo GNU gdb 5.3-22mdk (Mandrake Linux) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-mandrake-linux-gnu"... (gdb) run Starting program: /usr/local/bin/dillo [New Thread 16384 (LWP 5236)] Setting locale to C... dillorc:39: unexpected string constant "show_alt", expected symbol dillo_dns_init: Here we go! Enabling cookies as from cookiesrc... Nav_open_url: Url=>about:splash< IO_write: Changing io->Buf (4096) IO_write: EAGAIN IO_write: Changing io->Buf (4096) IO_write: EAGAIN Nav_open_url: Url=>http://slashdot.org< [New Thread 32769 (LWP 5237)] [New Thread 16386 (LWP 5238)] Dns_server [0]: slashdot.org is 0x80ed618 Connecting to 66.35.250.150 [New Thread 32771 (LWP 5239)] [New Thread 49156 (LWP 5240)] Dns_server [0]: images2.slashdot.org is 0x813db60 Dns_server [1]: images.slashdot.org is 0x80ed278 HTML warning: URL has 2 illegal characters (0x00-0x1F, 0x7F or space) HTML warning: URL has 2 illegal characters (0x00-0x1F, 0x7F or space) HTML warning: URL has 7 illegal characters (0x00-0x1F, 0x7F or space) HTML warning: URL has 1 illegal character (0x00-0x1F, 0x7F or space) HTML warning: URL has 1 illegal character (0x00-0x1F, 0x7F or space) HTML warning: URL has 1 illegal character (0x00-0x1F, 0x7F or space) HTML warning: URL has 1 illegal character (0x00-0x1F, 0x7F or space) HTML warning: URL has 1 illegal character (0x00-0x1F, 0x7F or space) Nav_open_url: Url=>http://news.google.com< [New Thread 65541 (LWP 5241)] Dns_server [0]: news.google.com is 0x813db20 Connecting to 216.239.51.104 [New Thread 81926 (LWP 5244)] Dns_server [0]: www.google.com is 0x813db80 Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 5236)] 0x08066286 in a_Dw_widget_iterator (widget=0x67616d69, mask=255, at_end=0) at dw_widget.c:880 880 DwWidgetClass *klass = DW_WIDGET_CLASS (GTK_OBJECT(widget)->klass); ================================================= gdb /usr/local/bin/dillo GNU gdb 5.3-22mdk (Mandrake Linux) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-mandrake-linux-gnu"... (gdb) run Starting program: /usr/local/bin/dillo [New Thread 16384 (LWP 5326)] Setting locale to C... dillorc:39: unexpected string constant "show_alt", expected symbol dillo_dns_init: Here we go! Enabling cookies as from cookiesrc... Nav_open_url: Url=>about:splash< IO_write: Changing io->Buf (4096) IO_write: EAGAIN IO_write: Changing io->Buf (4096) IO_write: EAGAIN Nav_open_url: Url=>http://lwn.net< [New Thread 32769 (LWP 5327)] [New Thread 16386 (LWP 5328)] Dns_server [0]: lwn.net is 0x80ed630 Connecting to 66.216.68.48 Nav_open_url: Url=>http://www.advogato.org/< [New Thread 32771 (LWP 5329)] Dns_server [0]: www.advogato.org is 0x80ed3a8 Nav_open_url: Url=>http://www.advogato.org/< Nav_open_url: Url=>http://www.cluetrain.com/< [New Thread 49156 (LWP 5332)] Dns_server [0]: www.cluetrain.com is 0x8188fd0 Connecting to 199.45.151.133 Nav_open_url: Url=>http://news.google.com< [New Thread 65541 (LWP 5333)] Dns_server [0]: news.google.com is 0x8189038 Connecting to 216.239.51.104 [New Thread 81926 (LWP 5334)] Dns_server [0]: www.google.com is 0x80ed348 Nav_open_url: Url=>http://www.google.com< Connecting to 216.239.33.99 Nav_open_url: Url=>http://www.google.com/search?hl=en&ie=ISO-8859-1&q=test< Connecting to 216.239.33.99 Nav_open_url: Url=>http://freshmeat.net< [New Thread 98311 (LWP 5335)] Dns_server [0]: freshmeat.net is 0x81891a8 Connecting to 66.35.250.165 [New Thread 114696 (LWP 5336)] [New Thread 131081 (LWP 5337)] [New Thread 147466 (LWP 5338)] Dns_server [0]: images.freshmeat.net is 0x81890c0 ** CRITICAL **: file dw_page.c: line 1244 (Dw_page_find_line_of_word): assertion `word_index < page->num_words' failed. Dns_server [1]: fm-images.osdn.com is 0x81891d8 Dns_server [2]: fmads.osdn.com is 0x80ed650 Nav_open_url: Url=>http://themes.freshmeat.net< [New Thread 163851 (LWP 5339)] Dns_server [0]: themes.freshmeat.net is 0x81890f8 Connecting to 66.35.250.165 [New Thread 180236 (LWP 5340)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 5326)] 0x0806628c in a_Dw_widget_iterator (widget=0x8122910, mask=255, at_end=0) at dw_widget.c:880 880 DwWidgetClass *klass = DW_WIDGET_CLASS (GTK_OBJECT(widget)->klass);
On Tue, Mar 18, Phil Warner wrote:
I have experienced several segfaults with dillo using the new text selection feature. I include two instances from gdb below.
This happens when I select text while some page is loading (typically when I get impatient while dl'ing a site).
I hope this is informative enough. Let me know if I can test it more.
A backtrace is always useful, and perhaps the values of some variables in the context of the crash. The best is an exact description how to reproduce the bug with a probability high enough for not getting impatient ;-), but this is often quite hard. Anyway, I have just fixed a bug Andreas reported me (thanks for the exact description!), from what I see (expecially in the second example), this looks quite similar to your problems. Please read the newest CVS and test again. Sebastian
On Tue, 18 Mar 2003 21:50:01 +0100 Sebastian Geerken <s.geerken@ping.de> wrote:
On Tue, Mar 18, Phil Warner wrote:
I have experienced several segfaults with dillo using the new text selection feature. I include two instances from gdb below.
This happens when I select text while some page is loading (typically when I get impatient while dl'ing a site).
I hope this is informative enough. Let me know if I can test it more.
A backtrace is always useful, and perhaps the values of some variables in the context of the crash. The best is an exact description how to reproduce the bug with a probability high enough for not getting impatient ;-), but this is often quite hard.
Anyway, I have just fixed a bug Andreas reported me (thanks for the exact description!), from what I see (expecially in the second example), this looks quite similar to your problems. Please read the newest CVS and test again.
Sebastian
Hi Sebastian, On initial inspection, the bug appears to be fixed. Thanks! --Phil ------------------------------ Mother is the invention of necessity.
participants (2)
-
Phil Warner
-
Sebastian Geerken