Binary mehrfach starten
Jan-Benedict Glaw
jbglaw at lug-owl.de
Wed Jul 21 12:36:32 CEST 2004
On Wed, 2004-07-21 12:02:13 +0200, Andre Landwehr <andre.landwehr at gmx.net>
wrote in message <3995.1090404133 at www36.gmx.net>:
> Hi,
> ein vermutlich triviales Problem, aber ich seh's irgendwie
> nicht. Folgendes C Programm:
> ------>
> #include <stdio.h>
> int main( int argc, char **argv ) {
> getchar();
> }
Das Programm ist OK. Ich kann das bei mir auch mehrfach starten:)
> ------>
> execve("./meintest", ["./meintest"], [/* 28 vars */]) = 0
> uname({sys="Linux", node="bigmonster.cauldron.priv", ...}) = 0
> brk(0) = 0
> brk(0) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
> = 0x40017000
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
> <-----
> Was passiert und wie kann ich es verhindern?
Stirbt anscheinend schon im dynamischen Linker. Was sieht man mit
ltrace? Hast Du 'ne Debug-libc installiert oder sowas in der Art?
MfG, JBG
--
Jan-Benedict Glaw jbglaw at lug-owl.de . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20040721/be3af486/attachment.sig>
More information about the Linux
mailing list