PAM issue related to ix86 machin

J

jkwagh

Hi All,

I am using pam-0.90 to autheticate the webs service. It's working fine
with all architecture other than ix386. Problem is when I tried to
authenticate the user with wrong password, my webs server got killed
due to seg-fault(only when compiled for x386 architecture). Following
is the backstrace where does it crashes.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 7858)]
0xb7e6f44c in _unix_verify_password () from /lib/pam_unix.so
(gdb) bt
#0 0xb7e6f44c in _unix_verify_password () from /lib/pam_unix.so
#1 0xb7e6b5c5 in pam_sm_authenticate () from /lib/pam_unix.so
#2 0xb7f8e10d in _pam_dispatch_aux () from /lib/libpam.so.0
#3 0xb7f8e4f9 in _pam_dispatch () from /lib/libpam.so.0
#4 0xb7f90560 in pam_authenticate () from /lib/libpam.so.0
#5 0x0804f30f in authHandler (wp=0x8060ab0, path=0xbfe986c0
"authHandler", query=0x80626b8
"username=root&password=root123&role=") at ../authHandler.c:119

If I autheticate for correct user then it's working fine.
Can anybody help me for same?
Thanks in advance.

jkwagh
 
B

blufox

Hi All,

I am using pam-0.90 to autheticate the webs service. It's working fine
with all architecture other than ix386. Problem is when I tried to
authenticate the user with wrong password, my webs server got killed
due to seg-fault(only when compiled for x386 architecture). Following
is the backstrace where does it crashes.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 7858)]
0xb7e6f44c in _unix_verify_password () from /lib/pam_unix.so
(gdb) bt
#0 0xb7e6f44c in _unix_verify_password () from /lib/pam_unix.so
#1 0xb7e6b5c5 in pam_sm_authenticate () from /lib/pam_unix.so
#2 0xb7f8e10d in _pam_dispatch_aux () from /lib/libpam.so.0
#3 0xb7f8e4f9 in _pam_dispatch () from /lib/libpam.so.0
#4 0xb7f90560 in pam_authenticate () from /lib/libpam.so.0
#5 0x0804f30f in authHandler (wp=0x8060ab0, path=0xbfe986c0
"authHandler", query=0x80626b8
"username=root&password=root123&role=") at ../authHandler.c:119

line number 119 is screwing things up.
double check what is getting passed to authHandler.

Thanks
 
C

Clever Monkey

jkwagh said:
I am using pam-0.90 to autheticate the webs service. It's working fine
with all architecture other than ix386. Problem is when I tried to
authenticate the user with wrong password, my webs server got killed
due to seg-fault(only when compiled for x386 architecture). Following
is the backstrace where does it crashes. [...]
If I autheticate for correct user then it's working fine.
Can anybody help me for same?
Thanks in advance.
Better ask in a newsgroup more appropriate to PAM and/or your platform.
This is not a query about standard C.
 
B

blufox

Hi All,

I am using pam-0.90 to autheticate the webs service. It's working fine
with all architecture other than ix386. Problem is when I tried to
authenticate the user with wrong password, my webs server got killed
due to seg-fault(only when compiled for x386 architecture). Following
is the backstrace where does it crashes.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 7858)]
0xb7e6f44c in _unix_verify_password () from /lib/pam_unix.so
(gdb) bt
#0 0xb7e6f44c in _unix_verify_password () from /lib/pam_unix.so
#1 0xb7e6b5c5 in pam_sm_authenticate () from /lib/pam_unix.so
#2 0xb7f8e10d in _pam_dispatch_aux () from /lib/libpam.so.0
#3 0xb7f8e4f9 in _pam_dispatch () from /lib/libpam.so.0
#4 0xb7f90560 in pam_authenticate () from /lib/libpam.so.0
#5 0x0804f30f in authHandler (wp=0x8060ab0, path=0xbfe986c0
"authHandler", query=0x80626b8
"username=root&password=root123&role=") at ../authHandler.c:119

line number 119 is screwing things up.
double check what is getting passed to authHandler.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top