Re: [RTEMS Project] #1971: Memory leak in tmpfile()

2018-02-11 Thread RTEMS trac
#1971: Memory leak in tmpfile()
-+--
 Reporter:  nopscmn  |   Owner:  Chris Johns
 Type:  defect   |  Status:  closed
 Priority:  normal   |   Milestone:  5.1
Component:  fs   | Version:  4.11
 Severity:  normal   |  Resolution:  fixed
 Keywords:   |  Blocked By:
 Blocking:   |
-+--

Comment (by Chris Johns):

 The version and milestone for this ticket do not match.

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #1971: Memory leak in tmpfile()

2018-02-09 Thread RTEMS trac
#1971: Memory leak in tmpfile()
-+--
 Reporter:  nopscmn  |   Owner:  Chris Johns
 Type:  defect   |  Status:  closed
 Priority:  normal   |   Milestone:  5.1
Component:  fs   | Version:  4.11
 Severity:  normal   |  Resolution:  fixed
 Keywords:   |  Blocked By:
 Blocking:   |
-+--

Comment (by Sebastian Huber ):

 In [changeset:"a3eec5cf3513d76cce325b5cb9b7eeff07d14e69/rtems"
 a3eec5c/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="a3eec5cf3513d76cce325b5cb9b7eeff07d14e69"
 fsclose01: Fix task mode, use attribute

 Update #1971.
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #1971: Memory leak in tmpfile()

2018-02-09 Thread RTEMS trac
#1971: Memory leak in tmpfile()
-+--
 Reporter:  nopscmn  |   Owner:  Chris Johns
 Type:  defect   |  Status:  closed
 Priority:  normal   |   Milestone:  5.1
Component:  fs   | Version:  4.11
 Severity:  normal   |  Resolution:  fixed
 Keywords:   |  Blocked By:
 Blocking:   |
-+--

Comment (by Sebastian Huber ):

 In [changeset:"48aa4b5d50ba6a7d1ad5ecf7f1b6d88546cdda9d/rtems"
 48aa4b5d/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="48aa4b5d50ba6a7d1ad5ecf7f1b6d88546cdda9d"
 fsclose01: Use floating-point task

 The tmpfile() uses sprintf().

 Update #1971.
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #1971: Memory leak in tmpfile()

2018-02-05 Thread RTEMS trac
#1971: Memory leak in tmpfile()
-+--
 Reporter:  nopscmn  |   Owner:  Chris Johns
 Type:  defect   |  Status:  reopened
 Priority:  normal   |   Milestone:  5.1
Component:  fs   | Version:  4.11
 Severity:  normal   |  Resolution:
 Keywords:   |  Blocked By:
 Blocking:   |
-+--
Changes (by Sebastian Huber):

 * milestone:  4.11.3 => 5.1


--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #1971: Memory leak in tmpfile()

2018-02-05 Thread RTEMS trac
#1971: Memory leak in tmpfile()
-+--
 Reporter:  nopscmn  |   Owner:  Chris Johns
 Type:  defect   |  Status:  closed
 Priority:  normal   |   Milestone:  5.1
Component:  fs   | Version:  4.11
 Severity:  normal   |  Resolution:  fixed
 Keywords:   |  Blocked By:
 Blocking:   |
-+--
Changes (by Sebastian Huber ):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"4ac5ffbb8314d307964f21a774e923a62a3c36e0/rtems"
 4ac5ffbb/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="4ac5ffbb8314d307964f21a774e923a62a3c36e0"
 fsclose01: Add tmpfile() test case

 Close #1971.
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #1971: Memory leak in tmpfile()

2018-02-04 Thread RTEMS trac
#1971: Memory leak in tmpfile()
-+--
 Reporter:  nopscmn  |   Owner:  Chris Johns
 Type:  defect   |  Status:  reopened
 Priority:  normal   |   Milestone:  4.11.3
Component:  fs   | Version:  4.11
 Severity:  normal   |  Resolution:
 Keywords:   |  Blocked By:
 Blocking:   |
-+--

Old description:

> Hello,
>
> I use tmpfile() in my RTEMS application, and found that it has memory
> leak.
> I wrote small test application (see attachment), that output memory
> usage:
>
> Memory usage before:
> Number of used blocks:  12
> Largest used block: 1288
> Total bytes used:   3628
>
> Memory used after:
> Number of used blocks:  1013
> Largest used block: 1288
> Total bytes used:   112064
>
> By 1000 iteration, each call tmpfile() cause memory leak about 108 bytes.

New description:

 Hello,

 I use tmpfile() in my RTEMS application, and found that it has memory
 leak.
 I wrote small test application (see attachment), that output memory usage:

 Memory usage before:
 Number of used blocks:  12
 Largest used block: 1288
 Total bytes used:   3628

 Memory used after:
 Number of used blocks:  1013
 Largest used block: 1288
 Total bytes used:   112064

 By 1000 iteration, each call tmpfile() cause memory leak about 108 bytes.

--

Comment (by Chris Johns):

 What should happen with this ticket?

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs