Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fluentd/ruby pagefault #562

Closed
eyberg opened this issue Feb 27, 2019 · 3 comments
Closed

fluentd/ruby pagefault #562

eyberg opened this issue Feb 27, 2019 · 3 comments

Comments

@eyberg
Copy link
Contributor

eyberg commented Feb 27, 2019

.....*snip*.....
 1 direct return: 93
 1 clock_gettime
 1 clock_gettime: clk_id 0
 1 direct return: 0
 1 clock_gettime
 1 clock_gettime: clk_id 0
 1 direct return: 0
 1 open
 1 open: "/etc/localtime", flags 80000, mode 1b6
 1 "/etc/localtime" - not found
 1 direct return: -2
 1 write
2019-02-27 19:46:48 +0000 [info]: #0 [debug_agent_input] listening dRuby uri="druby://127.0.0.1:24230" object="Fluent::Engine" worker=0
 1 direct return: 136
 1 socket
 1 direct return: 12
 1 fcntl
 1 direct return: 0
 1 fcntl
 1 direct return: 0
 1 fcntl
 1 direct return: 0
 1 setsockopt
 1 direct return: 0
 1 bind
 1 direct return: 0
 1 listen
 1 direct return: 0
 1 fstat
 1 fd 12, stat 0000000010223b2e0
Page fault
interrupt: 000000000000000e
frame: 0000000100201c00
error code: 0000000000000000
address: 0000000000000019
rax: 000000010223b370
rbx: 0000000000000001
rcx: 0000000103f8f000
rdx: 000000010223b370
rsi: 0000010000000000
rdi: 0000010000000000
rbp: 000000010223b208
rsp: 000000010223b1e8
r8: 0000000000000001
r9: 0000000000000010
r10: 0000000000000080
r11: 0000000000000010
r12: 0000000000000001
r13: 0000000000000001
r14: 0000010000000000
r15: 00000000015fd010
rip: 000000007f00af12   (table_find + 0000000000000019/0000000000000095)
flags: 0000000000000002
stack trace:
000000007f014fa4        (children + 0000000000000025/0000000000000083)
000000007f0151d8        (fill_stat + 0000000000000025/00000000000000a7)
000000007f01531c        (fstat + 00000000000000c2/00000000000000c9)
000000007f017337        (syscall_debug + 00000000000000a8/00000000000001b6)
000000007f0000c4        (syscall_enter + 0000000000000062/000000000000006f)
starting gdb
 1 sleep
                 3 run frame 00000000100202800, RIP=00000007000d073e1
                 3 set_robust_list
                 3 nosyscall set_robust_list
                 3 mmap
                 3 mmap: target 00000000000000000, size 8000000, prot 0, flags 4022, fd -1, offset 0
                 3    anon target: 7010000000, len: 8000000 (given size: 8000000)
                 3 direct return: 481304772608
                 3 munmap
                 3 direct return: 0
                 3 mprotect
                 3 direct return: 0
                 3 sched_getaffinity
                 3 direct return: 0
eyberg@dungeon:~/fl$ cat config.json
{
  "Args": ["/.gem/ruby/2.3.0/bin/fluentd", "-c", "/fluent/fluent.conf", "-vv", "--under-supervisor"],
  "Dirs": ["fluent"],
  "Files": ["/lib/x86_64-linux-gnu/librt.so.1", "/lib/x86_64-linux-gnu/libz.so.1", "/lib/x86_64-linux-gnu/libssl.so.1.0.0", "/lib/x86_64-linux-gnu/libcrypto.so.1.0.0"],
  "MapDirs": {"/home/eyberg/.gem/*": "/.gem" }
}
 ops load ruby_2.3.1 -d -c config.json

this is using druby underneath which is a cross-machine/cross-process rpc/serialization protocol so this might not really be worth looking at anyways - i've marked it low priority as such

@wjhun
Copy link
Contributor

wjhun commented Mar 2, 2019

It's trying to do an fstat on a socket, which isn't supported yet. Working on a fix.

@wjhun
Copy link
Contributor

wjhun commented Mar 2, 2019

See #526 for an update...I meant to put it here, though the crashes are the same at this point.

@eyberg
Copy link
Contributor Author

eyberg commented May 29, 2019

i think we can close this one - we're tracking #561

@eyberg eyberg closed this as completed May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants