Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 770 iov = (struct iovec*) &(req->bufs[req->write_index]);
- (gdb) n
- 771 iovcnt = req->nbufs - req->write_index;
- (gdb)
- 773 iovmax = uv__getiovmax();
- (gdb)
- 776 if (iovcnt > iovmax)
- (gdb)
- 784 if (req->send_handle) {
- (gdb)
- 829 if (iovcnt == 1) {
- (gdb)
- 830 n = write(uv__stream_fd(stream), iov[0].iov_base, iov[0].iov_len);
- (gdb) eval uv__stream_fd(stream)
- Bad format string, missing '"'.
- (gdb) eval "uv__stream_fd(stream)"
- Undefined command: "uv__stream_fd". Try "help".
- (gdb) p uv__stream_fd(stream)
- No symbol "uv__stream_fd" in current context.
- (gdb) p iov[0]
- $5 = {iov_base = 0x57b88a, iov_len = 7}
- (gdb) p iov[0].iov_base
- $6 = (void *) 0x57b88a
- (gdb) p (char*)iov[0].iov_base
- $7 = 0x57b88a "sonodi>"
- (gdb) p *stream
- $8 = {data = 0x0, loop = 0x7c3800 <default_loop_struct>, type = UV_TCP, close_cb = 0x0, handle_queue = {0x7c46e0,
- 0x7c38d0 <default_loop_struct+208>}, u = {fd = 0, reserved = {0x0, 0x0, 0x0, 0x0}}, next_closing = 0x0, flags = 286816,
- write_queue_size = 7, alloc_cb = 0x0, read_cb = 0x0, connect_req = 0x0, shutdown_req = 0x0, io_watcher = {cb = 0x56a839 <uv__server_io>,
- pending_queue = {0x7c4650, 0x7c4650}, watcher_queue = {0x7c4660, 0x7c4660}, pevents = 1, events = 1, fd = 10}, write_queue = {0x7c4818,
- 0x7c4818}, write_completed_queue = {0x7c4690, 0x7c4690}, connection_cb = 0x4052e0 <connection_cb>, delayed_error = 0, accepted_fd = -1,
- queued_fds = 0x0}
- (gdb) n
- Program received signal SIGPIPE, Broken pipe.
- 0x00007ffff74b5a60 in __write_nocancel () at ../sysdeps/unix/syscall-template.S:81
- 81 ../sysdeps/unix/syscall-template.S: No such file or directory.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement