On 08/15/2011 07:58 PM, Freemor wrote:
> I'm wondering if the segfaults are due to an out of memory situation. In
> using links to read
> ebooks I came across a situation where it would segfault if I tried to search
> for Chapter headings.
> This was fixed by the simple addition of a swap file (on my uSD card not the
> internal nand). Can someone
> runnin gthe testing image try turning on swap and see if it fixes these
> segfault? (I'd hate to loose python)
Hi
thanks for reply. I have tried swap in my nanonote with testing image:
mkswap /dev/mtdblock3
swapon /dev/mtdblock3
root@BenNanoNote:/# free
total used free shared buffers cached
Mem: 28048 26184 1864 0 4 9412
-/+ buffers/cache: 16768 11280
Swap: 1564668 0 1564668
but python still get :
root@BenNanoNote:~# python
Python 2.6.4 (r264:75706, Jul 6 2011, 01:26:36)
[GCC 4.5.4 20110526 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Segmentation fault
strace python get:
close(4) = 0
open("/lib/libgcc_s.so.1", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=59676, ...}) = 0
close(4) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault
_______________________________________________
Qi Hardware Discussion List
Mail to list (members only): [email protected]
Subscribe or Unsubscribe:
http://lists.en.qi-hardware.com/mailman/listinfo/discussion