On Mar 1, 2007, at 5:39 PM, Alan DeKok wrote:
Boian Jordanov wrote:
Sory forget to attach gdb output. ... (gdb) info program Using the running image of attached process 12626. Program stopped at 0x313a0915e8. It stopped with signal SIGSEGV, Segmentation fault. (gdb) bt ... #11 0x0000002a95aa7240 in perl_detach (instance=Variable "instance" is not available. ) at rlm_perl.c:1241 #12 0x000000000040bd46 in detach_modules () #13 0x00000000004104c8 in main ()
Ah. You may have HUPed the server while a request was being processed through the Perl module.
OR, the detach routine doesn't properly clean up everything.
Strange thing is that nobody try to stop or HUP the server. isn't it mean that some way instance is loosed ? #11 0x0000002a95aa7240 in perl_detach (instance=Variable "instance" is not available. ) at rlm_perl.c:1241 For infrormation i have seen in my logs that after the error message "Internal error processing module entry" perl_module start cleaning i mean it call perl_detach function for every perl_clone it have been created before. And just before the last 2 clones there is again the same message this is the log Thu Mar 1 15:37:29 2007 : Error: Internal error processing module entry Thu Mar 1 15:37:29 2007 : Error: Internal error processing module entry Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG 001E84CA]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG ]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG 001E9092]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG ]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG ]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG 00008873]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG 123]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG ]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG 0017BC78]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG 0017BB53]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG 123]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG ]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG ]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG ]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG 0000A712]get_account (): account found by username Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG 0000A712]get_account (): account found by username Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG 0000A712][free] logout. Reason: User-Request. Session time: 1643 . Service: #7 'Free Orbinet'. Amount: 0.00. Promo amount: 0.00 (from nas xxx.xxx.xxx.xxx) Thu Mar 1 15:37:30 2007 : Error: Internal error processing module entry Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG 0000A712]Thread exitting Thu Mar 1 15:37:30 2007 : Auth: rlm_perl: [LOG ]Thread exitting i keep the dead radius running in case you or anybody want to exam it with gdb.
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog