After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 762837 - test_local_metadata: double free or corruption
test_local_metadata: double free or corruption
Status: RESOLVED DUPLICATE of bug 760565
Product: grilo
Classification: Other
Component: plugins
0.2.x
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2016-02-28 21:13 UTC by Alberto Garcia
Modified: 2016-02-29 11:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Valgrind output (38.72 KB, text/plain)
2016-02-29 10:24 UTC, Alberto Garcia
Details

Description Alberto Garcia 2016-02-28 21:13:05 UTC
I'm having problems building grilo-plugins 0.2.17 with grilo 0.2.15.

"make check" fails because of test_local_metadata:

/lua-factory/video-title-parsing/resolve/episodes: OK
/lua-factory/video-title-parsing/resolve/title-override: OK
*** Error in `/tmp/buildd/grilo-plugins-0.2.17/tests/local-metadata/test_local_metadata': corrupted double-linked list: 0x00005555558398b0 ***

Program received signal SIGABRT, Aborted.
0x00007ffff6769507 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
55      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
  • #0 __GI_raise
    at ../sysdeps/unix/sysv/linux/raise.c line 55
  • #1 __GI_abort
    at abort.c line 89
  • #2 __libc_message
    at ../sysdeps/posix/libc_fatal.c line 175
  • #3 malloc_printerr
    at malloc.c line 4965
  • #4 malloc_consolidate
    at malloc.c line 4142
  • #5 _int_free
    at malloc.c line 4042
  • #6 l_alloc
    at lauxlib.c line 940
  • #7 luaM_realloc_
    at lmem.c line 86
  • #8 freeobj
    at lgc.c line 709
  • #9 sweeplist
    at lgc.c line 737
  • #10 luaC_freeallobjects
    at lgc.c line 974
  • #11 close_state
    at lstate.c line 236
  • #12 grl_lua_factory_source_finalize
    at grl-lua-factory.c line 528
  • #13 g_object_unref
    from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  • #14 grl_registry_shutdown
    at grl-registry.c line 1025
  • #15 grl_deinit
    at grilo.c line 199
  • #16 main
    at test_local_metadata.c line 204
The lua version I'm using is 5.3.1.
Comment 1 Victor Toso 2016-02-29 09:54:53 UTC
Hi Alberto,

Does it happen 100%? I can't reproduce here with the versions you mentioned. My lua is 5.3.0 on Fedora 23.
Comment 2 Bastien Nocera 2016-02-29 10:01:58 UTC
A valgrind output would be appreciated.
Comment 3 Alberto Garcia 2016-02-29 10:24:57 UTC
Created attachment 322642 [details]
Valgrind output

Here's the valgrind output.
Comment 5 Alberto Garcia 2016-02-29 10:38:03 UTC
Yeah, that seems to fix it, thanks!
Comment 6 Victor Toso 2016-02-29 11:33:47 UTC
Marking this as duplicated. The patch from comment #4 was already backported to 0.2.x branch.

As mentioned in the original bug there is no plans for another release on 0.2.x branch...

https://bugzilla.gnome.org/show_bug.cgi?id=760565#c20

*** This bug has been marked as a duplicate of bug 760565 ***