BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000202 [uClibc] Shared Library Support crash always 03-31-05 22:21 10-11-08 23:54
Reporter gabucino View Status public  
Assigned To uClibc
Priority normal Resolution open  
Status feedback   Product Version 0.9.27
Summary 0000202: installwatch (using LD_PRELOAD) segfaults on some ocassions
Description installwatch LD_PRELOADs its lib which logs events happening in the "make install" procedure, making it a nifty tool to create tgz/deb/rpm packages from source tarballs. However, under uClibc it produces strange segfaults with several source packages. For example: ncurses 5.4

Can't really find the reason :(
(see Additional info)
Additional Information It's usually just a simple "cd" command somewhere, like "cd $(srcdir)/tabset" in ncurses (which is in turn "./tabset")

In strace, it looks like this:
stat("..", .... ) = 0
stat64(".", ... ) = 0
stat64("/", ... ) = 0
stat64("..", ... ) = 0
and loops again and again for a long time, until:
stat("..", ... ) = 0
--- SIGSEGV

Won't work: cd ${srcdir}/tabset
Won't work: cd ./tabset
Works: cd tabset
Attached Files

- Relationships

- Notes
(0000123)
gabucino
03-31-05 22:26

Sorry I didn't mention: i use buildroot, and busybox.
 
(0000124)
gabucino
03-31-05 22:27

Also in ncurses/misc/Makefile:
changing "cd tabset; for i in *" to "cd tabset; for i in `ls`" solves another segfault :(
 
(0013334)
carmelo73
10-11-08 23:54

Please try again with a more recent release. Current SVN trunk is strongly suggested.
If this is not longer an issue, please update the status, so that it cn be closed.
 

- Issue History
Date Modified Username Field Change
03-31-05 22:21 gabucino New Issue
03-31-05 22:26 gabucino Note Added: 0000123
03-31-05 22:27 gabucino Note Added: 0000124
10-11-08 23:54 carmelo73 Note Added: 0013334
10-11-08 23:54 carmelo73 Status assigned => feedback


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker