You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Travis Vitek (JIRA)" <ji...@apache.org> on 2007/10/10 00:24:51 UTC
[jira] Created: (STDCXX-582) purify reports memory leak in
_rw_bufcat from 0.printf test
purify reports memory leak in _rw_bufcat from 0.printf test
-----------------------------------------------------------
Key: STDCXX-582
URL: https://issues.apache.org/jira/browse/STDCXX-582
Project: C++ Standard Library
Issue Type: Improvement
Components: Tests
Reporter: Travis Vitek
Assignee: Travis Vitek
Priority: Trivial
Fix For: 4.2.1
The function test_errno() doesn't deallocate memory allocated inside rw_sprintfa().
MLK: 11618 bytes leaked in 256 blocks
* This memory was allocated from:
malloc [rtlib.o]
_rw_bufcat(Buffer&, char const*, unsigned) [printf.cpp:475]
_rw_fmtstr(FmtSpec const&, Buffer&, char const*, unsigned) [printf.cpp:2399]
_rw_fmterrno(FmtSpec const&, Buffer&, int) [fmt_bits.cpp:1006]
_rw_vasnprintf_c99(FmtSpec*, unsigned, Buffer&, VarArgs*) [printf.cpp:612]
_rw_pvasnprintf(Buffer&, char const*, VarArgs*) [printf.cpp:901]
* Block of 104 bytes at 0x8162138
* Block of 100 bytes at 0x8161fe0
* Block of 96 bytes at 0x8162de0
* Block of 92 bytes at 0x81621f0
* Block of 86 bytes at 0x8162800
* Block of 84 bytes at 0x8162c98
* Block of 82 bytes at 0x8161e00
[snipped]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (STDCXX-582) purify reports memory leak in
_rw_bufcat from 0.printf test
Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533680 ]
Farid Zaripov commented on STDCXX-582:
--------------------------------------
Commited thus: http://svn.apache.org/viewvc?rev=583398&view=rev
> purify reports memory leak in _rw_bufcat from 0.printf test
> -----------------------------------------------------------
>
> Key: STDCXX-582
> URL: https://issues.apache.org/jira/browse/STDCXX-582
> Project: C++ Standard Library
> Issue Type: Improvement
> Components: Tests
> Reporter: Travis Vitek
> Assignee: Travis Vitek
> Priority: Trivial
> Fix For: 4.2.1
>
> Attachments: stdcxx-582.patch
>
>
> The function test_errno() doesn't deallocate memory allocated inside rw_sprintfa().
> MLK: 11618 bytes leaked in 256 blocks
> * This memory was allocated from:
> malloc [rtlib.o]
> _rw_bufcat(Buffer&, char const*, unsigned) [printf.cpp:475]
> _rw_fmtstr(FmtSpec const&, Buffer&, char const*, unsigned) [printf.cpp:2399]
> _rw_fmterrno(FmtSpec const&, Buffer&, int) [fmt_bits.cpp:1006]
> _rw_vasnprintf_c99(FmtSpec*, unsigned, Buffer&, VarArgs*) [printf.cpp:612]
> _rw_pvasnprintf(Buffer&, char const*, VarArgs*) [printf.cpp:901]
> * Block of 104 bytes at 0x8162138
> * Block of 100 bytes at 0x8161fe0
> * Block of 96 bytes at 0x8162de0
> * Block of 92 bytes at 0x81621f0
> * Block of 86 bytes at 0x8162800
> * Block of 84 bytes at 0x8162c98
> * Block of 82 bytes at 0x8161e00
> [snipped]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (STDCXX-582) purify reports memory leak in
_rw_bufcat from 0.printf test
Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Farid Zaripov resolved STDCXX-582.
----------------------------------
Resolution: Fixed
> purify reports memory leak in _rw_bufcat from 0.printf test
> -----------------------------------------------------------
>
> Key: STDCXX-582
> URL: https://issues.apache.org/jira/browse/STDCXX-582
> Project: C++ Standard Library
> Issue Type: Improvement
> Components: Tests
> Affects Versions: 4.2.0
> Reporter: Travis Vitek
> Assignee: Travis Vitek
> Priority: Trivial
> Fix For: 4.2.1
>
> Attachments: stdcxx-582.patch
>
>
> The function test_errno() doesn't deallocate memory allocated inside rw_sprintfa().
> MLK: 11618 bytes leaked in 256 blocks
> * This memory was allocated from:
> malloc [rtlib.o]
> _rw_bufcat(Buffer&, char const*, unsigned) [printf.cpp:475]
> _rw_fmtstr(FmtSpec const&, Buffer&, char const*, unsigned) [printf.cpp:2399]
> _rw_fmterrno(FmtSpec const&, Buffer&, int) [fmt_bits.cpp:1006]
> _rw_vasnprintf_c99(FmtSpec*, unsigned, Buffer&, VarArgs*) [printf.cpp:612]
> _rw_pvasnprintf(Buffer&, char const*, VarArgs*) [printf.cpp:901]
> * Block of 104 bytes at 0x8162138
> * Block of 100 bytes at 0x8161fe0
> * Block of 96 bytes at 0x8162de0
> * Block of 92 bytes at 0x81621f0
> * Block of 86 bytes at 0x8162800
> * Block of 84 bytes at 0x8162c98
> * Block of 82 bytes at 0x8161e00
> [snipped]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (STDCXX-582) purify reports memory leak in
_rw_bufcat from 0.printf test
Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Travis Vitek updated STDCXX-582:
--------------------------------
Attachment: stdcxx-582.patch
2007-10-09 Travis Vitek <vi...@roguewave.com>
STDCXX-582
* 0.printf.cpp (test_errno): Deallocate memory allocated
automatically by rw_snprintfa().
> purify reports memory leak in _rw_bufcat from 0.printf test
> -----------------------------------------------------------
>
> Key: STDCXX-582
> URL: https://issues.apache.org/jira/browse/STDCXX-582
> Project: C++ Standard Library
> Issue Type: Improvement
> Components: Tests
> Reporter: Travis Vitek
> Assignee: Travis Vitek
> Priority: Trivial
> Fix For: 4.2.1
>
> Attachments: stdcxx-582.patch
>
>
> The function test_errno() doesn't deallocate memory allocated inside rw_sprintfa().
> MLK: 11618 bytes leaked in 256 blocks
> * This memory was allocated from:
> malloc [rtlib.o]
> _rw_bufcat(Buffer&, char const*, unsigned) [printf.cpp:475]
> _rw_fmtstr(FmtSpec const&, Buffer&, char const*, unsigned) [printf.cpp:2399]
> _rw_fmterrno(FmtSpec const&, Buffer&, int) [fmt_bits.cpp:1006]
> _rw_vasnprintf_c99(FmtSpec*, unsigned, Buffer&, VarArgs*) [printf.cpp:612]
> _rw_pvasnprintf(Buffer&, char const*, VarArgs*) [printf.cpp:901]
> * Block of 104 bytes at 0x8162138
> * Block of 100 bytes at 0x8161fe0
> * Block of 96 bytes at 0x8162de0
> * Block of 92 bytes at 0x81621f0
> * Block of 86 bytes at 0x8162800
> * Block of 84 bytes at 0x8162c98
> * Block of 82 bytes at 0x8161e00
> [snipped]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (STDCXX-582) purify reports memory leak in
_rw_bufcat from 0.printf test
Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Farid Zaripov closed STDCXX-582.
--------------------------------
> purify reports memory leak in _rw_bufcat from 0.printf test
> -----------------------------------------------------------
>
> Key: STDCXX-582
> URL: https://issues.apache.org/jira/browse/STDCXX-582
> Project: C++ Standard Library
> Issue Type: Improvement
> Components: Tests
> Affects Versions: 4.2.0
> Reporter: Travis Vitek
> Assignee: Travis Vitek
> Priority: Trivial
> Fix For: 4.2.1
>
> Attachments: stdcxx-582.patch
>
>
> The function test_errno() doesn't deallocate memory allocated inside rw_sprintfa().
> MLK: 11618 bytes leaked in 256 blocks
> * This memory was allocated from:
> malloc [rtlib.o]
> _rw_bufcat(Buffer&, char const*, unsigned) [printf.cpp:475]
> _rw_fmtstr(FmtSpec const&, Buffer&, char const*, unsigned) [printf.cpp:2399]
> _rw_fmterrno(FmtSpec const&, Buffer&, int) [fmt_bits.cpp:1006]
> _rw_vasnprintf_c99(FmtSpec*, unsigned, Buffer&, VarArgs*) [printf.cpp:612]
> _rw_pvasnprintf(Buffer&, char const*, VarArgs*) [printf.cpp:901]
> * Block of 104 bytes at 0x8162138
> * Block of 100 bytes at 0x8161fe0
> * Block of 96 bytes at 0x8162de0
> * Block of 92 bytes at 0x81621f0
> * Block of 86 bytes at 0x8162800
> * Block of 84 bytes at 0x8162c98
> * Block of 82 bytes at 0x8161e00
> [snipped]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.