[Bug 29409] MySQL Cluster segfaults when upgrading to 1.17

2013-09-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29409

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

Version|1.17.0rc1   |1.17

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29409] MySQL Cluster segfaults when upgrading to 1.17

2012-03-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29409

Antoine hashar Musso has...@free.fr changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #20 from Antoine hashar Musso has...@free.fr 2012-03-05 
08:45:07 UTC ---
So I am closing this bug per comment 13 and comment 17.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29409] MySQL Cluster segfaults when upgrading to 1.17

2012-03-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29409

Antoine hashar Musso has...@free.fr changed:

   What|Removed |Added

   Keywords||platformeng
 CC||has...@free.fr

--- Comment #16 from Antoine hashar Musso has...@free.fr 2012-03-04 
11:23:36 UTC ---
+platformeng

So should we apply patch for 1.20 or should we just drop the bug report as it
is an upstream issue?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29409] MySQL Cluster segfaults when upgrading to 1.17

2012-03-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29409

--- Comment #17 from Max Semenik maxsem.w...@gmail.com 2012-03-04 11:34:51 
UTC ---
(In reply to comment #16)
 +platformeng
 
 So should we apply patch for 1.20 or should we just drop the bug report as it
 is an upstream issue?

Separating the alter operation in two will result in upgrade running twice as
slow, because it will rebuild the table twice instead of once. Could be
noticeable on large installations.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29409] MySQL Cluster segfaults when upgrading to 1.17

2012-03-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29409

--- Comment #18 from Mark A. Hershberger m...@everybody.org 2012-03-04 
17:59:00 UTC ---
(In reply to comment #16) 
 So should we apply patch for 1.20 or should we just drop the bug report as it
 is an upstream issue?

Is there a reason this couldn't be applied to the 1.19 tarball?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29409] MySQL Cluster segfaults when upgrading to 1.17

2012-03-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29409

--- Comment #19 from Tim Starling tstarl...@wikimedia.org 2012-03-04 22:41:53 
UTC ---
(In reply to comment #18)
 (In reply to comment #16) 
  So should we apply patch for 1.20 or should we just drop the bug report as 
  it
  is an upstream issue?
 
 Is there a reason this couldn't be applied to the 1.19 tarball?

Yes, it makes upgrades slower and it doesn't fix the bug. As I said in comment
#13, I don't think we should make any changes. It's not our problem.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29409] MySQL Cluster segfaults when upgrading to 1.17

2011-11-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29409

Tim Starling tim.starl...@rocketmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||tim.starl...@rocketmail.com
 Resolution||FIXED

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29409] MySQL Cluster segfaults when upgrading to 1.17

2011-11-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29409

Sumana Harihareswara suma...@panix.com changed:

   What|Removed |Added

   Keywords||need-review, patch
 CC||suma...@panix.com

--- Comment #14 from Sumana Harihareswara suma...@panix.com 2011-11-09 
21:18:52 UTC ---
Does the patch from Johannes still need review?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29409] MySQL Cluster segfaults when upgrading to 1.17

2011-11-09 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29409

--- Comment #15 from Reedy s...@reedyboy.net 2011-11-09 21:23:06 UTC ---
The patch looks sane, and should work on other versions too. But per Tims
comment (which I agree with, as it seems very strange/borderline)

(In reply to comment #13)
 I think this is too broken to bother trying to fix on our side. We must have
 loads of patches that add indexes on new columns. I can't believe that 1.17 is
 the first major version that doesn't work on MySQL Cluster. Lowering priority.

Certainly, I personally can't see any issue just changing the db patch per the
above patch, as it shouldn't cause any more issues

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29409] MySQL Cluster segfaults when upgrading to 1.17

2011-06-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29409

--- Comment #12 from Tim Starling tstarl...@wikimedia.org 2011-06-22 01:17:03 
UTC ---
I reproduced it under gdb with debugging symbols, and I've isolated it to some
extent. The bug occurs when an index is added to a new field, i.e. a field
added in the same ALTER TABLE. 

In sql_table.cc near line 6010:

  /* Key not found. Add the offset of the key to the add buffer. */
  ha_alter_info-index_add_buffer
   [ha_alter_info-index_add_count++]=
   new_key - ha_alter_info-key_info_buffer;
  key_part= new_key-key_part;
  end= key_part + new_key-key_parts;
  for(; key_part != end; key_part++)
  {
/* Mark field to be part of new key */
if ((field= table-field[key_part-fieldnr]))
  field-flags|= FIELD_IN_ADD_INDEX;

new_key-key_part-fieldnr appears to be a field index in the new table, but
it's used to attempt to fetch field information from the old table.

(gdb) print *new_key
$30 = {key_length = 32, flags = 40, key_parts = 1, extra_length = 0,
usable_key_parts = 2, block_size = 0, 
  algorithm = HA_KEY_ALG_UNDEF, {parser = 0x0, parser_name = 0x0}, key_part =
0x78a26208, 
  name = 0x78a22f50 cl_collation, rec_per_key = 0x0, handler =
{bdb_return_if_eq = 0}, table = 0x0}

(gdb) print *key_part
$31 = {field = 0x0, offset = 751, null_offset = 0, length = 32, store_length =
0, key_type = 1, 
  fieldnr = 5, key_part_flag = 0, type = 0 '\000', null_bit = 0 '\000'}

(gdb) print key_part-fieldnr
$15 = 5

(gdb) print table-field[0]-field_name
$33 = 0x78a24599 cl_from
(gdb) print table-field[1]-field_name
$34 = 0x78a245a1 cl_to
(gdb) print table-field[2]-field_name
$35 = 0x78a245a7 cl_sortkey
(gdb) print table-field[3]-field_name
$36 = 0x78a245b2 cl_timestamp
(gdb) print table-field[4]-field_name
Cannot access memory at address 0x30
(gdb) print table-field[5]-field_name
warning: can't find linker symbol for virtual table for `Field' value
warning:   found `Field_longlong::~Field_longlong()' instead
$37 = 0x778ff544
UH\211\345SH\203\354hH\211}\250H\211u\240\211U\234dH\213\004%(

table-field[5] points into arbitrary memory, and so the attempt to write to
table-field[5]-flags causes a segfault.

I'll add this to the MySQL bug once dev.mysql.com stops timing out.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29409] MySQL Cluster segfaults when upgrading to 1.17

2011-06-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29409

Tim Starling tstarl...@wikimedia.org changed:

   What|Removed |Added

   Priority|High|Low
   Severity|blocker |normal

--- Comment #13 from Tim Starling tstarl...@wikimedia.org 2011-06-22 01:41:44 
UTC ---
This reduced test case also works:

CREATE TABLE a ( a INT ) ENGINE=MyISAM;
ALTER TABLE a ADD COLUMN b INT, ADD INDEX (b);

I think this is too broken to bother trying to fix on our side. We must have
loads of patches that add indexes on new columns. I can't believe that 1.17 is
the first major version that doesn't work on MySQL Cluster. Lowering priority.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 29409] MySQL Cluster segfaults when upgrading to 1.17

2011-06-17 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=29409

Tim Starling tstarl...@wikimedia.org changed:

   What|Removed |Added

Summary|Upgrading from 1.16 fails   |MySQL Cluster segfaults
   |with MySQL server has gone |when upgrading to 1.17
   |away   |

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l