Hi Ian,
When I call the same function from pure C code, I am able to get the
complete stack and it is not reporting that the stack is corrupted. I am
expecting the same C stack when I use CGO also. Please kindly help with
this.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000
Hi Ian,
Thanks for your quick reply. I have now tried setting the CGO_CFLAGS to -g.
Now I am seeing the following BT. It is reporting "corrupt stack".
(gdb) bt
#0 runtime.raise () at /usr/local/go/src/runtime/sys_linux_amd64.s:159
#1 0x00443345 in runtime.dieFromSignal (sig=6) at
/usr/l
On Thu, Jan 5, 2023 at 9:02 PM mariappan balraj
wrote:
>
> Thanks for your reply. This point is clear. I am interested only in getting
> the complete C call stack only. I could able to get the GO stack by using the
> delve debugger.
>
> When I use the GDB, I am getting the following stack. In th
Hi Ian,
Thanks for your reply. This point is clear. I am interested only in getting
the complete C call stack only. I could able to get the GO stack by using
the delve debugger.
When I use the GDB, I am getting the following stack. In the stack I am
seeing the last C function called which test1()
On Thu, Dec 22, 2022 at 1:57 PM mariappan balraj
wrote:
>
> I have following programming where making CGO from GO code. test3() is called
> from Go code. Which calls test2() and which calls test1(). In test1(), there
> is a NULL pointer assignment. I could able to generate the core dump when
>
https://pkg.go.dev/go/build#hdr-Build_Constraints
On Thursday, 5 January 2023 at 15:36:16 UTC uppe...@gmail.com wrote:
> many of my colleges are working on Windows, they fail to run `go test`
> commands due to syscalls: our projects are heavily using syscalls, their
> existences make it impossi
https://pkg.go.dev/github.com/GoFarsi/paygap [note capitalization]
On Thursday, 5 January 2023 at 15:36:16 UTC ja...@live.com wrote:
> hi
>
> I want add new package to pkg.go.dev, I got error not found and check any
> things but not find why i got error.
>
> https://pkg.go.dev/github.com/gofars
many of my colleges are working on Windows, they fail to run `go test`
commands due to syscalls: our projects are heavily using syscalls, their
existences make it impossible to compile on Windows, which lead to this
situation where most of my colleges simple can't run any test code even
it's as
hi
I want add new package to pkg.go.dev, I got error not found and check any
things but not find why i got error.
https://pkg.go.dev/github.com/gofarsi/paygap
package: https://github.com/GoFarsi/paygap
--
You received this message because you are subscribed to the Google Groups
"golang-nuts