Project

General

Profile

Bug #5512

Memory leak in ecpp(7d)

Added by Marcel Telka almost 5 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
driver - device drivers
Start date:
2015-01-07
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

On every boot I see these small memory leaks:

CACHE             LEAKED           BUFCTL CALLER
ffffff00c4833508       1 ffffff00e2a39be8 allocb+0x9e
ffffff00c4833008       1 ffffff00ded82ea0 dblk_constructor+0x5a
------------------------------------------------------------------------
           Total       2 buffers, 256 bytes

streams_dblk_80 leak: 1 buffer, 192 bytes
            ADDR          BUFADDR        TIMESTAMP           THREAD
                            CACHE          LASTLOG         CONTENTS
ffffff00e2a39be8 ffffff00e1dd1a00       44dfeda3b9 ffffff00d048b080
                 ffffff00c4833508 ffffff00c51b53c0 ffffff00c6a128d8
                 kmem_cache_alloc_debug+0x2e0
                 kmem_cache_alloc+0xdd
                 allocb+0x9e
                 ecpp_putioc_stateful_copyin+0x38
                 ecpp_putioc+0x254
                 ecpp_wput+0x2a3
                 putnext+0x28f
                 strdoioctl+0x422
                 strioctl+0x58a
                 spec_ioctl+0x51
                 fop_ioctl+0x55
                 ioctl+0x9b

streams_mblk leak: 1 buffer, 64 bytes
            ADDR          BUFADDR        TIMESTAMP           THREAD
                            CACHE          LASTLOG         CONTENTS
ffffff00ded82ea0 ffffff00df5c4220       44dfeda350 ffffff00d048b080
                 ffffff00c4833008 ffffff00c51b5300 ffffff00c6833bb8
                 kmem_cache_alloc_debug+0x2e0
                 kmem_cache_alloc+0xdd
                 dblk_constructor+0x5a
                 kmem_cache_alloc_debug+0x14f
                 kmem_cache_alloc+0xdd
                 allocb+0x9e
                 ecpp_putioc_stateful_copyin+0x38
                 ecpp_putioc+0x254
                 ecpp_wput+0x2a3
                 putnext+0x28f
                 strdoioctl+0x422
                 strioctl+0x58a
                 spec_ioctl+0x51
                 fop_ioctl+0x55
                 ioctl+0x9b

This is while running as a guest in VirtualBox.


Related issues

Has duplicate illumos gate - Bug #5654: Memory leaks in fctl moduleRejected2015-02-24

Actions

Also available in: Atom PDF