[MDEV-3494] LP:693387 - Signal 6 on shutdown on FreeBSD Created: 2010-12-22 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 | Priority: | Major |
| Reporter: | Olivier - interfaSys (Inactive) | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
I had installed 5.2.4 on FreeBSD 8.1-zfs, gcc 4.5.2 There is no problem with MySQL 5.1.54, but with MariaDB, I always got this when stopping mysqld. 101222 13:08:55 [Note] /usr/local/libexec/mysqld: Normal shutdown key_buffer_size=0 101222 13:08:55 mysqld_safe mysqld restarted |
| Comments |
| Comment by Kristian Nielsen [ 2010-12-22 ] |
|
Re: Signal 6 on shutdown on FreeBSD (Or obtain a stack trace from the crash some other way?) Also, it might be useful to get the exact commands used to build, since you mention gcc version I suppose you built mariadb yourself. |
| Comment by Olivier - interfaSys (Inactive) [ 2010-12-23 ] |
|
Re: Signal 6 on shutdown on FreeBSD The current problem is that because of the crash, a new instance is immediately restarted and mysqld cannot be stopped without killing mysqld_safe. MariaDB was built from ports: I've also tried with 5.2.3, same problem.
Info on GCC |
| Comment by Olivier - interfaSys (Inactive) [ 2010-12-23 ] |
|
Re: Signal 6 on shutdown on FreeBSD pid 42698 (factorial), uid 0: exited on signal 11 (core dumped) |
| Comment by Sergei Golubchik [ 2010-12-23 ] |
|
Re: [Bug 693387] Re: Signal 6 on shutdown on FreeBSD On Dec 23, Olivier - interfaSys wrote: It's not even for tests. Regards, |
| Comment by Olivier - interfaSys (Inactive) [ 2010-12-23 ] |
|
Re: Signal 6 on shutdown on FreeBSD I compiled it again to get more info. Here is the generated config.log |
| Comment by Olivier - interfaSys (Inactive) [ 2010-12-23 ] |
|
Thank you Sergei I compiled it again to get more info. Here is the generated config.log |
| Comment by Kristian Nielsen [ 2010-12-23 ] |
|
Re: Signal 6 on shutdown on FreeBSD To get a core file you may need to add --core-file option to my.cnf and/or make sure `ulimit -c unlimited` is active for mysqld. You may also need to ensure that mysqld has write permissions to current directory (or wherever FreeBSD puts core files, this is somewhat system dependent AFAIK). Alternatively, start mysqld by itself (without using mysqld_safe) from within gdb, giving the same arguments that mysqld_safe would pass. This should also provide a stack trace. |
| Comment by Olivier - interfaSys (Inactive) [ 2010-12-24 ] |
|
Re: Signal 6 on shutdown on FreeBSD (gdb) bt |
| Comment by Kristian Nielsen [ 2010-12-25 ] |
|
Re: Signal 6 on shutdown on FreeBSD |
| Comment by Olivier - interfaSys (Inactive) [ 2010-12-26 ] |
|
Re: Signal 6 on shutdown on FreeBSD |
| Comment by Sergei Golubchik [ 2011-01-10 ] |
|
Re: Signal 6 on shutdown on FreeBSD
would that help? Or you can try some other way to pass --with-debug=full down to mariadb's configure. It doesn't look like port's Makefile strips the binaries, it must be our Makefile then.
and attach the resulting typescript file to the bug report. |
| Comment by Olivier - interfaSys (Inactive) [ 2011-01-10 ] |
|
Re: Signal 6 on shutdown on FreeBSD Is there an easy way to apply there configure args only to the xtradb plugin? |
| Comment by Sergei Golubchik [ 2011-01-10 ] |
|
Re: Signal 6 on shutdown on FreeBSD but most probably it won't work - in debug build certain structures have different sizes and offsets, and xtradb may use them. anyway, you can build mariadb with innodb and without xtradb. it's --with-plugin-innodb_plugin --without-plugin-xtradb. But perhaps you don't need to do even that. Looking at your attached config.log I see that both XtraDB and InnoDB are built as dynamic plugins. That is, all you need to do to make sure that XtraDB is out of the question is "SHOW PLUGINS" to make sure that ha_xtradb.so is not listed and "UNINSTALL PLUGIN innodb" if it is. No need to rebuild anything. |
| Comment by Olivier - interfaSys (Inactive) [ 2011-01-13 ] |
|
Re: Signal 6 on shutdown on FreeBSD |
| Comment by Olivier - interfaSys (Inactive) [ 2011-01-13 ] |
|
Re: Signal 6 on shutdown on FreeBSD |
| Comment by Olivier - interfaSys (Inactive) [ 2011-03-21 ] |
|
Re: Signal 6 on shutdown on FreeBSD |
| Comment by Rasmus Johansson (Inactive) [ 2011-06-07 ] |
|
Launchpad bug id: 693387 |
| Comment by Stewart Smith [ 2011-06-07 ] |
|
Re: Signal 6 on shutdown on FreeBSD Thanks, |