← Back to team overview

maria-discuss team mailing list archive

Re: Segfaulting with signal 6

 

On 3/30/2011 10:58 AM, Michael Widenius wrote:
> Hi!
>
>>>>>> "Lance" == Lance Albertson <lance@xxxxxxxxxx> writes:
> Lance> I've run into another weird problem where MariaDB is segfaulting
> Lance> and dieing on Gentoo Hardened Linux. I can't figure out if its a weird
> Lance> situation with my Gentoo environment on the machine or something with
> Lance> MariaDB itself. I don't have this problem on the other machine running
> Lance> MariaDB. It seems to happen under load about once or twice a day. I have
> Lance> a nearly identical machine that doesn't have any of these problems.
>
> Lance> I'm running mariadb-5.1.50 under Hardened Gentoo. The compiled flags are:

Note that under Gentoo Linux, core dumps are disabled by default.
The Gentoo approved reference of getting good traces and enabling cores
is here: http://www.gentoo.org/proj/en/qa/backtraces.xml

> Is there a way we could install a debug binary on the machine in
> question so that we could be able to debug this?
>
> (We would need a binary compiled with debug + a core to be able to
> find out what's going on).
>
> The easyest way to get a debug binary is to get the source and
> compile it with:
>
> ./BUILD/compile-pentium-debug-max
>
> and then just copy it over your original mysqld binary.
>
> If you can get us access to the system, we can help you with this.
>
> You can find us at '#maria' channel on freenode if you want to discuss
> this real time.
>
> Regards,
> Monty
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~maria-discuss
> Post to     : maria-discuss@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maria-discuss
> More help   : https://help.launchpad.net/ListHelp




References