Re: [Vala] How to use vala Linux.backtrace?
- From: Christian Johnson <_c_ mail com>
- To: vala-list gnome org
- Subject: Re: [Vala] How to use vala Linux.backtrace?
- Date: Thu, 28 Nov 2013 21:08:35 +0000 (UTC)
Christian Johnson <_c_ > writes:
I get a segmentation fault when I try to access any element in the strings
array. (In the print method)
I got around the problem by using the fd method the write directly to stdout.
void*[] array = new void*[10];
int size = Linux.backtrace (array, 10);
Linux.backtrace_symbols_fd (array, size, 1);
But I would still like to know what I was doing wrong...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]