probem with dl_runtime.c

From: nikhil bhargav (nikhilbhargav_nsit_at_indiatimes.com)
Date: 10/31/04


Date: 31 Oct 2004 01:40:07 -0800

hello,

I am running a program implementing 24 trees but i am facing a
problem. I am usning gettimeofday function to find the total time
taken by the program. The program executes normally but while printing
the last line it givs error segmentation fault
-------------------------------------------------------
gettimeofday(&end,tz);
                time=(end.tv_sec*1000000)+end.tv_usec;
                time=time-((start.tv_sec*1000000)+start.tv_usec);
                printf("\nTime taken for performing %d operations (insert=%d
Search=%d,deletions=%d)\nin Redblack tree is\n",tot,ins,sch,del);
                printf("\n %f micro secs\n",time);
-------------------------------------------------------
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. All other programs are executing fine.

It gave messages like some problem in dl_runtime.c which i couldnot
infer.

Please help what should i do to rectify it?

bye n thks for ur time,

nikhil