ts-7000
[Top] [All Lists]

[ts-7000] Program corruption

To:
Subject: [ts-7000] Program corruption
From: "naturalwatt" <>
Date: Sun, 19 Nov 2006 11:58:57 -0000
Hi guys.  I have a really strange one here.  I have a 7250 I have been doing 
development 
on for a few months now.  I use a RAMFS for /tmp as a temporary area for log 
files, to 
avoid wearing out Flash.

I have my programs in /root which is the normal yaffs filesystem.  When I 
reboot, some of 
my programs are corrupted.  The size and date (ls -l) is unchanged, but the 
md5sum has 
changed.  And the programs immediately abort with Segmentation Violation.

It affects SOME of my programs, and none of the other ones in /bin (which are 
pretty much 
all links to busybox, anyway).

Has anyone seen anything like this?  I even typed 'sync' a few times, which 
surely shouldn't 
be necessary.

I have done strings on programs before and after, and there are loads of 
symbols missing.  
For example:

$ strings victron > victron.corrupt
$ md5sum victron
0455e39fbe1230794ad58305872ff95b  victron
[ replace with fresh copy]
$ strings victron > victron.ok
$ md5sum victron
2e50460a86c459cd61e18daa7e43d3da  /root/victron
$ wc -l victron.*
     368 victron.ok
     332 victron.corrupt
$ diff victron.corrupt victron.ok
333,368d332
< __libc_csu_init
< __bss_end__
< printf@@GLIBC_2.0
< ctime@@GLIBC_2.0
< logmsg
< atoi@@GLIBC_2.0
< strcasecmp@@GLIBC_2.0
< openSerial
< select@@GLIBC_2.0
< close@@GLIBC_2.0
< fprintf@@GLIBC_2.0
< time@@GLIBC_2.0
< __bss_start
< staticInfo
< _bss_end__
< sleep@@GLIBC_2.0
< strcat@@GLIBC_2.0
< _end
< puts@@GLIBC_2.0
< tcsetattr@@GLIBC_2.0
< closeSerial
< bzero@@GLIBC_2.0
< usage
< sscanf@@GLIBC_2.0
< opterr@@GLIBC_2.0
< processComm
< optarg@@GLIBC_2.0
< _edata
< gethostbyname@@GLIBC_2.0
< exit@@GLIBC_2.0
< serialbuf
< main
< _DYNAMIC
< _init
< SequenceName
< setting

I hope someone can shed some light on this as I am baffled!

Martin





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Program corruption, naturalwatt <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU