---------------------------------------- From: corvid@lavabit.com Date: Wed, 27 Apr 2011 20:35:36 +0000 To: dillo-dev@dillo.org Subject: Re: [Dillo-dev] Settings Seg-fault
Does the attached fix it for you?
No, it does not seem to. ?Here is what I am getting - hopefully it is somewhat helpful. ?It consists of: 1) a Program run2) Start gdb with core dump3) Another program run4) A backtrace drs@mintyd ~/tmp/work/dillo-1.3 $ fltk-config --version1.3.0 drs@mintyd ~/tmp/work/dillo-1.3 $ src/dillopaths: Cannot open file '/home/drs/.dillo/keysrc'paths: Using /usr/local/etc/dillo/keysrcdillo_dns_init: Here we go! (threaded)Enabling cookies as from cookiesrc...Nav_open_url: new url='http://www3.sympatico.ca/rsquared/gdb/'Dns_server [0]: www3.sympatico.ca is 67.69.240.127Connecting to 67.69.240.127Segmentation fault (core dumped) drs@mintyd ~/tmp/work/dillo-1.3 $ gdb src/dillo /tmp/coreReading symbols from /home/drs/tmp/work/dillo-1.3/src/dillo...done.[New Thread 5282] warning: Can't read pathname for load map: Input/output error.Reading symbols from /usr/lib/libjpeg.so.62...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libjpeg.so.62Reading symbols from /lib/libpng12.so.0...(no debugging symbols found)...done.Loaded symbols for /lib/libpng12.so.0Reading symbols from /usr/lib/libXext.so.6...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libXext.so.6Reading symbols from /usr/lib/libXft.so.2...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libXft.so.2Reading symbols from /usr/lib/libfontconfig.so.1...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libfontconfig.so.1Reading symbols from /usr/lib/libXinerama.so.1...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libXinerama.so.1Reading symbols from /lib/libpthread.so.0...Reading symbols from /usr/lib/debug/lib/libpthread-2.11.2.so...done.done.Loaded symbols for /lib/libpthread.so.0Reading symbols from /lib/libdl.so.2...Reading symbols from /usr/lib/debug/lib/libdl-2.11.2.so...done.done.Loaded symbols for /lib/libdl.so.2Reading symbols from /usr/lib/libX11.so.6...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libX11.so.6Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libz.so.1Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libstdc++.so.6Reading symbols from /lib/libm.so.6...Reading symbols from /usr/lib/debug/lib/libm-2.11.2.so...done.done.Loaded symbols for /lib/libm.so.6Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.Loaded symbols for /lib/libgcc_s.so.1Reading symbols from /lib/libc.so.6...Reading symbols from /usr/lib/debug/lib/libc-2.11.2.so...done.done.Loaded symbols for /lib/libc.so.6Reading symbols from /usr/lib/libfreetype.so.6...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libfreetype.so.6Reading symbols from /usr/lib/libXrender.so.1...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libXrender.so.1Reading symbols from /usr/lib/libexpat.so.1...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libexpat.so.1Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/lib/ld-2.11.2.so...done.done.Loaded symbols for /lib64/ld-linux-x86-64.so.2Reading symbols from /usr/lib/libxcb.so.1...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libxcb.so.1Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libXau.so.6Reading symbols from /usr/lib/libXdmcp.so.6...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libXdmcp.so.6Reading symbols from /lib/libnss_files.so.2...Reading symbols from /usr/lib/debug/lib/libnss_files-2.11.2.so...done.done.Loaded symbols for /lib/libnss_files.so.2Reading symbols from /lib/libnss_dns.so.2...Reading symbols from /usr/lib/debug/lib/libnss_dns-2.11.2.so...done.done.Loaded symbols for /lib/libnss_dns.so.2Reading symbols from /lib/libresolv.so.2...Reading symbols from /usr/lib/debug/lib/libresolv-2.11.2.so...done.done.Loaded symbols for /lib/libresolv.so.2Reading symbols from /usr/lib/libXcursor.so.1...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libXcursor.so.1Reading symbols from /usr/lib/libXfixes.so.3...(no debugging symbols found)...done.Loaded symbols for /usr/lib/libXfixes.so.3Core was generated by `src/dillo'.Program terminated with signal 11, Segmentation fault.#0 ?0x00007fa6ef7e990a in __snprintf (s=<value optimized out>, maxlen=<value optimized out>, format=<value optimized out>) at snprintf.c:3939 ? ? ?snprintf.c: No such file or directory.? ? ? ? in snprintf.c(gdb) runStarting program: /home/drs/tmp/work/dillo-1.3/src/dillo?[Thread debugging using libthread_db enabled]paths: Cannot open file '/home/drs/.dillo/keysrc'paths: Using /usr/local/etc/dillo/keysrcdillo_dns_init: Here we go! (threaded)Enabling cookies as from cookiesrc...Nav_open_url: new url='http://www3.sympatico.ca/rsquared/gdb/'[New Thread 0x7ffff4edc700 (LWP 5305)]Dns_server [0]: www3.sympatico.ca is 67.69.240.127[Thread 0x7ffff4edc700 (LWP 5305) exited]Connecting to 67.69.240.127 Program received signal SIGSEGV, Segmentation fault.0x00007ffff5d0990a in __snprintf (s=<value optimized out>, maxlen=<value optimized out>, format=<value optimized out>) at snprintf.c:3939 ? ? ?snprintf.c: No such file or directory.? ? ? ? in snprintf.c (gdb) bt#0 ?0x00007ffff5d0990a in __snprintf (s=<value optimized out>, maxlen=<value optimized out>, format=<value optimized out>) at snprintf.c:39#1 ?0x2e0000000040c8b5 in ?? ()#2 ?0x0074755420002e2e in ?? ()#3 ?0x000000000045d856 in Fl_Widget::redraw_label() ()#4 ?0x000000000047b8cc in Fl_Window::label(char const*, char const*) ()#5 ?0x00007fffffffc140 in ?? ()#6 ?0x0000000000000004 in ?? ()#7 ?0x0000000000422240 in ?? () at html.cc:146#8 ?0x0000000066666667 in ?? ()#9 ?0x000000000040d4b1 in a_UIcmd_set_page_title (bw=0x71db70, label=0x7b72e0 "GDB Tutorial | How To Debug With The GNU GDB Debugger") at uicmd.cc:1156#10 0x0000000000422274 in Html_tag_close_title (html=0x7e94e0, TagIdx=<value optimized out>) at html.cc:1650#11 0x0000000000423453 in Html_tag_cleanup_to_idx (html=0x7e94e0, new_idx=<value optimized out>) at html.cc:1315#12 Html_tag_cleanup_at_close (html=0x7e94e0, new_idx=<value optimized out>) at html.cc:1360#13 0x00000000004259b6 in Html_process_tag (html=0x7e94e0, buf=<value optimized out>, bufsize=<value optimized out>, Eof=0) at html.cc:3553#14 Html_write_raw (html=0x7e94e0, buf=<value optimized out>, bufsize=<value optimized out>, Eof=0) at html.cc:3818#15 0x000000000042665c in DilloHtml::write (this=0x7e94e0, Buf=<value optimized out>, BufSize=<value optimized out>, Eof=<value optimized out>) at html.cc:552#16 0x0000000000416279 in Cache_process_queue (entry=0x7be120) at cache.c:1181#17 0x0000000000413471 in a_Chain_fcb (Op=<value optimized out>, Info=<value optimized out>, Data1=<value optimized out>, Data2=<value optimized out>) at chain.c:113#18 0x000000000043aae8 in Dpi_parse_token (Op=<value optimized out>, Branch=<value optimized out>, Dir=<value optimized out>, Info=<value optimized out>, Data1=<value optimized out>,?? ? Data2=<value optimized out>) at dpi.c:220#19 Dpi_process_dbuf (Op=<value optimized out>, Branch=<value optimized out>, Dir=<value optimized out>, Info=<value optimized out>, Data1=<value optimized out>, Data2=<value optimized out>)? ? at dpi.c:339#20 a_Dpi_ccc (Op=<value optimized out>, Branch=<value optimized out>, Dir=<value optimized out>, Info=<value optimized out>, Data1=<value optimized out>, Data2=<value optimized out>)? ? at dpi.c:735#21 0x0000000000413471 in a_Chain_fcb (Op=<value optimized out>, Info=<value optimized out>, Data1=<value optimized out>, Data2=<value optimized out>) at chain.c:113#22 0x000000000043b177 in a_IO_ccc (Op=2, Branch=<value optimized out>, Dir=1, Info=0x7b9b40, Data1=0x7b9b90, Data2=0x0) at IO.c:425#23 0x000000000043b3a5 in IO_read (io=0x7b9b90) at IO.c:197#24 0x000000000043b485 in IO_callback (io=0x7b9b90) at IO.c:262#25 0x000000000043b507 in IO_fd_read_cb (fd=6, data=<value optimized out>) at IO.c:283#26 0x000000000047b194 in fl_wait(double) ()#27 0x000000000045dcb5 in Fl::wait(double) ()#28 0x000000000045dd29 in Fl::run() ()#29 0x0000000000407f1b in main (argc=<value optimized out>, argv=<value optimized out>) at dillo.cc:431