Opened 10 years ago

Closed 10 years ago

Last modified 4 years ago

#10738 closed bug (junk)

Running a large number of commands in KDL breaks KDL.

Reported by: kallisti5 Owned by: axeld
Priority: normal Milestone:
Component: System/Kernel Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by kallisti5)

After running a large number of commands in kdl, you begin getting "out of memory for command execution" for every command.

kdebug> bfs_journal 
usage: bfs_journal <ptr-to-volume>
DebugAllocPool::Free(0xcce38028): bad address
DebugAllocPool::Free(0xcce38008): bad address
kdebug> v
  vars          vnode         vnode_caches  vnode_usage   vnodes      
kdebug> v
  vars          vnode         vnode_caches  vnode_usage   vnodes      
kdebug> pt
no completions
kdebug> pt
no completions
kdebug> ptr
no completions
kdebug> ptr
no completions
kdebug> cpu
out of memory for command executionkdebug>
kdebug> threads
out of memory for command executionkdebug> 
kdebug> thread
out of memory for command executionkdebug> 
kdebug> exit
out of memory for command executionkdebug> 
kdebug> continue
out of memory for command executionkdebug> 
kdebug> reboot
out of memory for command executionkdebug> 
kdebug> bfs_journal 
out of memory for command executionkdebug>

Attachments (1)

0001-KDL-Always-add-newline-to-exception-messages.patch (2.2 KB ) - added by idefix 10 years ago.
Patch to always add a newline after an exception message in KDL (untested).

Download all attachments as: .zip

Change History (6)

comment:1 by kallisti5, 10 years ago

Description: modified (diff)

comment:2 by kallisti5, 10 years ago

Resolution: junk
Status: newclosed

This could be actually due to another issue. Seeing odd disk io on virtio disk driver. Going to close this one as trash as it would be hard to troubleshoot.

comment:3 by idefix, 10 years ago

One thing that can be fixed, is the missing newline after the "out of memory for command execution" message. See attached patch.

(I didn't opt for the quick fix to add a newline after that message, as all exception messages with sExceptionPosition >= 0 don't have a newline.)

by idefix, 10 years ago

Patch to always add a newline after an exception message in KDL (untested).

comment:4 by idefix, 10 years ago

patch: 01

comment:5 by pulkomandy, 4 years ago

Milestone: R1
Note: See TracTickets for help on using tickets.