segmentation-fault
How to write a segmentation fault handler, so that the faulty instruction is not restarted? (C and Linux)
I wrote a segmentation fault handler but the problem is, the instruction at which the fault is happening is restarted after going to the handler, and this causes the handler to go to infinite loop.[详细]
2023-03-26 10:01 分类:问答Why does std::sort throw a segmentation fault on this code?
Can someone explai开发者_开发问答n why the sort below causes seg faults? Is this a known bug with g++ (sorting vector of pointers)? I am compiling with g++ 4.5.2.[详细]
2023-03-26 07:59 分类:问答What can cause segmentation faults in C++? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-03-26 00:21 分类:问答pyqt4 seg fault sequential app start stop
I\'m trying to read webpages using pyqt. I need to call a method multiple times with different URLs. I am currently using code similar to: http://blog.sitescraper.net/2010/06/scraping-javascript-webpa[详细]
2023-03-25 19:43 分类:问答segmentation fault with negative index
This code fragment gives segfault on the line with ->, please note n=3 real_t _b[n+1]; real_t * b = 开发者_开发问答_b+1;[详细]
2023-03-25 18:15 分类:问答String format works in fprintf but doesn't work in sprintf, gives segmentation fault
fprintf(fp,\"IP: %d:%.*s\\n\", ip, strstr(strstr(p->data, \"User-Agent:\"),\"\\n\") - strstr(p->data, \"User-Agent:\"),[详细]
2023-03-25 16:25 分类:问答Segmentation fault in small C program
I\'m writing a C program. It compiles fine but when I try to run the binary I get a seg fault. I ran gdb but I got a pr开发者_JS百科oblem at the following line[详细]
2023-03-25 11:39 分类:问答Calling member variable's virtual function within destructor causes seg fault
I\'m having a very odd problem that I\'m hoping someone has come across. class Letter { public: Letter() virtual ~Letter()[详细]
2023-03-25 11:07 分类:问答c++ different error depends on whether or not I'm printing a variable
Preface This is probably a bad question but I\'m truly hopeless here. I know that I my question is a bad one since it is highly specific to my problem but I\'ll try to describe the problem the best an[详细]
2023-03-24 03:00 分类:问答Memcpy segfaulting with valid pointers
I\'m using libcurl in my program, and running into a segfault. Before I filed a bug with the curl project, I thought I\'d do a little debugging.What I found seemed very odd to me, and I haven\'t been[详细]
2023-03-23 19:33 分类:问答
加载中,请稍侯......