Bug #29117 | init_file test crashes with embedded server | ||
---|---|---|---|
Submitted: | 14 Jun 2007 17:25 | Modified: | 26 Jun 2007 18:37 |
Reporter: | Timothy Smith | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Tests | Severity: | S7 (Test Cases) |
Version: | 5.1 | OS: | Any |
Assigned to: | Alexey Botchkov | CPU Architecture: | Any |
Tags: | pbfail |
[14 Jun 2007 17:25]
Timothy Smith
[15 Jun 2007 7:15]
Magnus BlÄudd
Crash occurs in 'my_net_local_init' when calling "my_net_set_read_timeout' on a vio that is not yet initialized. Initial debuging shows that the embedded server uses "my_net_local_init" from libmysql - probably it should use the other one, where "#ifdef EMBEDDED_SERVER" would comment that code out.
[19 Jun 2007 7:12]
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/29055 ChangeSet@1.2666, 2007-06-19 11:13:11+05:00, holyfoot@mysql.com +1 -0 Bug #29117 (init_file test crashes with embedded server) we use net->vio in my_net_local_init, but in the my_net_init implementation we set it after the call, so work with unspecified net->vio value
[25 Jun 2007 21:49]
Bugs System
Pushed into 5.1.21-beta
[25 Jun 2007 21:51]
Bugs System
Pushed into 5.0.46
[25 Jun 2007 21:52]
Bugs System
Pushed into 4.1.24
[26 Jun 2007 18:37]
Paul DuBois
Noted in 4.1.24, 5.0.46, 5.1.21 changelogs. A network structure was initialized incorrectly, leading to embedded server crashes.