Re: [389-users] htmladmin segfaults

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux