Skip to content

Instantly share code, notes, and snippets.

@relrod
Last active August 29, 2015 14:11
Show Gist options
  • Save relrod/71b4426886c54b26fa35 to your computer and use it in GitHub Desktop.
Save relrod/71b4426886c54b26fa35 to your computer and use it in GitHub Desktop.
Works well
ricky@t520 96% ~$ host ebay.com
name.c:2445: REQUIRE((((source) != ((void *)0)) && (((const isc__magic_t *)(source))->magic == ((('D') << 24 | ('N') << 16 | ('S') << 8 | ('n')))))) failed, back trace
#0 0x3f984137a7 in ??
#1 0x3f984136fa in ??
#2 0x3f98880dbc in ??
#3 0x409a49 in ??
#4 0x409aea in ??
#5 0x409ca8 in ??
#6 0x40ef1a in ??
#7 0x3f98435ecb in ??
#8 0x3dc8a0752a in ??
#9 0x3dc7f0077d in ??
Aborted (core dumped)
ricky@t520 96% ~$ gdb host
GNU gdb (GDB) Fedora 7.8.1-32.fc21
Copyright (C) 2014 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 host...Reading symbols from /home/ricky/host...(no debugging symbols found)...done.
(no debugging symbols found)...done.
Missing separate debuginfos, use: debuginfo-install bind-utils-9.9.6-4.fc21.x86_64
(gdb) set args ebay.com
(gdb) r
Starting program: /usr/bin/host ebay.com
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff7f70700 (LWP 16096)]
[New Thread 0x7ffff776f700 (LWP 16097)]
[New Thread 0x7ffff6f6e700 (LWP 16098)]
name.c:2445: REQUIRE((((source) != ((void *)0)) && (((const isc__magic_t *)(source))->magic == ((('D') << 24 | ('N') << 16 | ('S') << 8 | ('n')))))) failed, back trace
#0 0x3f984137a7 in ??
#1 0x3f984136fa in ??
#2 0x3f98880dbc in ??
#3 0x409a49 in ??
#4 0x409aea in ??
#5 0x409ca8 in ??
#6 0x40ef1a in ??
#7 0x3f98435ecb in ??
#8 0x3dc8a0752a in ??
#9 0x3dc7f0077d in ??
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff7f70700 (LWP 16096)]
0x0000003dc7e348c7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
55 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt
#0 0x0000003dc7e348c7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#1 0x0000003dc7e3652a in __GI_abort () at abort.c:89
#2 0x0000003f984136ff in isc_assertion_failed () from /lib64/libisc.so.95
#3 0x0000003f98880dbc in dns_name_copy () from /lib64/libdns.so.104
#4 0x0000000000409a49 in clone_lookup ()
#5 0x0000000000409aea in requeue_lookup ()
#6 0x0000000000409ca8 in next_origin ()
#7 0x000000000040ef1a in connect_timeout ()
#8 0x0000003f98435ecb in run () from /lib64/libisc.so.95
#9 0x0000003dc8a0752a in start_thread (arg=0x7ffff7f70700) at pthread_create.c:310
#10 0x0000003dc7f0077d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment