Skip to main content

All Questions

Filter by
Sorted by
Tagged with
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 ...
Kyza's user avatar
  • 5
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 ...
Brian Smith's user avatar
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 ...
Joshua van Niekerk's user avatar
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 ==...
Adeeb Twait's user avatar
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 ...
L.B.'s user avatar
  • 109