assertion fault on FreeBSD
alfonsosiciliano opened this issue · comments
Hello,
I'm the FreeBSD maintainer of edbrowse, an user reported this problem:
% edbrowse
.ebrc: unrecognized keyword linelength at line 49
edbrowse ready
b www.freebsd.org
25613
Assertion failed: (option_defs[ optId ].type == TidyBoolean), function prvTidySetOptionBool, file config.c, line 397.
Abort (core dumped)
I found the problem via lldb and printf() :-) the line 219 of src/html-tidy.c https://github.com/CMB/edbrowse/blob/master/src/html-tidy.c#L129
I commented the line to patch the FreeBSD port, now it runs, maybe we could find more intelligent solution
Alfonso
Probably you are right: I' m linking a totally wrong library because FreeBSD has 2 libtidy,
the CMakeList.txt finds libtidy.so -> libtidy-0.99.so.0
while the right library is libtidy5.so -> libtidy.so.5 -> libtidy.so.5.7.28
from https://github.com/htacg/tidy-html5
I' ll test.
Alfonso Siciliano
... fix: #54