Yichun Zhang

Results 937 comments of Yichun Zhang

@pavelnemirovsky BTW, official OpenResty or NGINX distributions always build with debug symbols out of the box (note: it has _nothing_ to do with debugging builds with `./configure --with-debug`).

@pavelnemirovsky Okay, seems like you have already installed the `openresty-debuginfo` package. I guess your `addr2line` utility invoked by the `ngx-backtrace` tool does not yet support separated debuginfo data from the...

@pavelnemirovsky Strange. Maybe you should try building the latest version of systemtap and elfutils from source?

@pavelnemirovsky This doc might be helpful. But you also need to update the version numbers there: https://openresty.org/en/build-systemtap.html BTW, also please ensure that you have installed those kernel-\* packages matching your...

@pavelnemirovsky BTW, you can also use `gdb` to translate those backtrace frame addresses like below: ``` (gdb) info symbol 0x41e5da ``` Your current gdb session needs to get attached to...

@pavelnemirovsky Good, gdb works, to some extend. But the backtraces are still incomplete. The debuginfo does not really take effect here. Strange. BTW, your backtrace above is a false positive...

I think you should give more more details about your operating system. It's a CentOS? CentOS 6.x? What version?

@pavelnemirovsky Maybe your running kernel does not match the kernel-debuginfo\* packages you have installed. Check with the `uname -r` command.

@pavelnemirovsky Indeed. You have no kernel-debuginfo-2.6.32-642.6.1.el6.x86_64 installed in your system. You should check it out yourself. I don't really have the time to do everything for you.

@pavelnemirovsky Then you should really ask on the systemtap mailing list instead. It's already OT here.