Results 1 to 3 of 3

Thread: Nano segfaulting

Hybrid View

  1. #1

    Default Nano segfaulting

    Whenever I attempt to search for a string using nano, it segfaults. I wasn't sure if this was a bug in nano itself or a library it links to, so I built the latest version of nano from the source rpm provided on the upstream webpage. I tried a string search using the latest version, and it also segfaults in exactly the same way. This leads me to believe that one of the libraries that nano depends on is bugged, but I'm not sure which. Here is a gdb backtrace from the latest version of nano (2.2.1).
    Code:
    #0  0x00007ffff78a4f8d in ?? () from /lib64/libc.so.6
    #1  0x00007ffff78a73e4 in ?? () from /lib64/libc.so.6
    #2  0x00007ffff78a9a59 in malloc () from /lib64/libc.so.6
    #3  0x000000000041df96 in nmalloc (howmuch=140737349455456) at utils.c:402
    #4  0x000000000041fb34 in display_string (buf=0x6d8c40 "Search Wrapped", start_col=0, len=<value optimized out>, 
        dollars=<value optimized out>) at winio.c:1946
    #5  0x0000000000420b53 in statusbar (msg=0x422d64 "Search Wrapped") at winio.c:2295
    #6  0x0000000000417d51 in findnextstr (whole_word=<value optimized out>, no_sameline=<value optimized out>, 
        begin=<value optimized out>, begin_x=<value optimized out>, needle=0x6d7cc0 "asdf", needle_len=<value optimized out>)
        at search.c:395
    #7  0x0000000000418f1f in do_search () at search.c:488
    #8  0x0000000000412cb5 in do_input (meta_key=<value optimized out>, func_key=<value optimized out>, s_or_t=<value optimized out>, 
        ran_func=0x7fffffffe12c, finished=0x7fffffffe12b, allow_funcs=true) at nano.c:1626
    #9  0x00000000004134bc in main (argc=1, argv=0x7fffffffe248) at nano.c:2663

  2. #2
    palladium NNTP User

    Default Re: Nano segfaulting

    dorkfish wrote:
    > Whenever I attempt to search for a string using nano,


    have you checked if that bug has been logged?

    --
    palladium

  3. #3

    Default Re: Nano segfaulting

    No, I hadn't, I couldn't find the bug tracker. I just found it and the bug is posted and assigned. Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •