[MDEV-2974] LP:422550 - Crash in PBXT during shutdown Created: 2009-09-01 Updated: 2012-10-04 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Kristian Nielsen | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
I have a problem with PBXT crashing sometimes during shutdown. To reproduce, run the following command in a build of lp:maria: mkdir -p /tmp/x && sql/mysqld --no-defaults --basedir=$(pwd) --character-sets-dir=$(pwd)/sql/share/charsets --language=$(pwd)/sql/share/english --skip-networking --datadir=/tmp/x --skip-grant-tables --nonexistentoption This is supposed to complain about bad --nonexistentoption, and exit. Instead, in about 75% of cases it crashes during shutdown Basically, it crashes when the thread that calls xt_init_databases() is Here is the stack trace: ==16085== Invalid read of size 4 So, I do not know why the thread is sometimes the same and sometimes not in |
| Comments |
| Comment by Paul McCullagh (Inactive) [ 2009-09-01 ] |
|
Re: Crash in PBXT during shutdown Thanks for the bug report. I have confirmed this crash exactly as described. I will prepare a fix. |
| Comment by Rasmus Johansson (Inactive) [ 2009-09-07 ] |
|
Launchpad bug id: 422550 |