Sometimes dillo just segfaults on me, and I'm finally able to reproduce it. The log from the console is: jkoenig@note:~$ dillo dillo_dns_init: Here we go! Enabling cookies as from cookiesrc... Nav_open_url: Url=>about:splash< Nav_open_url: Url=>http://kernel.org< Dns_server [0]: kernel.org is 0x80ef838 Connecting to 204.152.189.116 HTML warning: line 43, unexpected closing tag: </CENTER>. -- expected </a> HTML warning: line 157, <td> or <th> outside <tr> HTML warning: line 406, unexpected closing tag: </BODY>. -- expected </a> Nav_open_url: Url=>http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1/2 .6.1-mm2/announce.txt< Connecting to 204.152.189.116 ** CRITICAL **: file dw_style.c: line 385 (Dw_style_font_new_internal): assertion `font_attrs->name != NULL' failed. ** ERROR **: Could not find any font. aborting... Aborted I went to kernel.org and tried to view the changelog for 2.6.1-mm2 -- -johann koenig Now Playing: Metallica - ...And Justice for All : ...And Justice For All Today is Boomtime, the 12nd day of Chaos in the YOLD 3170 My public pgp key: http://mental-graffiti.com/pgp/johannkoenig.pgp
On Mon, 12 Jan 2004, Johann Koenig wrote:
Sometimes dillo just segfaults on me, and I'm finally able to reproduce it. The log from the console is:
jkoenig@note:~$ dillo dillo_dns_init: Here we go! Enabling cookies as from cookiesrc... Nav_open_url: Url=>about:splash< Nav_open_url: Url=>http://kernel.org< Dns_server [0]: kernel.org is 0x80ef838 Connecting to 204.152.189.116 HTML warning: line 43, unexpected closing tag: </CENTER>. -- expected </a> HTML warning: line 157, <td> or <th> outside <tr> HTML warning: line 406, unexpected closing tag: </BODY>. -- expected </a> Nav_open_url: Url=>http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1/2 .6.1-mm2/announce.txt< Connecting to 204.152.189.116
** CRITICAL **: file dw_style.c: line 385 (Dw_style_font_new_internal): assertion `font_attrs->name != NULL' failed.
** ERROR **: Could not find any font. aborting... Aborted
I went to kernel.org and tried to view the changelog for 2.6.1-mm2
Unfortunately I can't reproduce it here... Does anyone experience the same problem? If you're a developer, please send us the backtrace output from GDB. Quite strange because if it can render the splash screen, it should not get out of fonts. Cheers Jorge.-
On Wednesday January 14 at 10:02pm Jorge Arellano Cid <jcid@dillo.org> wrote:
On Mon, 12 Jan 2004, Johann Koenig wrote:
Sometimes dillo just segfaults on me, and I'm finally able to reproduce it. The log from the console is:
jkoenig@note:~$ dillo dillo_dns_init: Here we go! Enabling cookies as from cookiesrc... Nav_open_url: Url=>about:splash< Nav_open_url: Url=>http://kernel.org< Dns_server [0]: kernel.org is 0x80ef838 Connecting to 204.152.189.116 HTML warning: line 43, unexpected closing tag: </CENTER>. -- expected</a> HTML warning: line 157, <td> or <th> outside <tr> HTML warning: line 406, unexpected closing tag: </BODY>. -- expected </a> Nav_open_url: Url=>http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6 .1/2.6.1-mm2/announce.txt< Connecting to 204.152.189.116
** CRITICAL **: file dw_style.c: line 385 (Dw_style_font_new_internal): assertion `font_attrs->name != NULL' failed.
** ERROR **: Could not find any font. aborting... Aborted
I went to kernel.org and tried to view the changelog for 2.6.1-mm2
Unfortunately I can't reproduce it here...
Does anyone experience the same problem?
If you're a developer, please send us the backtrace output from GDB. Quite strange because if it can render the splash screen, it should not get out of fonts.
Not really a developer, but I have done a little C work. Heres a run of gdb. What do I type next to get the information you need? jkoenig@note:~$ gdb dillo GNU gdb 6.0-debian Copyright 2003 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 "i386-linux"... (gdb) run Starting program: /usr/local/bin/dillo [New Thread 16384 (LWP 4267)] dillo_dns_init: Here we go! Enabling cookies as from cookiesrc... Nav_open_url: Url=>about:splash< Nav_open_url: Url=>http://kernel.org< [New Thread 32769 (LWP 4269)] [New Thread 16386 (LWP 4270)] Dns_server [0]: kernel.org is 0x80ef978 Connecting to 204.152.189.116 HTML warning: line 43, unexpected closing tag: </CENTER>. -- expected </a> HTML warning: line 157, <td> or <th> outside <tr> HTML warning: line 406, unexpected closing tag: </BODY>. -- expected </a> Nav_open_url: Url=>http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1/2 .6.1-mm3/announce.txt< Connecting to 204.152.189.116 ** CRITICAL **: file dw_style.c: line 385 (Dw_style_font_new_internal): assertion `font_attrs->name != NULL' failed. ** ERROR **: Could not find any font. aborting... Program received signal SIGABRT, Aborted. [Switching to Thread 16384 (LWP 4267)] 0x4036b561 in kill () from /lib/libc.so.6 (gdb) -- -johann koenig Now Playing: B.J. Thomas - Raindrops Keep Falling On My H : Forrest Gump (Disc 2) Today is Prickle-Prickle, the 14th day of Chaos in the YOLD 3170 My public pgp key: http://mental-graffiti.com/pgp/johannkoenig.pgp
On Wednesday January 14 at 06:54pm Eric GAUDET <eric@rti-zone.org> wrote:
-- En reponse de "Re: [Dillo-dev] font segfault" de Johann Koenig, le 15-Jan-2004 : ...
Not really a developer, but I have done a little C work. Heres a run of gdb. What do I type next to get the information you need?
...
"bt" is the most useful command in gdb for segfaults.
Thanks for the tip, heres the rest of the output: (gdb) bt #0 0x4036b561 in kill () from /lib/libc.so.6 #1 0x40030741 in pthread_kill () from /lib/libpthread.so.0 #2 0x40030a4b in raise () from /lib/libpthread.so.0 #3 0x4036b314 in raise () from /lib/libc.so.6 #4 0x4036c828 in abort () from /lib/libc.so.6 #5 0x4023059a in g_logv () from /usr/lib/libglib-1.2.so.0 #6 0x402305bf in g_log () from /usr/lib/libglib-1.2.so.0 #7 0x0806529a in a_Dw_style_font_new (font_attrs=0x808edb8) at dw_style.c:420#8 0x0808383c in Plain_new (bw=0x808edb8) at plain.c:94 #9 0x080839b4 in a_Plain_text (type=0x8120808 "text/plain", P=0x808edb8, Call=0x40036cf4, Data=0x40036cf4) at plain.c:117 #10 0x08089447 in a_Mime_set_viewer (content_type=0x8120808 "text/plain", Ptr=0x811dad8, Call=0x8119ef0, Data=0x8119ef4) at mime.c:155#11 0x0806de79 in a_Web_dispatch_by_type (Type=0x8120808 "text/plain", Web=0x811dad8, Call=0x8119ef0, Data=0x8119ef4) at web.c:56#12 0x0805630b in Cache_process_queue (entry=0x811a740) at cache.c:815#13 0x080545e3 in a_Chain_fcb (Op=134802872, Info=0x40036cf4, Data1=0x808edb8, Data2=0x808edb8) at chain.c:89 #14 0x0808d40f in IO_read (io=0x80f0d68) at IO.c:442 #15 0x0808d60c in IO_callback (src=0x8119958, cond=G_IO_IN, data=0x12) at IO.c:532#16 0x4022ca56 in g_io_add_watch () from /usr/lib/libglib-1.2.so.0#17 0x4022e03d in g_get_current_time () from /usr/lib/libglib-1.2.so.0#18 0x4022e4f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0#19 0x4022e724 in g_main_run () from /usr/lib/libglib-1.2.so.0#20 0x40155c3f in gtk_main () from /usr/lib/libgtk-1.2.so.0#21 0x0806e972 in main (argc=1, argv=0xbffffa84) at dillo.c:322(gdb) Anything else I can do for you? -- -johann koenig Now Playing: B.J. Thomas - Raindrops Keep Falling On My H : Forrest Gump (Disc 2) Today is Prickle-Prickle, the 14th day of Chaos in the YOLD 3170 My public pgp key: http://mental-graffiti.com/pgp/johannkoenig.pgp
It seems you don't have a font for the text/plain mime type. I believe it's the fixed-width font. Try changing in your dillorc the value of fw_fontname (default is courier). If it doesn't work, try vw_fontname also. What's your platform again? Eric -- En reponse de "Re: [Dillo-dev] font segfault" de Johann Koenig, le 15-Jan-2004 :
On Wednesday January 14 at 06:54pm Eric GAUDET <eric@rti-zone.org> wrote:
-- En reponse de "Re: [Dillo-dev] font segfault" de Johann Koenig, le 15-Jan-2004 : ...
Not really a developer, but I have done a little C work. Heres a run of gdb. What do I type next to get the information you need?
...
"bt" is the most useful command in gdb for segfaults.
Thanks for the tip, heres the rest of the output:
(gdb) bt #0 0x4036b561 in kill () from /lib/libc.so.6 #1 0x40030741 in pthread_kill () from /lib/libpthread.so.0 #2 0x40030a4b in raise () from /lib/libpthread.so.0 #3 0x4036b314 in raise () from /lib/libc.so.6 #4 0x4036c828 in abort () from /lib/libc.so.6 #5 0x4023059a in g_logv () from /usr/lib/libglib-1.2.so.0 #6 0x402305bf in g_log () from /usr/lib/libglib-1.2.so.0 #7 0x0806529a in a_Dw_style_font_new (font_attrs=0x808edb8) at dw_style.c:420#8 0x0808383c in Plain_new (bw=0x808edb8) at plain.c:94 #9 0x080839b4 in a_Plain_text (type=0x8120808 "text/plain", P=0x808edb8, Call=0x40036cf4, Data=0x40036cf4) at plain.c:117 #10 0x08089447 in a_Mime_set_viewer (content_type=0x8120808 "text/plain", Ptr=0x811dad8, Call=0x8119ef0, Data=0x8119ef4) at mime.c:155#11 0x0806de79 in a_Web_dispatch_by_type (Type=0x8120808 "text/plain", Web=0x811dad8, Call=0x8119ef0, Data=0x8119ef4) at web.c:56#12 0x0805630b in Cache_process_queue (entry=0x811a740) at cache.c:815#13 0x080545e3 in a_Chain_fcb (Op=134802872, Info=0x40036cf4, Data1=0x808edb8, Data2=0x808edb8) at chain.c:89 #14 0x0808d40f in IO_read (io=0x80f0d68) at IO.c:442 #15 0x0808d60c in IO_callback (src=0x8119958, cond=G_IO_IN, data=0x12) at IO.c:532#16 0x4022ca56 in g_io_add_watch () from /usr/lib/libglib-1.2.so.0#17 0x4022e03d in g_get_current_time () from /usr/lib/libglib-1.2.so.0#18 0x4022e4f4 in g_get_current_time () from /usr/lib/libglib-1.2.so.0#19 0x4022e724 in g_main_run () from /usr/lib/libglib-1.2.so.0#20 0x40155c3f in gtk_main () from /usr/lib/libgtk-1.2.so.0#21 0x0806e972 in main (argc=1, argv=0xbffffa84) at dillo.c:322(gdb)
Anything else I can do for you? -- -johann koenig Now Playing: B.J. Thomas - Raindrops Keep Falling On My H : Forrest Gump (Disc 2) Today is Prickle-Prickle, the 14th day of Chaos in the YOLD 3170 My public pgp key: http://mental-graffiti.com/pgp/johannkoenig.pgp
------------------------------------------------------------------------ Eric GAUDET <eric@rti-zone.org> Le 14-Jan-2004 a 19:21:47 "Parler pour ne rien dire et ne rien dire pour parler sont les deux principes majeurs et rigoureux de tous ceux qui feraient mieux de la fermer avant de l'ouvrir." ------------------------------------------------------------------------
On Wednesday January 14 at 07:26pm Eric GAUDET <eric@rti-zone.org> wrote:
It seems you don't have a font for the text/plain mime type. I believe it's the fixed-width font. Try changing in your dillorc the value of fw_fontname (default is courier). If it doesn't work, try vw_fontname also.
Both were already set, vw to helevetica and fw to courier. I tried changing vw to courier, but it just made everything look real ugly. Still crashed in the same way. Attached is my dillorc.
What's your platform again?
Debian Linux (unstable, with X from experimental) -- -johann koenig Now Playing: The Byrds - Turn! Turn! Turn! (To Everythi : Forrest Gump (Disc 2) Today is Setting Orange, the 15th day of Chaos in the YOLD 3170 My public pgp key: http://mental-graffiti.com/pgp/johannkoenig.pgp
participants (3)
-
Eric GAUDET
-
Johann Koenig
-
Jorge Arellano Cid