I have the same problem. The output of the program is:
yad --html --browser --uri=file://Guia_de_estilo_codigo.html --width=1000 --height=1000
No bp log location saved, using default.
[000:000] Cpu: 6.58.9, x4, 2901Mhz, 3777MB
[000:000] Computer model: Not available
[000:000] Browser XEmbed support present: 1
[000:000] Browser toolkit is Gtk2.
[000:000] Using Gtk2 toolkit
[000:000] Warning(optionsfile.cc:30): Load: Could not open file, err=2
[000:000] No bp log location saved, using default.
[000:001] Cpu: 6.58.9, x4, 2901Mhz, 3777MB
[000:001] Computer model: Not available
[000:001] Browser XEmbed support present: 1
[000:001] Browser toolkit is Gtk2.
[000:001] Using Gtk2 toolkit
No bp log location saved, using default.
[000:000] Cpu: 6.58.9, x4, 2901Mhz, 3777MB
[000:000] Computer model: Not available
Vector smash protection is enabled.
[000:006] Warning(optionsfile.cc:30): Load: Could not open file, err=2
[000:006] No bp log location saved, using default.
[000:006] Cpu: 6.58.9, x4, 2901Mhz, 3777MB
[000:007] Computer model: Not available
Segmentation fault (core dumped)
and the core file looks like:
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from yad...(no debugging symbols found)...done.
[New LWP 31939]
[New LWP 31942]
[New LWP 31940]
[New LWP 31943]
[New LWP 31941]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `yad --html --browser --uri=file://Guia_de_estilo_codigo.html --width=1000 --hei'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __strchr_sse2 () at ../sysdeps/x86_64/multiarch/../strchr.S:32
32 ../sysdeps/x86_64/multiarch/../strchr.S: No such file or directory.
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
(gdb) wher
#0 __strchr_sse2 () at ../sysdeps/x86_64/multiarch/../strchr.S:32
#1 0x00007f776515854b in g_param_spec_pool_lookup ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#2 0x00007f77651539b6 in g_object_set_valist ()
from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3 0x00007f7765154397 in g_object_set () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4 0x0000000000420588 in ?? ()
#5 0x000000000041f678 in ?? ()
#6 0x000000000040eb12 in ?? ()
#7 0x00007f7762576ec5 in __libc_start_main (main=0x40e6f0, argc=6, argv=0x7fff85de58e8,
init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
stack_end=0x7fff85de58d8) at libc-start.c:287
#8 0x000000000040ed4e in ?? ()
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried full path to the file and also --uri=http://www.google.com with no succeed. In fact I used without problems "yad --html" in old scripts than don't work now.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is no output error. It seems that the option '--html' has disapared in my compilation.
/usr/local/bin/yad --help
Usage:
yad [OPTION...] - Yet another dialoging program
Help Options:
-h, --help Show help options
--help-all Show all help options
--help-general Show general options
--help-calendar Show calendar options
--help-color Show color selection options
--help-dnd Show drag-n-drop options
--help-entry Show text entry options
--help-file Show file selection options
--help-font Show font selection options
--help-form Show form options
--help-icons Show icons box options
--help-list Show list options
--help-multi-progress Show multi progress bars options
--help-notebook Show notebook dialog options
--help-notification Show notification icon options
--help-paned Show paned dialog options
--help-print Show print dialog options
--help-progress Show progress options
--help-scale Show scale options
--help-text Show text information options
--help-filter Show file filter options
--help-misc Show miscellaneous options
--help-gtk Show GTK+ Options
Application Options:
--rest=FILENAME Load extra arguments from file
--calendar Display calendar dialog
--color Display color selection dialog
--color-selection Alias for --color
--dnd Display drag-n-drop box
--entry Display text entry or combo-box dialog
--file Display file selection dialog
--file-selection Alias for --file
--font Display font selection dialog
--font-selection Alias for --font
--form Display form dialog
--icons Display icons box dialog
--list Display list dialog
--multi-progress Display multi progress bars dialog
--notebook Display notebook dialog
--notification Display notification
--paned Display paned dialog
--print Display printing dialog
--progress Display progress indication dialog
--scale Display scale dialog
--text-info Display text information dialog
--display=DISPLAY X display to use
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
can you show the output of 'ldd
which yad
' and make and send me a core file for this segfault?The output for
ldd $(which yad)
:I didnt understand the part of core file thing. Can you explain me on how to do that ??
I have the same problem. The output of the program is:
and the core file looks like:
can you check the latest svn? i think, i found and fix this bug
I don't have now a core file but an empty window is created.
this is because you specify malformed uri. in your command-line --uri=file://Guia_de_estilo_codigo.html is whong
must be --uri=file://full/path/to/Guia_de_estilo_codigo.html or --uri=Guia_de_estilo_codigo.html
I tried full path to the file and also --uri=http://www.google.com with no succeed. In fact I used without problems "yad --html" in old scripts than don't work now.
is there any output of yad with errors?
There is no output error. It seems that the option '--html' has disapared in my compilation.
add --enable-html option to ./configure. this dialog disabled by default, because it use additional library
After installing webkit-1.0-dev all works fine.
thanks a lot.