I\'m working on trying to get a ruby extension written in c, working with ruby 1.9.2 on Mac OSX. I keep getting a segfault caused by a 64-bit pointer returned from a function being truncated to a 32-b
This question already has answers here:开发者_运维知识库 Closed 11 years ago. Possible Duplicate:
I have narrowed down the problem to this line: indg = nets[i]->adjlist[i].size();// indg is in a method of the Ensemble class
Below is one of our recent crash reports.It is not symbolicated, but after symbolication, it\'s pointing to main.m, which doesn\'t make any sense.Is there a way to get additional information out of th
I\'ve tried to eliminate the common causes of seg faults such as dereferencing a null pointer, but I\'m stumped.This error does not appear on my test machine in debug mode, but does appear on my produ
I am trying to natively buffer audio retrieved from the OpenSL ES API. To do this, I implemented a simple Queue in my C file, which holds the buffered data.
I am being given input in the form of: (8,7,15) (0,0,1) (0,3,2) (0,6,3) (1,0,4) (1,1,5) (2,1,6) (2,2,7) (2,5,8)
I\'m getting a segmentation fault which I believe is caused by the copy constructor. However, I can\'t find an example like this one anywhere online. I\'ve read about shallow copy and deep copy but I\
I am now trying for several days to run this code ... http://opencv.willowgarage.com/wiki/FaceDetection
numCheck is number between 1-1000.This code gives me a segfault only when I collect the results of sprintf in c开发者_JAVA百科harcheck. If I simply use sprintf without using the results, I don\'t get