All Questions
Tagged with parse segmentation-fault
5 questions
0
votes
1
answer
43
views
PSET6 Parse Segmentation Fault
My parse code seems to work fine but after it runs there is a segmentation fault. It isn't any of the other methods, and I just can't figure out why it is doing this. I think it has something to do ...
0
votes
1
answer
56
views
Problem when testing pset6 parse method - Segmentation Fault
I've been trying to test each part of the server pset as I go along, and so I copied, pasted, and wrote a little test program to make sure that the pieces are working individually. When I tried ...
0
votes
1
answer
69
views
Pset6 Server seg fault in load and main (because of parse)
Server is functional and gives the correct output using the curl requests individually. However, using gdb, if I use curl to request hello.html after I've requested cat.html (specifically), I get a ...
1
vote
1
answer
80
views
server.c segmentation fault
I couldn't find the cause of segmentation fault when i run the server
I have used valgrind to find where is the memory leaks .. and this is the result :
==2186== Memcheck, a memory error detector
==...
1
vote
1
answer
283
views
Pset6 (server) - parse function causes a segfault
Segmentation fault in my parse function (at strncpy(http, http_temp, 8);). See below relevant parts of function.
Valgrind returns error of not stack'd, malloc'd or (recently) free'd but I'm copying ...