home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 22639 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  923 b 

  1. Path: sparky!uunet!spool.mu.edu!enterpoop.mit.edu!ira.uka.de!rz.uni-karlsruhe.de!fg30.rz.uni-karlsruhe.de!ig25
  2. From: ig25@fg30.rz.uni-karlsruhe.de (Thomas Koenig)
  3. Newsgroups: comp.os.linux
  4. Subject: exec problem
  5. Date: 4 Jan 1993 12:56:18 GMT
  6. Organization: University of Karlsruhe, Germany
  7. Lines: 14
  8. Message-ID: <1i9c5iINN3c4@nz12.rz.uni-karlsruhe.de>
  9. Reply-To: ig25@rz.uni-karlsruhe.de
  10. NNTP-Posting-Host: fg30.rz.uni-karlsruhe.de
  11.  
  12. The family of exec calls does not work for self - compiled programs
  13. on my machine (486, 0.99pl1, 4.1 jump libraries from SLS 0.98pl5).
  14.  
  15. Doing a
  16.  
  17.     execlp("ls","ls",(char *) NULL)
  18.  
  19. results in the program dying mysteriously; when I run it under gdb, gdb
  20. catches trace signal (SIGTRAP, number 5). If I continue the program,
  21. it does what's intended.
  22. -- 
  23. Thomas Koenig, ig25@rz.uni-karlsruhe.de, ig25@dkauni2.bitnet
  24. The joy of engineering is to find a straight line on a double logarithmic
  25. diagram.
  26.