core dump on gcomm://nonexistanthost
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Galera |
Fix Released
|
Medium
|
Teemu Ollakka | ||
0.8 |
Fix Released
|
Medium
|
Teemu Ollakka | ||
1.x |
Fix Released
|
Medium
|
Teemu Ollakka |
Bug Description
Hi. I got a core dump when starting a server and trying to connect to a nonexisting host (typo, of course) in the gcomm:// connection string.
# ./mysql-galera -g gcomm:/
Starting mysqld instance with data dir /data/b/
Waiting for wsrep_ready.ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 104
./mysql-galera: line 129: 26928 Segmentation fault (core dumped) nohup $VALGRIND $MYSQLD $DEFAULTS_OPTION --user=
Done
Let me know if you can reproduce this just like that, or if I should dig into the core dump and log files.
Btw, with all of your different launchpad projects, it's a bit confusing to guess where to report this bug.
Changed in galera: | |
assignee: | nobody → Teemu Ollakka (teemu-ollakka) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in galera: | |
status: | Confirmed → Fix Released |
Henrik,
You seem to be using 0.8.0 release still. Please upgrade to 0.8.1. With it I have the following in the error log:
110803 17:17:36 [ERROR] WSREP: failed to open gcomm backend connection: 2: getaddrinfo failed with error code -2 for tcp://nonexisti ng:4567: 2 (No such file or directory) src/gu_ resolver. cpp:resolve( ):475 gcs_core. c:gcs_core_ open(): 180: Failed to open backend connection: -2 (No such file or directory) gcs.c:gcs_ open(): 1215: Failed to open channel 'my_test_cluster' at 'gcomm: //nonexisting' : -2 (No such file or directory)
at galerautils/
110803 17:17:36 [ERROR] WSREP: gcs/src/
110803 17:17:36 [ERROR] WSREP: gcs/src/
110803 17:17:36 [ERROR] WSREP: gcs connect failed: No such file or directory
110803 17:17:36 [ERROR] WSREP: wsrep::connect() failed: 6
110803 17:17:36 [ERROR] Aborting
110803 17:17:36 [Note] WSREP: Service disconnected. mysql/libexec/ mysqld: Shutdown complete
110803 17:17:37 [Note] WSREP: Some threads may fail to exit.
110803 17:17:37 InnoDB: Starting shutdown...
110803 17:17:42 InnoDB: Shutdown completed; log sequence number 10680766899
110803 17:17:42 [Note] /tmp/galera1/
If you think that this is a correct behaviour, I guess we can close the bug.
As for the bug reporting, I thought the mailing list might be a good point to report bugs which you're unsure about where they belong. But in this case you guessed right, it would have been Galera bug.