Archived
This forum has been archived. Please start a new discussion on GitHub.
gdb segmentation fault on dereference pointers through Ice handles
ngarimu
in Help Center
I'm getting SEGV from gdb itself (not the actual application) when trying to print an Ice generated object through the pointer held by an IceInternal::Handle (the default pointer type generated in C++ by slice2cpp).
The specific steps are (given an IceInternal::Handle) as follows:
(gdb) p arg
$1 = (const EventPtr &) @<address>: {<IceUtil::HandleBase<Event>> = {_ptr = <address>, <No data fields>}
(gdb) p *arg._ptr
Debugger segmentation fault (core dumped)
Has anyone else experienced this?
The specific steps are (given an IceInternal::Handle) as follows:
(gdb) p arg
$1 = (const EventPtr &) @<address>: {<IceUtil::HandleBase<Event>> = {_ptr = <address>, <No data fields>}
(gdb) p *arg._ptr
Debugger segmentation fault (core dumped)
Has anyone else experienced this?
0
