@combo uses insane amounts of memory

Bug #396641 reported by Daniel Gimpelevich
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kaptain (Debian)
Unknown
Unknown
kaptain (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: kaptain

Upstream bug, added for tracking.

Kees Cook (kees)
security vulnerability: yes → no
visibility: private → public
Revision history for this message
Haakon McKay (hagar) wrote :

Not just @combo
but also @list @combow and @multicol

the following peice of code uses over 1.5 Gigs of mem - and then crashes (Takes about 1 sec)
Tried all the commented lines.

start -> body footer ;
#body -> @list("a","b") ;
#body -> @combo("a","b") ;
#body -> @combow("a","b") ;
body -> @multicol("a b","b c") ;
footer -> @dump("Selected ",body)="Select";

kaptain --version
kaptain 0.72

Linux version 2.6.38-9-generic (buildd@allspice) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ) #43-Ubuntu SMP Thu Apr 28 15:23:06 UTC 2011

Ubuntu 11.04 - Last updated 25 May 2011

Revision history for this message
Haakon McKay (hagar) wrote :

Limited memory to 1/2 Gig
ulimit -v 500000

ran kaptain on all tags - same result

kaptain test.kapn
terminate called after throwing an instance of 'St9bad_alloc'
  what(): std::bad_alloc
Aborted

It used entire 500k mem before it aborted.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.