Skip to content

Instantly share code, notes, and snippets.

@Kubuxu
Last active January 25, 2016 05:32
Show Gist options
  • Save Kubuxu/237a425b1b7ee27eabe6 to your computer and use it in GitHub Desktop.
Save Kubuxu/237a425b1b7ee27eabe6 to your computer and use it in GitHub Desktop.
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
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-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 ./cjdroute...done.
Starting program: /home/cyst/cjdns/cjdroute < /etc/cjdroute.conf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New process 29320]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 29320 is executing new program: /home/cyst/cjdns/cjdroute
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
1453383815 INFO RandomSeed.c:42 Attempting to seed random number generator
1453383815 INFO RandomSeed.c:50 Trying random seed [/dev/urandom] Success
1453383815 INFO RandomSeed.c:56 Trying random seed [sysctl(RANDOM_UUID) (Linux)] Failed
1453383815 INFO RandomSeed.c:50 Trying random seed [/proc/sys/kernel/random/uuid (Linux)] Success
1453383815 INFO RandomSeed.c:64 Seeding random number generator succeeded with [2] sources
1453383815 INFO LibuvEntropyProvider.c:59 Taking clock samples every [1000]ms for random generator
1453383815 DEBUG Core.c:269 Getting pre-configuration from client
1453383815 DEBUG Pipe.c:231 Pipe [/tmp/cjdns_pipe_client-core-6s1plf58r15nzcm2wyt7kcgwt1w9wt] established connection
1453383815 DEBUG Core.c:272 Finished getting pre-configuration from client
1453383815 DEBUG UDPAddrIface.c:254 Binding to address [127.0.0.1:11234]
1453383815 DEBUG UDPAddrIface.c:293 Bound to address [127.0.0.1:11234]
1453383815 INFO cjdroute2.c:626 Cjdns amd64 linux +seccomp
1453383815 INFO cjdroute2.c:630 Checking for running instance...
1453383815 DEBUG UDPAddrIface.c:293 Bound to address [0.0.0.0:55227]
1453383815 DEBUG AdminClient.c:333 Connecting to [127.0.0.1:11234]
1453383815 DEBUG Pipe.c:134 Buffering a message
1453383815 DEBUG cjdroute2.c:675 Sent [168] bytes to core
1453383815 DEBUG Pipe.c:231 Pipe [/tmp/cjdns_pipe_client-core-6s1plf58r15nzcm2wyt7kcgwt1w9wt] established connection
1453383815 DEBUG Pipe.c:253 Sending buffered message
1453383815 DEBUG UDPAddrIface.c:293 Bound to address [0.0.0.0:40427]
1453383815 DEBUG AdminClient.c:333 Connecting to [127.0.0.1:11234]
1453383815 INFO Configurator.c:135 Checking authorized password 0.
1453383815 INFO Configurator.c:135 Checking authorized password 1.
1453383815 INFO Configurator.c:135 Checking authorized password 2.
1453383815 INFO Configurator.c:135 Checking authorized password 3.
1453383815 INFO Configurator.c:135 Checking authorized password 4.
1453383815 INFO Configurator.c:159 Adding authorized password #[0] for user [password [0]].
1453383815 INFO Configurator.c:159 Adding authorized password #[1] for user [password [1]].
1453383815 INFO Configurator.c:159 Adding authorized password #[2] for user [password [2]].
1453383815 INFO Configurator.c:159 Adding authorized password #[3] for user [password [3]].
1453383815 INFO Configurator.c:159 Adding authorized password #[4] for user [password [4]].
1453383816 DEBUG Configurator.c:337 Initiating IpTunnel connection to [cmnkylz1dx8mx3bdxku80yw20gqmg0s9nsrusdv0psnxnfhqfmu0.k]
1453383816 DEBUG Configurator.c:540 Security_chroot(/var/run)
1453383816 DEBUG Configurator.c:548 Security_noforks()
1453383816 DEBUG Configurator.c:553 Security_setUser(uid:65534, keepNetAdmin:1)
1453383816 DEBUG Configurator.c:568 Security_seccomp()
1453383816 DEBUG Configurator.c:573 Security_setupComplete()
1453383816 DEBUG Configurator.c:657 Cjdns started in the background
Program received signal SIGSYS, Bad system call.
[Switching to Thread 0x7ffff7fe8700 (LWP 29320)]
0x00007ffff76e73d0 in __open_nocancel () at ../sysdeps/unix/syscall-template.S:81
81 ../sysdeps/unix/syscall-template.S: No such file or directory.
Thread 2 (Thread 0x7ffff7fe8700 (LWP 29320)):
#0 0x00007ffff76e73d0 in __open_nocancel () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007ffff7682d79 in __GI__IO_file_open (fp=fp@entry=0x5555558993a0,
filename=<optimized out>, posix_mode=<optimized out>, prot=prot@entry=438, read_write=8,
is32not64=is32not64@entry=1) at fileops.c:224
#2 0x00007ffff7682e6a in _IO_new_file_fopen (fp=fp@entry=0x5555558993a0,
filename=filename@entry=0x7ffff7770f7c "/proc/meminfo", mode=<optimized out>,
mode@entry=0x7ffff776eb10 "rce", is32not64=is32not64@entry=1) at fileops.c:332
#3 0x00007ffff76780c4 in __fopen_internal (
filename=filename@entry=0x7ffff7770f7c "/proc/meminfo",
mode=mode@entry=0x7ffff776eb10 "rce", is32=is32@entry=1) at iofopen.c:90
#4 0x00007ffff767810a in _IO_new_fopen (filename=filename@entry=0x7ffff7770f7c "/proc/meminfo",
mode=mode@entry=0x7ffff776eb10 "rce") at iofopen.c:103
#5 0x00007ffff76f288c in phys_pages_info (format=format@entry=0x7ffff7770fc5 "MemTotal: %ld kB")
at ../sysdeps/unix/sysv/linux/getsysstats.c:296
#6 0x00007ffff76f2c9c in __get_phys_pages () at ../sysdeps/unix/sysv/linux/getsysstats.c:340
#7 0x00007ffff76c784a in posix_sysconf (name=85) at ../sysdeps/posix/sysconf.c:632
#8 linux_sysconf (name=85) at ../sysdeps/unix/sysv/linux/x86_64/../sysconf.c:145
#9 __GI___sysconf (name=name@entry=85) at ../sysdeps/unix/sysv/linux/x86_64/sysconf.c:36
#10 0x00007ffff764511b in __GI_qsort_r (b=0x555555880d98, n=252, s=8,
cmp=0x55555556b27f <ArrayList_OfPrefix4_sort_compare>, arg=0x0) at msort.c:187
#11 0x000055555556ac6d in ArrayList_sort (vlist=0x555555878958,
compare=0x55555556b27f <ArrayList_OfPrefix4_sort_compare>) at util/ArrayList.c:85
#12 0x000055555556b2fb in ArrayList_OfPrefix4_sort (list=0x555555878958)
at ./util/ArrayList.h:105
#13 0x000055555556ce23 in genPrefixes4 (prefixes=0x555555851cc8, exceptions=0x555555851e88,
localPrefixes=0x555555851da8, alloc=0x55555585fdc8) at tunnel/RouteGen.c:514
#14 0x000055555556d441 in getGeneratedRoutes (rp=0x555555851998, alloc=0x55555585fdc8)
at tunnel/RouteGen.c:619
#15 0x000055555556d60f in RouteGen_commit (rg=0x555555851998, tunName=0x5555558954d8 "tun0",
tempAlloc=0x55555585fdc8, eh=0x7fffffffa5d0) at tunnel/RouteGen.c:644
#16 0x000055555557082b in incomingAddresses (d=0x55555589feb8, conn=0x55555589a568,
alloc=0x55555585fdc8, context=0x555555852588) at tunnel/IpTunnel.c:519
#17 0x0000555555570abe in incomingControlMessage (message=0x555555836488, conn=0x55555589a568,
context=0x555555852588) at tunnel/IpTunnel.c:556
#18 0x000055555557146c in ip6FromNode (message=0x555555836488, conn=0x55555589a568,
context=0x555555852588) at tunnel/IpTunnel.c:686
#19 0x00005555555718fe in incomingFromNode (message=0x555555836488, nodeIf=0x5555558525a0)
at tunnel/IpTunnel.c:747
#20 0x00005555555b9e5c in Iface_send (iface=0x555555851618, msg=0x555555836488)
at ./interface/Iface.h:69
#21 0x00005555555b9f9d in Iface_next (iface=0x555555851618, msg=0x555555836488)
at ./interface/Iface.h:125
#22 0x00005555555ba38c in incomingFromSessionManagerIf (msg=0x555555836488,
sessionManagerIf=0x5555558515e8) at net/UpperDistributor.c:72
#23 0x00005555555b41d9 in Iface_send (iface=0x555555851050, msg=0x555555836488)
at ./interface/Iface.h:69
#24 0x00005555555b431a in Iface_next (iface=0x555555851050, msg=0x555555836488)
at ./interface/Iface.h:125
#25 0x00005555555b5ef5 in incomingFromSwitchIf (msg=0x555555836488, iface=0x555555851038)
at net/SessionManager.c:330
#26 0x00005555555b9507 in Iface_send (iface=0x555555850218, msg=0x555555836488)
at ./interface/Iface.h:69
#27 0x00005555555b9648 in Iface_next (iface=0x555555850218, msg=0x555555836488)
at ./interface/Iface.h:125
#28 0x00005555555b9903 in incomingFromSwitchIf (msg=0x555555836488, switchIf=0x5555558501e8)
at net/SwitchAdapter.c:68
#29 0x000055555559bf0c in Iface_send (iface=0x55555584b8d8, msg=0x555555836488)
at ./interface/Iface.h:69
#30 0x000055555559c04d in Iface_next (iface=0x55555584b8d8, msg=0x555555836488)
at ./interface/Iface.h:125
#31 0x000055555559d2cf in receiveMessage (message=0x555555836488, iface=0x55555584bb60)
at switch/SwitchCore.c:229
#32 0x00005555555a225f in Iface_send (iface=0x555555886478, msg=0x555555836488)
at ./interface/Iface.h:69
#33 0x00005555555a23a0 in Iface_next (iface=0x555555886478, msg=0x555555836488)
at ./interface/Iface.h:125
#34 0x00005555555a3c6b in receivedPostCryptoAuth (msg=0x555555836488, ep=0x555555886478,
ic=0x555555850698) at net/InterfaceController.c:451
#35 0x00005555555a4e3f in handleIncomingFromWire (msg=0x555555836488, addrIf=0x5555558736d8)
at net/InterfaceController.c:703
#36 0x00005555555986ff in Iface_send (iface=0x555555836b18, msg=0x555555836488)
at ./interface/Iface.h:69
#37 0x0000555555598f63 in incoming (handle=0x555555836b60, nread=228, buf=0x7fffffffb350,
addr=0x7fffffffb3a0, flags=0) at util/events/libuv/UDPAddrIface.c:179
#38 0x0000555555608f28 in uv__udp_recvmsg (loop=0x5555558352b0, w=0x555555836bb0, revents=1)
at ../src/unix/udp.c:219
#39 0x0000555555608d19 in uv__udp_io (loop=0x5555558352b0, w=0x555555836bb0, revents=1)
at ../src/unix/udp.c:157
#40 0x000055555560a254 in uv__io_poll (loop=0x5555558352b0, timeout=78)
at ../src/unix/linux-core.c:284
#41 0x00005555555f9afa in uv_run (loop=0x5555558352b0, mode=UV_RUN_DEFAULT)
at ../src/unix/core.c:284
#42 0x000055555555f520 in EventBase_beginLoop (eventBase=0x555555835268)
at util/events/libuv/EventBase.c:83
#43 0x00005555555bd312 in Core_main (argc=3, argv=0x7fffffffec38) at admin/angel/Core.c:339
#44 0x00005555555c55d4 in main (argc=3, argv=0x7fffffffec38) at client/cjdroute2.c:521
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment