Hi, I have recovered the previous revision. Thank you allways. Regards, Shigio
2015-11-30 22:14 GMT+09:00 Hideki IWAMOTO <[email protected]>: > Hi. Yamaguchi san. > > > Log message: > > Removed unused variables. > > This change causes NULL pointer reference in decide_lang(). > The calling setup_langmap() from htags is still necessary. > > > > $ htags > Segmentation fault (core dumped) > $ gdb -q htags core.19041 > Using host libthread_db library "/lib64/libthread_db.so.1". > Core was generated by `htags'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /lib64/libdl.so.2...done. > Loaded symbols for /lib64/libdl.so.2 > Reading symbols from /lib64/libc.so.6...done. > Loaded symbols for /lib64/libc.so.6 > Reading symbols from /lib64/ld-linux-x86-64.so.2...done. > Loaded symbols for /lib64/ld-linux-x86-64.so.2 > #0 strbuf_value (sb=0x0) at strbuf.c:310 > 310 *sb->curp = 0; > (gdb) bt > #0 strbuf_value (sb=0x0) at strbuf.c:310 > #1 0x0000000000423fbb in decide_lang (suffix=0x623dbd "./AUTHORS") at > langmap.c:177 > #2 0x0000000000408ae2 in print_directory (level=0, basedir=0x7ffffffe8e80 > ".") at fileindex.c:620 > #3 0x00000000004092c8 in makefileindex (file=0x49f6a9 "files.html", > a_files=0x606fb0) at fileindex.c:766 > #4 0x00000000004058c4 in main (argc=0, argv=Variable "argv" is not > available. > ) at htags.c:1731 > (gdb) up > #1 0x0000000000423fbb in decide_lang (suffix=0x623dbd "./AUTHORS") at > langmap.c:177 > 177 lang = strbuf_value(active_map); > (gdb) p active_map > $1 = (STRBUF *) 0x0 > (gdb) > > > > On Mon, 30 Nov 2015 02:07:02 +0000 > Shigio YAMAGUCHI <[email protected]> wrote: > > > CVSROOT: /sources/global > > Module name: global > > Changes by: Shigio YAMAGUCHI <shigio> 15/11/30 02:07:02 > > > > Modified files: > > htags : htags.c > > > > Log message: > > Removed unused variables. > > > > CVSWeb URLs: > > > http://cvs.savannah.gnu.org/viewcvs/global/htags/htags.c?cvsroot=global&r1=1.221&r2=1.222 > > > > _______________________________________________ > > Global-commit mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/global-commit > > -- > Hideki IWAMOTO <[email protected]> > > -- Shigio YAMAGUCHI <[email protected]> PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________ Bug-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-global
