I was thrilled to see that all the pictures were recovered to the jpg-folder with the correct filenames, but shocked to see that my program was still running! I had to Ctrl + C to end it.

I managed to get the program to close, and I have run Valgrind to weed out some errors. All the pictures are recovered in my jpg-folder, but check50 won't accept them. Here is a link to my check50 sandbox output.

Why is check50 not accepting this result?

  • What does gdb say?
    – kzidane
    Nov 12, 2014 at 11:10
  • GDB gave me more details on the error at least.. I am unable to find the EOF, so the last picture fills up to 2.1 GB, but the program does´t crash, it just stalls. This is my first question, so could you help me with how I can show you my code without posting the whole thing in the question? By the way, thanks a lot @Kareem for all your answers on this site! You´ve already saved me several times!
    – BamseB
    Nov 12, 2014 at 20:32
  • Sure! Feel free to email me with your source code at [email protected]!
    – kzidane
    Nov 12, 2014 at 22:20
  • Some related links to check out: this conversation on reddit; this older question here on SE.
    – Air
    Nov 13, 2014 at 21:28


You must log in to answer this question.

Browse other questions tagged .