Summary: | useradd segmentation fault | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | at <at> |
Component: | shadow-utils | Assignee: | Mikhail Efremov <sem> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | critical | ||
Priority: | P4 | CC: | ldv, sem |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux |
Description
at@altlinux.org
2003-01-09 15:57:49 MSK
Insufficient information to reproduce. Please rebuild shadow with \"--enable debug\" and try to get backtrace. Insufficient information to reproduce. Please rebuild shadow with \"--enable debug\" and try to get backtrace. bash-2.05b# SHELL=/bin/sh LD_LIBRARY_PATH=/usr/lib/debug gdb useradd GNU gdb ALT Linux (5.2.1-alt2) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type \"show copying\" to see the conditions. There is absolutely no warranty for GDB. Type \"show warranty\" for details. This GDB was configured as \"i586-alt-linux\"...(no debugging symbols found)... (gdb) r at Starting program: /usr/sbin/useradd at Program received signal SIGSEGV, Segmentation fault. strcmp (p1=0x4c2f7572 <Address 0x4c2f7572 out of bounds>, p2=0x8068808 \"root\") at ../sysdeps/generic/strcmp.c:38 38 ../sysdeps/generic/strcmp.c: No such file or directory. in ../sysdeps/generic/strcmp.c (gdb) bt #0 strcmp (p1=0x4c2f7572 <Address 0x4c2f7572 out of bounds>, p2=0x8068808 \"root\") at ../sysdeps/generic/strcmp.c:38 #1 0x0804e0b0 in strcpy () at strcpy:-1 #2 0x0804b153 in strcpy () at strcpy:-1 #3 0x0804c710 in strcpy () at strcpy:-1 #4 0x0804cf0a in strcpy () at strcpy:-1 #5 0x2ab19582 in __libc_start_main (main=0x804cb50 <strcpy+11540>, argc=2, ubp_av=0x7ffff754, init=0x80496f4 <_init>, fini=0x2aabca2c <_dl_debug_mask>, rtld_fini=0x4c2f7572, stack_end=0x8068808) at ../sysdeps/generic/libc-start.c:129 (gdb) q The program is running. Exit anyway? (y or n) y bash-2.05b# bash-2.05b# SHELL=/bin/sh LD_LIBRARY_PATH=/usr/lib/debug gdb useradd GNU gdb ALT Linux (5.2.1-alt2) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type \"show copying\" to see the conditions. There is absolutely no warranty for GDB. Type \"show warranty\" for details. This GDB was configured as \"i586-alt-linux\"...(no debugging symbols found)... (gdb) r at Starting program: /usr/sbin/useradd at Program received signal SIGSEGV, Segmentation fault. strcmp (p1=0x4c2f7572 <Address 0x4c2f7572 out of bounds>, p2=0x8068808 \"root\") at ../sysdeps/generic/strcmp.c:38 38 ../sysdeps/generic/strcmp.c: No such file or directory. in ../sysdeps/generic/strcmp.c (gdb) bt #0 strcmp (p1=0x4c2f7572 <Address 0x4c2f7572 out of bounds>, p2=0x8068808 \"root\") at ../sysdeps/generic/strcmp.c:38 #1 0x0804e0b0 in strcpy () at strcpy:-1 #2 0x0804b153 in strcpy () at strcpy:-1 #3 0x0804c710 in strcpy () at strcpy:-1 #4 0x0804cf0a in strcpy () at strcpy:-1 #5 0x2ab19582 in __libc_start_main (main=0x804cb50 <strcpy+11540>, argc=2, ubp_av=0x7ffff754, init=0x80496f4 <_init>, fini=0x2aabca2c <_dl_debug_mask>, rtld_fini=0x4c2f7572, stack_end=0x8068808) at ../sysdeps/generic/libc-start.c:129 (gdb) q The program is running. Exit anyway? (y or n) y bash-2.05b# Fixed (patch from Alexey Voinov) in shadow-4.0.0-alt11. Fixed (patch from Alexey Voinov) in shadow-4.0.0-alt11. |