Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gettimeofday() in strace
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Wed Mar 10, 2004 5:55 pm    Post subject: gettimeofday() in strace Reply with quote

I'm trying to figure out why a program wont run (descent3, but thats beside the point). In the strace output, at the end I get this, with lots of cpu activity but a blank window:
Code:
gettimeofday({1078941266, 721104}, NULL) = 0
gettimeofday({1078941266, 721120}, NULL) = 0
gettimeofday({1078941266, 721136}, NULL) = 0
gettimeofday({1078941266, 721152}, NULL) = 0
gettimeofday({1078941266, 721168}, NULL) = 0
gettimeofday({1078941266, 721183}, NULL) = 0
gettimeofday({1078941266, 721199}, NULL) = 0
gettimeofday({1078941266, 721215}, NULL) = 0
gettimeofday({1078941266, 721231}, NULL) = 0
gettimeofday({1078941266, 721247}, NULL) = 0
gettimeofday({1078941266, 721262}, NULL) = 0
gettimeofday({1078941266, 721278}, NULL) = 0
gettimeofday({1078941266, 721294}, NULL) = 0
gettimeofday({1078941266, 721310}, NULL) = 0
gettimeofday({1078941266, 721325}, NULL) = 0
gettimeofday({1078941266, 721341}, NULL) = 0
gettimeofday({1078941266, 721357}, NULL) = 0
gettimeofday({1078941266, 721373}, NULL) = 0
gettimeofday({1078941266, 721389}, NULL) = 0
gettimeofday({1078941266, 721404}, NULL) = 0
gettimeofday({1078941266, 721420}, NULL) = 0
gettimeofday({1078941266, 721436}, NULL) = 0
gettimeofday({1078941266, 721452}, NULL) = 0
gettimeofday({1078941266, 725388}, NULL) = 0

what is is trying to do and why cant it do it?
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
jftuga
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2004
Posts: 139
Location: Athens, GA

PostPosted: Wed Mar 10, 2004 7:19 pm    Post subject: Reply with quote

From your output, I don't know what is going on. You could try strace with -f (or -ff), for fork and then see strace output for any child processes. You can also try ltrace, which is like strace, but it traces libc calls instead.

-John
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum