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 693695 - Memory leak running testGObjectClass.js in testDerived
Memory leak running testGObjectClass.js in testDerived
Status: RESOLVED DUPLICATE of bug 693676
Product: gjs
Classification: Bindings
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks:
 
 
Reported: 2013-02-13 06:38 UTC by Stef Walter
Modified: 2013-02-13 13:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stef Walter 2013-02-13 06:38:54 UTC
Here's what I'm doing:

./gjs-unit -p /js/GObjectClass

/js/GObjectClass:       JS LOG: running test testDerived
   JS MEMORY: Memory report: before destroying context
   JS MEMORY:   95 objects currently alive
   JS MEMORY:            boxed = 4
   JS MEMORY:           gerror = 0
   JS MEMORY:          closure = 2
   JS MEMORY:         database = 0
   JS MEMORY:         function = 67
   JS MEMORY:         importer = 2
   JS MEMORY:               ns = 4
   JS MEMORY:           object = 11
   JS MEMORY:            param = 3
   JS MEMORY:             repo = 1
   JS MEMORY:        resultset = 0
   JS MEMORY:         weakhash = 0
   JS MEMORY:        interface = 1
   JS MEMORY: Memory report: after destroying context
   JS MEMORY:   2 objects currently alive
   JS MEMORY:            boxed = 0
   JS MEMORY:           gerror = 0
   JS MEMORY:          closure = 2
   JS MEMORY:         database = 0
   JS MEMORY:         function = 0
   JS MEMORY:         importer = 0
   JS MEMORY:               ns = 0
   JS MEMORY:           object = 0
   JS MEMORY:            param = 0
   JS MEMORY:             repo = 0
   JS MEMORY:        resultset = 0
   JS MEMORY:         weakhash = 0
   JS MEMORY:        interface = 0

** (/data/projects/gjs/.libs/gjs-unit:25274): ERROR **: after destroying context: JavaScript objects were leaked.

FWIW, commenting out all other tests in testGObjectClass.js still results in the above error.
Comment 1 Giovanni Campagna 2013-02-13 13:55:08 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

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