[ccan] configurator still segfaults, what am I doing wrong?

Rusty Russell rusty at rustcorp.com.au
Wed Feb 13 10:16:38 AEDT 2019


Ian Zimmerman <itz at very.loosely.org> writes:
> On 2019-02-09 14:00, Rusty Russell wrote:
>
>> Ian Zimmerman <itz at very.loosely.org> writes:
>> >  matica!60 ccantest$ /home/itz/git/ccan/tools/create-ccan-tree --build-type=make+config /home/itz/ccantest/ccan tal
>> > Building ccan_depends, modfiles
>> > sh: line 1: 17440 Segmentation fault      (core dumped) ./configurator.out 2>&1
>> 
>> OK, that's weird.  If you run tools/configurator/configurator normally
>> does it do this?  If so, try under gdb...
>
> Not much help, see below.  Could this be some kind of resource
> exhaustion?  My desktop has "only" 8GB store.  Also, what is this about
> "configurator.out"??  The executable name in the file system is called
> "configurator".

Actually, I missed that; it's a configurator test failing, which is
actually OK.

Your problem is actually not being in the top-level of the ccan dir.

Hope that helps!
Rusty.
PS. Running ./tools/configurator/configurator --verbose will tell you
what test it was, if you're curious...
  

>
> gdb -c configurator.core ./tools/configurator/configurator
> GNU gdb (GDB) Fedora 8.1.1-4.fc28
> Copyright (C) 2018 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-redhat-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from ./tools/configurator/configurator...done.
>
> warning: core file may not match specified executable file.
> [New LWP 15858]
> Core was generated by `./configurator.out'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x00007fe2ed934989 in ?? ()
> (gdb) bt
> #0  0x00007fe2ed934989 in ?? ()
> #1  0x0000000000000000 in ?? ()
>
> (Debug symbols for glibc are installed.)
>
> -- 
> Please don't Cc: me privately on mailing lists and Usenet,
> if you also post the followup to the list or newsgroup.
> To reply privately _only_ on Usenet and on broken lists
> which rewrite From, fetch the TXT record for no-use.mooo.com.
> _______________________________________________
> ccan mailing list
> ccan at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/ccan


More information about the ccan mailing list