[MDEV-16836] MariaDB server sporadically hangs when executed with MariaDB4j Created: 2018-07-27 Updated: 2018-09-02 Resolved: 2018-09-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Embedded Server |
| Affects Version/s: | 10.2.11 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Terry Siu | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | hang, need_feedback | ||
| Environment: |
MacOS High Sierra 10.13.4 |
||
| Description |
|
Hi, I was instructed to file an issue here by the owner/maintainer of MariaDB4j title. I integrated the latest version (2.3.0) of this library into a unit test. This lib spawns a mysqld process which sporadically "hangs", causing my unit test to hang as well. The only logs I could find are as follows:
There is no other output available and I could not locate any log files which might provider further insight. Here is the original issue I filed against MariaDB4j. If there's any other tips to help in grabbing more debugging information, please let me know. |
| Comments |
| Comment by Elena Stepanova [ 2018-08-04 ] |
|
Is it using a lot of CPU (endless-looping) or not (just sleeping waiting for something)? Please enable the coredump and next time it SIGABRTs, store the coredump and collect all threads' stack trace by running gdb --batch --eval-command="thread apply all bt full" <path to the binary> <path to the coredump>. If you can catch the moment when it already hangs but hasn't yet aborted, run the same on the hanging server (only instead of <path to the coredump> you'll have server PID file). Run it several times with the short interval to see if there is any progress or it's totally stalled. Better still if you can build the debug server and do the above on it. |