Created
July 3, 2014 19:49
-
-
Save robxu9/2472363d9e4565ae93b0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) run | |
Starting program: /home/rxu/Documents/digitalocean/duplex/dpx-c/tests/check_dpx | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib64/libthread_db.so.1". | |
Running suite(s): DPX-C Core | |
[New Thread 0x7ffff7797700 (LWP 18462)] | |
failed to connect, waiting 1 second to try again | |
Now listening on 127.0.0.1:9876 | |
(0) Connecting to 127.0.0.1:9876 | |
1 | |
accepted connection from 127.0.0.1:50339 | |
(0) Connected. | |
First connection, routing... [index 0] | |
First connection, routing... [index 0] | |
Sending frame [0]: 0 bytes | |
12 | |
12-1 | |
12-2 | |
(0) Pumping started for channel 0 | |
[Switching to Thread 0x7ffff7797700 (LWP 18462)] | |
Breakpoint 1, _dpx_duplex_conn_read_frames (c=0x7ffff00eba10) at conn.c:68 | |
68 if (channel == NULL && frame->type == DPX_FRAME_OPEN) { | |
(gdb) n | |
69 if (_dpx_peer_handle_open(c->peer, c, frame)) { | |
(gdb) n | |
(0) Pumping started for channel 0 | |
70 dpx_frame_free(frame); | |
(gdb) n | |
71 continue; | |
(gdb) n | |
51 while (msgpack_unpacker_next(&unpacker, &result)) { | |
(gdb) n | |
47 while((read_size = fdread1(c->connfd, buf, DPX_DUPLEX_CONN_CHUNK)) > 0) { | |
(gdb) s | |
fdread1 (fd=5, buf=0x7ffff00fa010, n=8192) at fd.c:156 | |
156 fdwait(fd, 'r'); | |
(gdb) n | |
12-3 | |
12-4 | |
Program received signal SIGSEGV, Segmentation fault. | |
0x00007ffff00fc060 in ?? () | |
(gdb) bt | |
#0 0x00007ffff00fc060 in ?? () | |
#1 0x00007ffff79ac31c in _dpx_duplex_conn_read_frames (c=<error reading variable: Cannot access memory at address 0xf7db83f0>) at conn.c:69 | |
Backtrace stopped: previous frame inner to this frame (corrupt stack?) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment