[so] [Tema2][Windows] Passed dar cu segmentation fault

Adrian Pop popadrian1996 at gmail.com
Sun Mar 25 18:39:11 EEST 2018


Am reusit sa rezolv singur problema. Foloseam gresit LPTSTR (incercam sa
fac cast cu LPTSTR la s->verb->string, in loc sa folosesc get_word()).

O zi frumoasa!
Adrian

2018-03-25 17:23 GMT+03:00 Adrian Pop <popadrian1996 at gmail.com>:

> Buna ziua!
>
> Am implementat o parte din tema pentru Windows. Initial, am facut sa
> treaca doar testul 1 si 18: aparea passed si la restul failed. Ulterior am
> implementat redirectarile. Au trecut mai multe teste, insa inclusiv la
> testul 1 si 18, apare:
>
> "./_test/run_test.sh: line 136:  3880 Segmentation fault      timeout
> $TEST_TIMEOUT $BUFFERING_WRAPPER $EXEC < "${INPUT}" &> $OUTPUT
>
> Acest mesaj apare chiar daca testul trece.
> Care ar putea fi problema? M-am asigurat ca se inchid toate handle-urile
> si ca nu dezaloc aiurea memorie (chiar am comentat toate free-urile).
> Rulate manual, totul se termina ok.
>
> User: adrian.pop0105
> Multumesc!
>
> --
> Adrian Pop
> Student @University Politehnica of Bucharest
>



-- 
Adrian Pop
Student @University Politehnica of Bucharest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20180325/ae2b7178/attachment.html>


More information about the so mailing list