|
From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2009-01-24 18:57:33
|
If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=506301 gnome-perl | general | Ver: unspecified ------- Comment #7 from Quentin Sculo 2009-01-24 18:57 UTC ------- Sorry I didn't reply, I wanted to do more tests, but I forgot. I don't think the backtraces will help, because when it crashes, it is at random places. Anyway, I discovered that the errors only happened when the file was specified with an absolute path, not a relative path. The crashes are very random, but I managed to reproduced the error messages below on ubuntu 8.10, fedora 10 and mandriva 2009.0 with the example file from ubuntu that can be downloaded at : http://launchpadlibrarian.net/18785858/patas_de_trapo.oga With this file, specified with an absolute path, I reliably get these errors : ----play 35 -----stop 35 GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GObject' at bug_changesink.pl line 29. GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed at bug_changesink.pl line 29. -----play 36 -----stop 36 GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `GObject' at bug_changesink.pl line 29. GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed at bug_changesink.pl line 29. -----play 37 -----stop 37 Also, there is a big memory usage difference, when run with relative path, the virtual memory usage, as seen by top, is around 35m, it is around 70m when run with an absolute path. Note that, even with the relative path, the memory usage rise, slowly, but consistently, so there is probably a leak even with a relative path. When run with valgrind, I get very different numbers depending on if I use an absolute or a relative path (both stopped with a ctrl-c after ~50 iterations) : *** with relative path (no error messages) : ==12564== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 269 from 1) ==12564== malloc/free: in use at exit: 4,738,924 bytes in 51,063 blocks. ==12564== malloc/free: 113,871 allocs, 62,808 frees, 7,779,096 bytes allocated. ==12564== For counts of detected errors, rerun with: -v ==12564== searching for pointers to 51,063 not-freed blocks. ==12564== checked 4,560,968 bytes. ==12564== ==12564== LEAK SUMMARY: ==12564== definitely lost: 4,223 bytes in 77 blocks. ==12564== possibly lost: 202,069 bytes in 173 blocks. ==12564== still reachable: 4,532,632 bytes in 50,813 blocks. ==12564== suppressed: 0 bytes in 0 blocks. *** with absolute path (and error messages) : 2477== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 245 from 1) ==12477== malloc/free: in use at exit: 5,406,094 bytes in 57,093 blocks. ==12477== malloc/free: 287,703 allocs, 230,610 frees, 44,634,021 bytes allocated. ==12477== For counts of detected errors, rerun with: -v ==12477== searching for pointers to 57,093 not-freed blocks. ==12477== checked 31,032,484 bytes. ==12477== ==12477== LEAK SUMMARY: ==12477== definitely lost: 4,223 bytes in 77 blocks. ==12477== possibly lost: 336,917 bytes in 1,190 blocks. ==12477== still reachable: 5,064,954 bytes in 55,826 blocks. ==12477== suppressed: 0 bytes in 0 blocks. -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=506301. |