Summary: | net-ftp/proftpd-1.3.1_rc2 segfaults on startup w/ USE=acl (?) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Calum <caluml> |
Component: | [OLD] Server | Assignee: | Luca Longinotti (RETIRED) <chtekk> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Calum
2007-02-15 11:20:57 UTC
Attach a backtrace and reopen then... http://www.gentoo.org/proj/en/qa/backtraces.xml Is this what you need? #0 0x0000000000426228 in ?? () #1 0x00000000004263d4 in ?? () #2 0x0000000000426e22 in ?? () #3 0x00000000004270e4 in ?? () #4 0x000000000040d30f in ?? () #5 0x00002b2f1e8a9ce0 in __libc_start_main () from /lib/libc.so.6 #6 0x0000000000407aca in ?? () #7 0x00007fff8cd99148 in ?? () #8 0x000000000000001c in ?? () #9 0x0000000000000001 in ?? () #10 0x00007fff8cd9a625 in ?? () #11 0x0000000000000000 in ?? () PS. mozilla-firefox-bin used to crash all the time on my AMD64 box. I think that was due to some threading library. Let me know if you need anything more (gdb) bt full #0 0x0000000000426228 in ?? () No symbol table info available. #1 0x00000000004263d4 in ?? () No symbol table info available. #2 0x0000000000426e22 in ?? () No symbol table info available. #3 0x00000000004270e4 in ?? () No symbol table info available. #4 0x000000000040d30f in ?? () No symbol table info available. #5 0x00002ad1d7550ce0 in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #6 0x0000000000407aca in ?? () No symbol table info available. #7 0x00007fffd40f1498 in ?? () No symbol table info available. #8 0x000000000000001c in ?? () No symbol table info available. #9 0x0000000000000001 in ?? () No symbol table info available. #10 0x00007fffd40f3625 in ?? () No symbol table info available. #11 0x0000000000000000 in ?? () No symbol table info available. Stopped stripping: Starting program: /usr/sbin/proftpd Program received signal SIGSEGV, Segmentation fault. symtab_hash (name=0x9 <Address 0x9 out of bounds>) at modules.c:113 113 modules.c: No such file or directory. in modules.c Go read the howto a couple more time, the backtrace is completely useless. OK, here's a bt full. #0 symtab_hash (name=0x9 <Address 0x9 out of bounds>) at modules.c:113 cp = (unsigned char *) 0x9 <Address 0x9 out of bounds> total = 0 #1 0x00000000004263d4 in pr_stash_add_symbol (sym_type=9, data=0x591b30) at modules.c:181 i = 0 buf = '\0' <repeats 864 times>, "h\212]\000\000\000\000\000\210\212]\000\000\000\000\000\001\000\000\000\000\000\000\000I\211]", '\0' <repeats 69 times>, "8\210]\000\000\000\000\000�bG\000\000\000\000\000vF\000\000\000\000\0008\210]", '\0' <repeats 13 times>, "\001\000\000\000\000\000\000\000\200�\000\000\000\000\000�237B\000\000\000\000" sym = (struct stash *) 0x5d9328 idx = 5839664 #2 0x0000000000426e22 in pr_module_load (m=0x591a40) at modules.c:600 cmdtab = (cmdtable *) 0x591b60 buf = "mod_facl.c", '\0' <repeats 245 times> #3 0x00000000004270e4 in modules_init () at modules.c:707 m = (module *) 0x591a40 i = 10 #4 0x000000000040d30f in main (argc=1, argv=0x7fff4827c638, envp=0x7fff4827c5a0) at main.c:2737 optc = 0 show_version = 0 main_umask = (mode_t *) 0x0 peerlen = 16 peer = {sa_family = 0, sa_data = '\0' <repeats 13 times>} OK, fixed it. USE="-acl" CFLAGS="-O2 -pipe -ggdb" FEATURES="nostrip" emerge -v proftpd produced a working proftpd. Looks like the ACL use flag barfed it. I'll leave it for someone else to close in case this something that needs to go upstream? "acl module" has simply mistake. I made patch. *** work.org/proftpd-1.3.1rc2/modules/mod_facl.c Tue Dec 19 11:42:53 2006 --- work/proftpd-1.3.1rc2/modules/mod_facl.c Wed May 2 09:17:47 2007 *************** *** 823,832 **** "facl", /* Module configuration directive handlers */ ! NULL, /* Module command handlers */ ! facl_conftab, /* Module authentication handlers */ NULL, --- 823,832 ---- "facl", /* Module configuration directive handlers */ ! facl_conftab, /* Module command handlers */ ! NULL, /* Module authentication handlers */ NULL, Fixed in net-ftp/proftpd-1.3.1_rc2-r1. Best regards, CHTEKK. |