<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class=""><div class=""><blockquote type="cite" class="">Yes, works fine. And it also appears to be read when I restart birdc, because now I can crash it with ^P or ↑ without having typed a command before.<br class="">(strace confirmed: .birdc_history is read successfully)<br class=""></blockquote><br class="">You can try attached patch (disables reading of history).<br class=""></div></div></blockquote><div><br class=""></div>... to no avail ... still crashes the same way.</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><div class="">You can also try to build BIRD 1.6.3 in the same way like 2.0.0 and see<br class="">if it by chance does not express the same problem.<br class=""></div></div></blockquote></div><br class=""><div class="">No, it doesn't (I built the 2.0.0 the same way as the 1.6.3 - and all the others).</div><div class=""><br class=""></div><div class="">Running the 2.0.0 client inside gdb yields: (I installed libreadline6-dbg before testing)</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><span style="font-size: 12px;" class="">bird> </span></div><div class=""><span style="font-size: 12px;" class="">Program received signal SIGSEGV, Segmentation fault.</span></div><div class=""><span style="font-size: 12px;" class="">0x00007ffff79b6a0b in previous_history () at /build/readline6-RKA9OI/readline6-6.3/history.c:185</span></div><div class=""><span style="font-size: 12px;" class="">185</span><span class="Apple-tab-span" style="white-space: pre; font-size: 12px;"> </span><span style="font-size: 12px;" class="">/build/readline6-RKA9OI/readline6-6.3/history.c: No such file or directory.</span></div><div class=""><span style="font-size: 12px;" class="">(gdb) bt</span></div><div class=""><span style="font-size: 12px;" class="">#0 </span><span style="font-size: 12px;" class="">0x00007ffff79b6a0b in previous_history () at /build/readline6-RKA9OI/readline6-6.3/history.c:185</span></div><div class=""><span style="font-size: 12px;" class="">#1 </span><span style="font-size: 12px;" class="">0x00007ffff79b65e5 in rl_get_previous_history (count=<optimized out>, key=<optimized out>)</span></div><div class=""><span style="font-size: 12px;" class=""> at /build/readline6-RKA9OI/readline6-6.3/misc.c:609</span></div><div class=""><span style="font-size: 12px;" class="">#2 </span><span style="font-size: 12px;" class="">0x00007ffff799b990 in _rl_dispatch_subseq (key=65, map=<optimized out>, got_subseq=0)</span></div><div class=""><span style="font-size: 12px;" class=""> at /build/readline6-RKA9OI/readline6-6.3/readline.c:832</span></div><div class=""><span style="font-size: 12px;" class="">#3 </span><span style="font-size: 12px;" class="">0x00007ffff799c202 in _rl_dispatch_callback (cxt=0x61cb10) at /build/readline6-RKA9OI/readline6-6.3/readline.c:736</span></div><div class=""><span style="font-size: 12px;" class="">#4 </span><span style="font-size: 12px;" class="">0x00007ffff79b27ff in rl_callback_read_char () at /build/readline6-RKA9OI/readline6-6.3/callback.c:188</span></div><div class=""><span style="font-size: 12px;" class="">#5 </span><span style="font-size: 12px;" class="">0x0000000000403885 in input_read () at client/birdc.c:219</span></div><div class=""><span style="font-size: 12px;" class="">#6 </span><span style="font-size: 12px;" class="">0x00000000004020d3 in select_loop () at client/client.c:375</span></div><div class=""><span style="font-size: 12px;" class="">#7 </span><span style="font-size: 12px;" class="">main (argc=<optimized out>, argv=<optimized out>) at client/client.c:447</span></div></blockquote><div class=""><br class=""></div><div class="">Maybe this provides a hint?!</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">And here's another interesting datapoint: Since I use BIRD to replace the dreadful Quagga-derivate Ubiquiti delivers with their EdgeRouters I compiled BIRD-2.0.0 for the MIPS platform and there it does not exhibit the observed behavior! </div><div class=""><br class=""></div><div class="">Same libreadline version, though:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div style="font-size: 12px;" class="">csch# ldd ./birdc-2.0.0 </div><div style="font-size: 12px;" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>librt.so.1 => /lib/mips-linux-gnu/librt.so.1 (0x77118000)</div><div style="font-size: 12px;" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>libhistory.so.6 => /lib/mips-linux-gnu/libhistory.so.6 (0x770ff000)</div><div style="font-size: 12px;" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>libreadline.so.6 => /lib/mips-linux-gnu/libreadline.so.6 (0x770b5000)</div><div style="font-size: 12px;" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>libtinfo.so.5 => /lib/mips-linux-gnu/libtinfo.so.5 (0x77087000)</div><div style="font-size: 12px;" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>libpthread.so.0 => /lib/mips-linux-gnu/libpthread.so.0 (0x7705c000)</div><div style="font-size: 12px;" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>libc.so.6 => /lib/mips-linux-gnu/libc.so.6 (0x76ee1000)</div><div style="font-size: 12px;" class=""><span class="Apple-tab-span" style="white-space:pre"> </span>/lib/ld.so.1 (0x77136000)</div></blockquote><div class=""><br class=""></div><div class="">Maybe I should download the src for libreadline6 to look at history.c, line 185 ;-)</div><div class=""><br class=""></div><div class="">Hälsningar -</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Clemens</div><div class=""><br class=""></div></body></html>