Ben NanoNote next release progress

David Kuehling dvdkhlng at
Mon Aug 15 11:49:33 EDT 2011

Hi Xiangfu,

>>>>> "Xiangfu" == Xiangfu Liu <xiangfu at> writes:

> but python still get : root at 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/", 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

Hmm, this crashes so early on, I'd say it crashes *within* the dynamic
linker (or did you just truncate the stace log so much?).  It could also
be one of the famous unaligned memory accesses, that use to work on all
modern CPUs, except MIPS.  Looking at the assembler instruction at the
crash location + register dump that would be easy to diagnose (gdserver
anyone?  'info regs', 'disas $pc-8,$pc+8').

In kernel 2.6.39 (probably earlier?) Linux now has an unaligned memory
load/store emulation, that works similar to FPU emulation.  And it is
slow as hell.  But at least it fixes these problems with misbehaving
software.  Maybe we should backport that to our kernel?

Would love to help more, but I'm currently a little swamped with other
work.  Still looking forward to getting the next release :)


GnuPG public key:
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the discussion mailing list