bugPSPP - Bugs: bug #47074, Memory Leaks

 
 

bug #47074: Memory Leaks

Submitter:  John Darrington <jmd>
Submitted:  Fri 05 Feb 2016 07:59:18 PM UTC
   
 
Category:  Other Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 21 Feb 2016 05:44:07 AM UTC, comment #3: 

The remaining memory leaks that I see have a form similar to:


==9559== 12,551 (1,024 direct, 11,527 indirect) bytes in 4 blocks are definitely lost in loss record 1,077 of 1,082
==9559==    at 0x402D32C: realloc (vg_replace_malloc.c:785)
==9559==    by 0x4CC86E0: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.8.0)
==9559==    by 0x4CC8F40: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.8.0)
==9559==    by 0x4CC921D: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.8.0)
==9559==    by 0x4547781: ??? (in /usr/lib/i386-linux-gnu/libcairo.so.2.11400.0)
==9559==    by 0x42A272B: ??? (in /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0.3600.8)
==9559==    by 0x4C9C0DA: ??? (in /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.3600.8)
==9559==    by 0x4C9DF79: ??? (in /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.3600.8)
==9559==    by 0x42C0338: pango_font_map_load_fontset (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3600.8)
==9559==    by 0x42BD0ED: ??? (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3600.8)
==9559==    by 0x42BE566: pango_itemize_with_base_dir (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3600.8)
==9559==    by 0x42C7018: ??? (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3600.8)
==9559==    by 0x42C8F6C: ??? (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3600.8)
==9559==    by 0x42C95D4: pango_layout_get_size (in /usr/lib/i386-linux-gnu/libpango-1.0.so.0.3600.8)
==9559==    by 0x40FD560: xr_set_cairo (cairo.c:370)
==9559==    by 0x40FF529: xr_create (cairo.c:445)
==9559==    by 0x40FF6CB: xr_pdf_create (cairo.c:482)
==9559==    by 0x40F2EF3: output_driver_create (driver.c:384)
==9559==    by 0x804A868: register_output_driver.part.3 (terminal-opts.c:102)
==9559==    by 0x804ADA6: register_output_driver (terminal-opts.c:98)
==9559==    by 0x804ADA6: terminal_opts_done (terminal-opts.c:321)


and I'm not really even sure that they're something we can control.  If there seems to be a real problem, I'll look closer, but I'm closing this for now.

Ben Pfaff <blp>
Group administrator
Sun 21 Feb 2016 05:39:34 AM UTC, comment #2: 

I pushed a number of additional memory leak fixes.

Ben Pfaff <blp>
Group administrator
Sun 21 Feb 2016 04:35:56 AM UTC, comment #1: 

I fixed several of these with commit 70f8feea0e7.

Ben Pfaff <blp>
Group administrator
Fri 05 Feb 2016 07:59:18 PM UTC, original submission:  

There are outstanding memory leaks revealed by make check-valgrind.

Many have a form similar to:

    at 0x4C28BED: malloc (vg_replace_malloc.c:263)
    by 0x52522B6: xmalloc (xmalloc.c:41)
    by 0x4F44761: render_page_allocate (render.c:576)
    by 0x4F448DA: create_page_with_exact_widths (render.c:609)
    by 0x4F4509C: render_page_create (render.c:797)
    by 0x4F469E2: render_pager_add_table (render.c:1458)
    by 0x4F46CD0: render_pager_create (render.c:1531)
    by 0x4F3A235: ascii_output_table_item (ascii.c:450)
    by 0x4F3A407: ascii_submit (ascii.c:494)
    by 0x4F3FCCC: output_submit__ (driver.c:131)
    by 0x4F3FE1B: output_submit (driver.c:170)
    by 0x4F4AB6C: table_item_submit (table-item.c:99)
    by 0x4F49ED9: tab_submit (tab.c:703)

John Darrington <jmd>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by blp (Posted a comment)
  • -email is unavailable- added by jmd (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-02-21 blp StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code