Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250880 - dev-db/mysql + dev-db/mysql-community: Bus error on sparc when using ndbd
Summary: dev-db/mysql + dev-db/mysql-community: Bus error on sparc when using ndbd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: Sparc64 Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: unaligned-access
  Show dependency tree
 
Reported: 2008-12-13 23:45 UTC by Friedrich Oslage (RETIRED)
Modified: 2023-05-08 17:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ndbd-bus-error.patch (ndbd-bus-error.patch,567 bytes, patch)
2008-12-13 23:46 UTC, Friedrich Oslage (RETIRED)
Details | Diff
ndbd.sigbus.backtrace (ndbd.sigbus,1.90 KB, text/plain)
2008-12-14 16:09 UTC, Friedrich Oslage (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Friedrich Oslage (RETIRED) gentoo-dev 2008-12-13 23:45:26 UTC
While writing data is fine, ndbd crashes with sigbus(bus error) when trying to read data. Which makes it kinda unusable ;)

This affects all versions, including:
=dev-db/mysql-5.0.70-r1 (current stable)
=dev-db/mysql-5.0.72-r1 (current testing)
=dev-db/mysql-community-5.0.67 (current testing)

To reproduce:
Set up a minimal cluster(>=1 mysqld, >=1 ndbd, >=1 ndb_mgmd)

$ mysql
> create database cluster
> use cluster
> create table foo(bar integer);
> insert into foo (var) values (1);
> exit
$ mysql
> use cluster
> select * from foo;
-> ndbd is dead
Comment 1 Friedrich Oslage (RETIRED) gentoo-dev 2008-12-13 23:46:30 UTC
Created attachment 175233 [details, diff]
ndbd-bus-error.patch

Patch that reverts the IA64 fix that broke it.
Comment 2 Friedrich Oslage (RETIRED) gentoo-dev 2008-12-14 16:09:23 UTC
Created attachment 175251 [details]
ndbd.sigbus.backtrace

Ups, forgot to attach the backtrace, here it is
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-02-11 11:38:02 UTC
In gentoo mysql-extras for 5.0.76
Comment 4 hirakendu 2009-05-27 11:50:34 UTC
In the patch "0723_all_avoid_bus_error_5.0.76.patch" introduced sometime back, please change the #elif to #else, since gcc-4.4 complains about empty elifs.