[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: difficulties when building from svn, segfault, backtrace
From: |
Gavin Smith |
Subject: |
Re: difficulties when building from svn, segfault, backtrace |
Date: |
Wed, 7 May 2014 23:49:08 +0100 |
On Wed, May 7, 2014 at 2:03 PM, Benno Schulenberg
<address@hidden> wrote:
>
> Hi Gavin,
>
> On Wed, May 7, 2014, at 0:09, Gavin Smith wrote:
>> On Tue, May 6, 2014 at 9:04 PM, Benno Schulenberg <address@hidden> wrote:
>> > $ info/ginfo doc/info.info
>> > Welcome to Info version 5.2. Type h for help, m for menu item.Segmentation
>> > fault
>> >
>> > Wow.
>> >
>> > The doc/info.info seems to be fine, though, I can read it okay with the
>> > system's own info command. And starting info/ginfo with other arguments
>> > (grep, sed, find) or without any argument works fine too. So, what's up
>> > with this segfault?
>>
>> I'll look into it. (Note you should really do "info/ginfo --file
>> ./doc/info.info" instead to open a file with that path.)
>
> Indeed, using the option --file it opens and works fine. Thanks.
>
Although Karl and I agree it should not require --file when you have a
/ in the name, so I'll see about fixing that.
> But meanwhile I figured out how to add arguments to the program name
> given to gdb, and got the following backtrace:
>
> Welcome to Info version 5.2. Type h for help, m for menu item.
> Program received signal SIGSEGV, Segmentation fault.
> 0x001e6bb6 in ?? () from /lib/i386-linux-gnu/libc.so.6
> (gdb) bt
> #0 0x001e6bb6 in ?? () from /lib/i386-linux-gnu/libc.so.6
> #1 0x0804dbb4 in info_add_extension (
> dirname=0x80b0148 "ense\177\065\070\061\060\064\nNode:
> Index\177\070icense\177\065\070\061\060\064\nNode:
> Index\177\070icense\177\065\070\061\060\064\nNode:
> Index\177\070icense\177\065\070\061\060\064\nNode:
> Index\177\070icense\177\065\070\061\060\064\nNode:
> Index\177\070icense\177\065\070\061\060\064\nNode:
> Index\177\070icense\177\065\070\061\060\064\nNode:
> Index\177\070icense\177\065\070\061\060\064\nNode: I"...,
> filename=0x8098fe8
> "/usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info/
> info.texi.\n\nThis file describes how to use Info describes how tenu-dr"...,
> finfo=0xbffff5c0)
> at filesys.c:241
> #2 0x0804da91 in info_file_find_next_in_path (
> filename=0x8098fe8
> "/usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info/
> info.texi.\n\nThis file describes how to use Info describes how tenu-dr"...,
> path=0x808dbc0
> "/usr/local/share/info:.:/usr/share/info:/usr/local/info:/usr/info:/usr/local/lib/info:/usr/lib/info:/usr/local/gnu/info:/usr/local/gnu/lib/info:/usr/gnu/info:/usr/gnu/lib/info:/opt/gnu/info:/usr/share"...,
> diridx=0xbffff58c,
> finfo=0xbffff5c0) at filesys.c:197
> #3 0x0804dafd in info_file_in_path (
> filename=0x8098fe8
> "/usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info/
> info.texi.\n\nThis file describes how to use Info describes how tenu-dr"...,
> path=0x808dbc0
> "/usr/local/share/info:.:/usr/share/info:/usr/local/info:/usr/info:/usr/local/lib/info:/usr/lib/info:/usr/local/gnu/info:/usr/local/gnu/lib/info:/usr/gnu/info:/usr/gnu/lib/info:/opt/gnu/info:/usr/share"...,
> finfo=0xbffff5c0)
> at filesys.c:210
> #4 0x0804d9a9 in info_find_fullpath (
> partial=0x8098fe8
> "/usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info/
> info.texi.\n\nThis file describes how to use Info describes how tenu-dr"...,
> finfo=0xbffff5c0)
> at filesys.c:155
> #5 0x0805aa28 in info_find_file (
> filename=0x8098fe8
> "/usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info/
> info.texi.\n\nThis file describes how to use Info describes how tenu-dr"...)
> at nodes.c:654
> #6 0x0805c9e8 in begin_multiple_window_info_session (
> filename=0x8098fe8
> "/usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info//usr/local/lib/emacs/info/
> info.texi.\n\nThis file describes how to use Info describes how tenu-dr"...,
> nodenames=0x80b0488, error=0x0) at session.c:130
> #7 0x08054203 in main (argc=0, argv=0xbffff81c) at info.c:853
>
> That filename looks messed up.
>
I wonder if it is down to some kind of memory corruption, looking at
the filename. I'll stop it searching in the dir file for the argument
if it is already; if that doesn't work, it might be helpful for you to
try running with the "-x 3" option to get output about what files it
is looking in.
- difficulties building from svn, missing help2man, segfault, Benno Schulenberg, 2014/05/06
- Re: difficulties building from svn, missing help2man, segfault, Gavin Smith, 2014/05/06
- Re: difficulties building from svn, missing help2man, segfault, Gavin Smith, 2014/05/06
- Re: difficulties when building from svn, segfault, backtrace, Benno Schulenberg, 2014/05/07
- Re: difficulties when building from svn, segfault, backtrace,
Gavin Smith <=
- Re: difficulties when building from svn, segfault, backtrace, Benno Schulenberg, 2014/05/08
- Re: difficulties when building from svn, segfault, backtrace, Gavin Smith, 2014/05/08
- Re: difficulties when building from svn, segfault, backtrace, Karl Berry, 2014/05/08
- Re: difficulties when building from svn, segfault, backtrace, Benno Schulenberg, 2014/05/09
- Re: difficulties when building from svn, segfault, backtrace, Eli Zaretskii, 2014/05/09
Re: difficulties building from svn, missing help2man, segfault, Karl Berry, 2014/05/07
Re: difficulties building from svn, missing help2man, segfault, Karl Berry, 2014/05/07
Re: difficulties building from svn, missing help2man, segfault, Gavin Smith, 2014/05/07