Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libedit trouble



Using "bc" as the libedit using test programme,

Core was generated by `bc'.
Program terminated with signal 11, Segmentation fault.
#0  0xbb934070 in ?? ()
(gdb) bt
#0  0xbb934070 in ?? ()
#1  0xbbbd58e7 in prompt_print (el=0xbb90cc00, op=0)
    at /usr/src/lib/libedit/prompt.c:95
#2  0xbbbd6aed in re_refresh (el=0xbb90cc00)
    at /usr/src/lib/libedit/refresh.c:220
#3  0xbbbd609b in read_prepare (el=0xbb90cc00)
    at /usr/src/lib/libedit/read.c:394
#4  0xbbbd624a in el_gets (el=0xbb90cc00, nread=0x80584a0)
    at /usr/src/lib/libedit/read.c:466
#5  0x0804fd59 in yy_get_next_buffer ()
#6  0x08050207 in yylex ()
#7  0x08049512 in yyparse ()
#8  0x0804cbcb in main ()

frame 1 el contains

el_prompt = {
    p_func = 0xbb934070, p_pos = {h = 0, v = 0}, p_arg = 0x804f570}, 
  el_rprompt = {p_func = 0xbbbd58a0 <prompt_default_r>, p_pos = {h = 0, 
      v = 0}, p_arg = 0x0}

Not obvious what's up...

P


Home | Main Index | Thread Index | Old Index