I don't know much about C or debugging, but ltrace givess me this...

Seems to die on fork().  

openlog("wimaxd", 11, 136)                                                      
                      = <void>
__vsprintf_chk(0x7fff72864990, 1, 512, 0x49cbdb, 0x7fff72864b90)                
                      = 25
__syslog_chk(70, 1, 0x7fff72864990, 0x49cbeb, 0xfefefefefefefeff)               
                      = 0
strcasecmp("console", "daemon")                                                 
                      = -1
__syslog_chk(6, 1, 0x49ce9b, 0, 0x7f4269b87e40)                                 
                      = 0
__snprintf_chk(0x7fff72864bb0, 128, 1, 128, 0x49ce77)                           
                      = 19
fopen("/var/run/wimaxd.pid", "r")                                               
                      = 0x6e73a0
fscanf(0x6e73a0, 0x49ce8a, 0x7fff72864c3c, 0, 8)                                
                      = 1
__snprintf_chk(0x7fff72864b30, 128, 1, 128, 0x49ce8e)                           
                      = 14
readlink(0x7fff72864b30, 0x7fff72864ab0, 128, 0x7efefefefffefefe, 
0x2525252525252525)                 = -1
fclose(0x6e73a0)                                                                
                      = 0
fork( <unfinished ...>
--- SIGCHLD (Child exited) ---
<... fork resumed> )                                                            
                      = 5929
exit(0 <unfinished ...>
pthread_mutex_destroy(0x6e7310, 0, 0, 0x7fff72864b80, 0x7f426a867480)           
                      = 0
free(0x6e7310)                                                                  
                      = <void>
pthread_mutex_destroy(0x6e7340, 0x7f4269b9e0f8, 49, 0, 0x6e7310)                
                      = 0
free(0x6e7340)                                                                  
                      = <void>
pthread_mutex_destroy(0x6e7370, 0x7f4269b9e0f8, 49, 0, 0x6e7340)                
                      = 0
free(0x6e7370)                                                                  
                      = <void>
pthread_mutex_destroy(0x6e72e0, 0x7f4269b9e0f8, 49, 0, 0x6e7370)                
                      = 0
free(0x6e72e0)                                                                  
                      = <void>
+++ exited (status 0) +++


_______________________________________________
wimax mailing list
[email protected]
http://www.linuxwimax.org/mailman/listinfo/wimax

Reply via email to