Bug #38291 | memory corruption and server crash with view/sp/function | ||
---|---|---|---|
Submitted: | 22 Jul 2008 18:01 | Modified: | 16 Sep 2008 4:26 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: General | Severity: | S1 (Critical) |
Version: | 5.0.64, 5.0.68-bzr, 5.1.26, 5.1.28-bzr | OS: | Any |
Assigned to: | Sergei Glukhov | CPU Architecture: | Any |
[22 Jul 2008 18:01]
Shane Bester
[22 Jul 2008 18:03]
MySQL Verification Team
full valgrind and crash backtrace info
Attachment: bug38291_full_valgrind_backtrace.txt (text/plain), 7.73 KiB.
[25 Jul 2008 11:30]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/50496 2673 Sergey Glukhov 2008-07-25 Bug#38291 memory corruption and server crash with view/sp/function The problem: Send_field.org_col_name has broken value on secondary execution. It happens when result field is created from the field which belongs to view. The fix: set Send_field.org_col_name with correct value during Send_field intialization.
[20 Aug 2008 7:53]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/52013 2671 Sergey Glukhov 2008-08-20 Bug#38291 memory corruption and server crash with view/sp/function Send_field.org_col_name has broken value on secondary execution. It happens when result field is created from the field which belongs to view due to forgotten assignment of some Send_field attributes. The fix: set Send_field.org_col_name,org_table)name with correct value during Send_field intialization.
[20 Aug 2008 9:58]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/52020 2671 Sergey Glukhov 2008-08-20 Bug#38291 memory corruption and server crash with view/sp/function Send_field.org_col_name has broken value on secondary execution. It happens when result field is created from the field which belongs to view due to forgotten assignment of some Send_field attributes. The fix: set Send_field.org_col_name,org_table_name with correct value during Send_field intialization.
[20 Aug 2008 10:03]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/52022 2671 Sergey Glukhov 2008-08-20 Bug#38291 memory corruption and server crash with view/sp/function Send_field.org_col_name has broken value on secondary execution. It happens when result field is created from the field which belongs to view due to forgotten assignment of some Send_field attributes. The fix: set Send_field.org_col_name,org_table_name with correct value during Send_field intialization.
[21 Aug 2008 17:57]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/52246 2671 Sergey Glukhov 2008-08-20 Bug#38291 memory corruption and server crash with view/sp/function Send_field.org_col_name has broken value on secondary execution. It happens when result field is created from the field which belongs to view due to forgotten assignment of some Send_field attributes. The fix: set Send_field.org_col_name,org_table_name with correct value during Send_field intialization.
[21 Aug 2008 17:57]
Bugs System
Pushed into 5.0.70 (revid:gluh@mysql.com-20080820094928-dy5ir4sg67psh919) (version source revid:gluh@mysql.com-20080820094928-dy5ir4sg67psh919) (pib:3)
[21 Aug 2008 18:04]
Bugs System
Pushed into 5.1.28 (revid:gluh@mysql.com-20080820094928-dy5ir4sg67psh919) (version source revid:gluh@mysql.com-20080820114201-j5loda1mdi5s2qm2) (pib:3)
[27 Aug 2008 1:30]
Paul DuBois
Noted in 5.0.70, 5.1.28 changelogs. A server crash or Valgrind warnings could result when a stored procedure selected from a view that referenced a function. Setting report to NDI pending push into 6.0.x.
[14 Sep 2008 4:51]
Bugs System
Pushed into 6.0.7-alpha (revid:gluh@mysql.com-20080820094928-dy5ir4sg67psh919) (version source revid:john.embretsen@sun.com-20080724122511-9c0oudz1xrdrs6y6) (pib:3)
[16 Sep 2008 4:26]
Paul DuBois
Noted in 6.0.7 changelog.