Firstly, please do try to use a better subject, I thought this was spam to begin with ;-)
On Thu, Feb 03, 2011 at 02:42:54PM +0100, [email protected] wrote: > Loading a small, simple HTML page failed > > I use {hubbub,libcss,libdom,libnsbmp,libnsgif, > libparserutils,libwapcaplet, netsurf}-revision-11608 > ok thats all fine > winfried > --------------------------- > Reading symbols from /sources/CSS/NETSURF/netsurf-revision-11608/nsgtk...done. > (gdb) run test.html > Starting program: /sources/CSS/NETSURF/netsurf-revision-11608/nsgtk test.html > [Thread debugging using libthread_db enabled] as an observation, this will never actually load that file. file uri must be of the form file:///path/to/your/file/test.html we currently do not fix up broken URI > > Program received signal SIGSEGV, Segmentation fault. > 0xb726f293 in strncmp () from /lib/tls/libc.so.6 > (gdb) frame 14 The gdb command "bt" and "where" are your friends, a forwards backtrace is a little amusing :-) but thanks for actualy taking the time to run gdb. > #14 0x080b4567 in main (argc=2, argv=0xbfffee24) at gtk/gui.c:595 > (gdb) frame 13 > #13 0x080b3dd7 in gui_init (argc=2, argv=0xbfffee24, respath=0x81edc80) at > gtk/gui.c:451 > (gdb) frame 12 > #12 0x080b35e1 in nsgtk_init_glade (respath=0x81edc80) at gtk/gui.c:323 > (gdb) frame 11 > #11 0x080b3501 in nsgtk_new_glade (respath=0x81edc80, name=0x8162389 > "netsurf", pglade=0x0) at gtk/gui.c:295 > (gdb) frame 10 > #10 0xb78e9a75 in glade_xml_new (fname=0x825c480 > "/usr/local/share/netsurf/netsurf.glade", root=0x0, domain=0x0) at > glade-xml.c:117 ok so we have descended into GTK proper at this point. My only idea is that the installed file in /usr/local/share/netsurf/netsurf.glade is corrupt or contains an otherwise invalid glade file, possibly from an old installation. You are running the head version and probably ought to ensure any old versions are uninstalled and use the NETSURFRES environment variable to control which resources are being used (for development purposes) > (gdb) frame 9 > #9 0xb78e9b29 in glade_xml_construct (self=0x820e840, fname=0x825c480 > "/usr/local/share/netsurf/netsurf.glade", root=0x0, domain=0x0) at > glade-xml.c:145 > (gdb) frame 8 > #8 0xb78f0cee in glade_parser_parse_file (file=0x825c480 > "/usr/local/share/netsurf/netsurf.glade", domain=0x0) at glade-parser.c:1226 > (gdb) frame 7 > #7 0xb7e0019a in xmlSAXUserParseFile () from /usr/lib/libxml2.so.2 > (gdb) frame 6 > #6 0xb7de9379 in xmlCreateFileParserCtxt () from /usr/lib/libxml2.so.2 > (gdb) frame 5 > #5 0xb7de92d1 in xmlCreateURLParserCtxt () from /usr/lib/libxml2.so.2 > (gdb) frame 4 > #4 0xb7e11ad3 in xmlLoadExternalEntity () from /usr/lib/libxml2.so.2 > (gdb) frame 3 > #3 0xb7de4eb1 in xmlNewInputFromFile () from /usr/lib/libxml2.so.2 > (gdb) frame 2 > #2 0xb7e1167a in xmlParserInputBufferCreateFilename () from > /usr/lib/libxml2.so.2 > (gdb) frame 1 > #1 0xb7e115fb in __xmlParserInputBufferCreateFilename () from > /usr/lib/libxml2.so.2 > (gdb) frame 0 > #0 0xb726f293 in strncmp () from /lib/tls/libc.so.6 > (gdb) > ---------------------- > > -- Regards Vincent http://www.kyllikki.org/
