Subject: Libssh2: Memory Allocation Failure

Libssh2: Memory Allocation Failure

From: Paul Romero <paulr_at_rcom-software.com>
Date: Wed, 08 Sep 2010 18:30:42 -0700

Dear User Group:

After running the test program attached to this message
for several hours under uCLinux on a Coldfire 5249 CPU
the following memory allocation described below occurred.
The system I ran the test on certainly has at least
2 MB spare memory and I don't understand the reason.

The dump produced by Libssh2 follows this message.
Is anybody interested in this problem or do you
have an idea about the cause ?

Best Regards,

Paul R.

**************** Libssh2 Dump *********************

sftp_start_negotiate: SSH Session Initialized
sftp_negotiate: SSH Session Started
__alloc_pages: 0-order allocation failed (gfp=0x1f0/0)
Allocation of length 264 from process 18 failed
Buffer memory: 12kB
Cache memory: 2036kB
Free pages: 108kB ( 0kB HighMem)
Zone:DMA freepages: 0kB
Zone:Normal freepages: 108kB
Zone:HighMem freepages: 0kB
( Active: 85, inactive: 427, free: 27 )
= 0kB)
1*4kB 3*8kB 1*16kB 0*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB
0*2048kB = 108
kB)
= 0kB)

camtaul ier[ro1r:8 C]an nokt ialllolcaeted m emborey
 ause of sig - 6
STACK DUMP:
0x0073778c: 0073783c 00008056 007377a4 0025d8b2 00000012 00000006
007378bc
0x007377a8: 0025afea 00000006 00000000 00737800 00252fd6 00000040
00000000
0x007377c4: 00000000 00000000 00000000 00000000 00000000 00000000
00000000
0x007377e0: 00000000 00000000 00000000 00000000 00000000 00000000
00000000
0x007377fc: 00000000 0073784c 00252fd6 00000080 00000000 00000000
00000000
0x00737818: 00000000 00000000 00000000 00000000 00000000 40740000
0025a344
0x00737834: 00737890 0025a656 00000020 00000000 00000000 00000000
00000000
0x00737850: 00000000 00000000 00000000 00000000 00000000 00000000
00000000
0x0073786c: 00000000 00000000 00000000 00000000 00000000 00000000
00000000
0x00737888: 00000000 00000000 00000000 00000000 00000000 00000000
00000000

Format 04 Vector: 0080 PC: 0025daaa Status: 0000 Not tainted
ORIG_D0: 00000025 D0: 00000000 A2: 0073363c A1: 000001e4
A0: 00000012 D5: 00000020 D4: 00000020
D3: 00008056 D2: 00000006 D1: 00000012
USP: 0073778c

* Sash: EXIT Child = 18 Sig = 1 Status = 6
/>

--
Paul Romero
RCOM Communications Software
Phone/Fax: (510)339-2628
E-Mail: paulr_at_rcom-software.com


_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Received on 2010-09-09