Re: probem with dl_runtime.c
From: Paul Pluzhnikov (ppluzhnikov-nsp_at_charter.net)
Date: 10/31/04
- Next message: Peter T. Breuer: "Re: probem with dl_runtime.c"
- Previous message: Kasper Dupont: "Re: kernel: current gids"
- Next in thread: Peter T. Breuer: "Re: probem with dl_runtime.c"
- Reply: Peter T. Breuer: "Re: probem with dl_runtime.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 31 Oct 2004 13:28:44 -0800
> nikhil bhargav wrote:
> > I am running a program implementing 24 trees but i am facing a
> > problem. [...] The program executes normally but while printing
> > the last line it givs error segmentation fault [...]
> > I debugged it by GDB which shows there is some run time library
> > missing or problem in printf exercution as this problem is occuring in
> > all printfs in the program.
Huh?
> > It gave messages like some problem in dl_runtime.c which i couldnot
> > infer.
You didn't understand what gdb is telling you. So post gdb output
here and someone might be able to explain that output to you.
The most relevant part is the output from the gdb "where" command
at the time of SIGSEGV.
Tauno Voipio <tauno.voipio@iki.fi.NOSPAM.invalid> writes:
> What is the declared type of your variable 'time'?
>
> If it is not float, printf gets lost and barfs at return (see
> the format string).
While printf()ing an int or a time_t with "%f" will cause it to print
garbage, I don't think there any way in which this can cause
"printf to get lost", nor can this be the cause of a SIGSEGV.
Cheers,
-- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email.
- Next message: Peter T. Breuer: "Re: probem with dl_runtime.c"
- Previous message: Kasper Dupont: "Re: kernel: current gids"
- Next in thread: Peter T. Breuer: "Re: probem with dl_runtime.c"
- Reply: Peter T. Breuer: "Re: probem with dl_runtime.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|