On 28.02.2012 17:28, Rich Megginson wrote: > On 02/28/2012 04:50 AM, Timo Aaltonen wrote: >> Hi >> >> I'm testing 389 on Ubuntu, but currently being blocked by the admin >> server cgi-bin/htmladmin segfaulting after logging in as admin from the >> web gui: >> >> [89394.801974] htmladmin[18156]: segfault at 35 ip 0000000000403a26 sp >> 00007fffaca24840 error 4 in htmladmin[400000+7000] >> >> I'm running the latest versions on the current development release. How >> to debug the segfault? Is it possible to give arguments to the binary >> from the commandline? >> >> > https://fedorahosted.org/389/ticket/307 oops, didn't think to check the issue tracker :) > In order to test htmladmin from the command line: > You must first install 389-admin and run setup-ds-admin.pl to set up a > DS and admin server. > > Next, build adminserver from source with full debug symbols (i.e. use > CFLAGS="-g ..." not CFLAGS="-O2 -g ...". I usually do something like this: > > mkdir built ; cd built ; CFLAGS="-g" /path/to/adminsource/configure > --with-fhs --enable-debug .... ; make > > Next, take a look at the source - there is a tests directory. In this > directory is a file called setup.sh. Edit this file to reflect your > environment. You can also control: > which cgis to run > whether to use gdb or valgrind > > from the built directory above, run setup.sh like this: > > /path/to/adminsource/tests/setup.sh /path/to/adminsource/tests Thanks for the instructions! I've added a backtrace to the ticket. -- t -- 389 users mailing list 389-users@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users