[uClibc] 3 apps that seg fault on startup

Erik Andersen andersen at codepoet.org
Fri Jan 30 19:50:14 UTC 2004


On Fri Jan 30, 2004 at 11:04:23PM -0800, Barry Kauler wrote:
> Hi, I'm using uClibc v0.9.24, busy building my little
> Puppy Linux distro, and have run into a problem.
> Three apps seg fault at startup. These apps have been
> compiled on Redhat 8.0 and Slackware 9.1 using those
> distros native glibcs, and run fine. Now I am building 
> in Erik's ready-made root f.s.
> 
> Sportal v1.4
> This is a neat little GTK 1.2 app that monitors a chosen
> file in real-time, displaying changes to the file.
> 
> Xanim
> Viewer for AVI, Quicktime video files, uses Xlibs.
> 
> gmas v1.1.0
> A tiny GTK 1.2 app that is just for viewing a text file
> in a window.
> 
> My background is DOS/Windows and I don't know anything
> about debugging in the Unix/Linux environment, but I did
> try using Valgrind.
> Sportal and Xanim give a lot of messages like this:
> 
> "Invalid write of size 4"
> "Invalid write of size 1"
> 
> ...does anyone know what this means?

Generally speaking, "Invalid write of size N" indicates a
buffer overflow has occured, which generally means that the
program has just corrupted itself.

Obtaining an strace, or esp an ltrace of the segfaults would be
helpful in determining where the problem is,


 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list