From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1 Description of problem: redhat-config-users does segmentation fault in start after I added 40 users from old system to new system's /etc/passwd, /etc/shadow and /etc/group by "hand" with vi, vipw and vigr. % redhat-config-users /usr/share/redhat-config-users/redhat-config-users: line 4: 12396 Segmentation fault /usr/bin/python2.2 /usr/share/redhat-config-users/redhat-config-users.py % Version-Release number of selected component (if applicable): redhat-config-users-1.1.5-7 How reproducible: Always Steps to Reproduce: 1. Modify /etc/passwd, /etc/shadow, and /etc/group with vi, vipw and vigr 2. run redhat-config-users (I guess) Actual Results: I have not re-done it. Additional info: I did strace for redhat-config-network (if that helps) and full strace is at: http://www.cs.helsinki.fi/u/tsjuntun/redhat-config-users-strace.txt and backtrace is here: #0 0x40c58d3f in _init () from /usr/lib/libuser/libuser_files.so #1 0x40c58fea in _init () from /usr/lib/libuser/libuser_files.so #2 0x40c5e83f in _init () from /usr/lib/libuser/libuser_files.so #3 0x40c5eab1 in _init () from /usr/lib/libuser/libuser_files.so #4 0x402db0ce in lu_end () from /usr/lib/libuser.so.1 #5 0x402dc010 in lu_end () from /usr/lib/libuser.so.1 #6 0x402dce17 in lu_end () from /usr/lib/libuser.so.1 #7 0x402def8d in lu_users_enumerate_full () from /usr/lib/libuser.so.1 #8 0x400260ae in _init () from /usr/lib/python2.2/site-packages/libusermodule.so #9 0x080d0e8e in PyCFunction_Call () #10 0x080b3797 in PyObject_Call () #11 0x0807c905 in PyEval_GetFuncDesc () #12 0x0807a613 in PyEval_EvalCode () #13 0x0807b0ce in PyEval_EvalCodeEx () #14 0x0807c62b in PyEval_GetFuncDesc () #15 0x0807a5a3 in PyEval_EvalCode () #16 0x0807b0ce in PyEval_EvalCodeEx () #17 0x0807c62b in PyEval_GetFuncDesc () #18 0x0807a5a3 in PyEval_EvalCode () #19 0x0807b0ce in PyEval_EvalCodeEx () #20 0x0807c62b in PyEval_GetFuncDesc () #21 0x0807a5a3 in PyEval_EvalCode () #22 0x0807b0ce in PyEval_EvalCodeEx () #23 0x080c447c in PyFunction_SetClosure () #24 0x080b3797 in PyObject_Call () #25 0x080ba4ab in PyMethod_New () #26 0x080b3797 in PyObject_Call () #27 0x0807c2d0 in PyEval_CallObjectWithKeywords () #28 0x080b631d in PyInstance_New () #29 0x080b3797 in PyObject_Call () #30 0x0807c905 in PyEval_GetFuncDesc () #31 0x0807a525 in PyEval_EvalCode () #32 0x0807b0ce in PyEval_EvalCodeEx () #33 0x08077fc5 in PyEval_EvalCode () #34 0x08097e29 in PyRun_FileExFlags () #35 0x08096d90 in PyRun_SimpleFileExFlags () #36 0x080966da in PyRun_AnyFileExFlags () #37 0x08053a19 in Py_Main () #38 0x08053469 in main () #39 0x400bda07 in __libc_start_main () from /lib/i686/libc.so.6
The backtrace looks like a libuser problem. Changing components.
Can you please attach or otherwise send me a sample /etc/passwd file with which this problem occurs, if it still occurs with a recent release? Thanks.
Please reopen this report if you can reproduce the problem on a recent release and you can provide the requested data. Thank you.