Further tests show that there are less raptor_new_uri_from_counted_string() + raptor_uri_copy() calls than raptor_free_uri() calls.
This means that some object is deallocated twice. 16.08.2014, 00:18, "Victor Porton" <por...@narod.ru>: > My testing code for Ada bindings of Raptor at > https://github.com/vporton/redland-bindings/tree/ada2012 (the script > run_all_tests) causes an infinite loop. > > When run under GDB it instead of infinite loop: > > Program received signal SIGSEGV, Segmentation fault. > malloc_consolidate (av=0xf7b43420 <main_arena>) at malloc.c:4151 > 4151 malloc.c: No such file or directory. > > The particular Ada line which causes the infinite loop: > > Assert(To_String(Datatype(Get_Literal(Term_1))) = "http://example.org", > "Term_1 datatype"); > > My question: May this error be caused by an object not deallocated before > finalizing "world" object? > > In other words: If an object is not deallocated, is it just memory leak, or > may it lead for more serious errors? -- Victor Porton - http://portonvictor.org _______________________________________________ redland-dev mailing list redland-dev@lists.librdf.org http://lists.librdf.org/mailman/listinfo/redland-dev