I\'m trying to use an Objective-C class made in Python to do this but Objective-C can\'t call the method which calls the python function.
I\'m compiling using Code::Blocks on Windows 7 using the MinGW compiler (which I can only assume is the latest version; both Code::Blocks and MinGW were installed this past week). My issue crops up un
PLEASE READ THE UPDATE #2 BELOW IF YOU ARE INTERESTED IN THIS PROBLEM ;) Say I put this code into the JS of my extension.
SOLVED Well, it seems that I\'m receiving a segmentation fault when I try deleting my class pointer. I\'ve tried many things, but yet haven\'t got it to work. Anyways, here is my
I\'m building with g++, and yesterday a helpful person on SO told me to compile with the -D_GLIBCXX_DEBUG and -D_GLIBCXX_DEBUG_PEDANTIC flags.I did so, and I spent most of yesterday tweaking my code t
My C application has the following two lines: char buf[1024]; sprintf(buf, \"%s/game/rabbit/habit/cmd/talkPipe\", getenv(\"APPLICATION_PATH\"));
I wanted to wrap a small C++ code allocating an array with ctypes and there is something wrong with storing the address in a c_void_p object.
I define this structure: struct s_molecule { std::string res_name; std::vector<t_particle> my_particles;
In the code snippet, I expected a segmentation fault as soon as trying to assign a value to count[1]. However the code continues and executes the second for-loop, only indicating a segmentation fault
Sometimes when one of our Apache web servers is restarted, we experience segmentation faults when any PHP page is subsequently accessed. The following line is printed in the httpd error_log: