Bug #44887 Falon crashes when install directory uses a symbolic link

Submitted: 14 May 2009 20:09 Modified: 15 May 2009 0:33
Reporter: Mark Callaghan Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Falcon storage engine Severity:S3 (Non-critical)
Version:6.0.10 OS:Any
Assigned to: CPU Architecture:Any
Tags: falcon, link, symbolic

[14 May 2009 20:09] Mark Callaghan
Description:
I get this stack trace when relocating the install directory via symbolic links. This works for MyISAM, Maria and Innodb.

[Falcon] Error: assertion (!recovering) failed at line 745 in file SerialLog.cpp

090514 13:03:35 - mysqld got signal 6 ;
thd: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = (nil) thread_stack 0x40000
/export/hda3/my6010/libexec/mysqld(my_print_stacktrace+0x2e) [0x8d806e]
/export/hda3/my6010/libexec/mysqld(handle_segfault+0x336) [0x4b9426]
/usr/grte/v1/lib64/libpthread.so.0 [0x2ad135f04580]
/usr/grte/v1/lib64/libpthread.so.0(raise+0x2b) [0x2ad135f0446b]
/export/hda3/my6010/libexec/mysqld(Error::error(char const*, ...)+0xe3) [0x69ea43]
/export/hda3/my6010/libexec/mysqld(SerialLog::startRecord()+0x2c) [0x73837c]
/export/hda3/my6010/libexec/mysqld(SRLSession::append(long long, long long)+0x52) [0x76c9a2]
/export/hda3/my6010/libexec/mysqld(SerialLog::start()+0x28) [0x739ae8]
/export/hda3/my6010/libexec/mysqld(Database::openDatabase(char const*)+0x18b) [0x6ddd2b]
/export/hda3/my6010/libexec/mysqld(Connection::getDatabase(char const*, char const*, Threads*)+0xe3) [0x6d40e3]
/export/hda3/my6010/libexec/mysqld(Connection::openDatabase(char const*, char const*, char const*, char const*, char const*
, Threads*)+0xa4) [0x6d59d4]
/export/hda3/my6010/libexec/mysqld(StorageDatabase::getOpenConnection()+0x77) [0x6a5be7]
/export/hda3/my6010/libexec/mysqld(StorageHandler::initialize()+0x96) [0x6a7d06]
/export/hda3/my6010/libexec/mysqld(StorageInterface::falcon_init(void*)+0x149) [0x69aae9]
/export/hda3/my6010/libexec/mysqld(ha_initialize_handlerton(st_plugin_int*)+0x46) [0x5b1c96]
/export/hda3/my6010/libexec/mysqld [0x6316d2]
/export/hda3/my6010/libexec/mysqld(plugin_init(int*, char**, int)+0x6dc) [0x633b0c]
/export/hda3/my6010/libexec/mysqld [0x4bb13d]
/export/hda3/my6010/libexec/mysqld(main+0x18d) [0x4bbadd]
/usr/grte/v1/lib64/libc.so.6(__libc_start_main+0xda) [0x2ad136f22b2a]
/export/hda3/my6010/libexec/mysqld [0x40024f]

How to repeat:
1. Build falcon with --prefix=/export/hda3/my6 option to configure
2. Install falcon in /export/hdb3/my6
3. ln -s /export/hdb3/my6 /export/hda3/my6

Both of these get crashes or errors from falcon
* mysql_install_db
* mysqld_safe
[14 May 2009 21:03] Mark Callaghan
Falcon and my filesystem don't link each other, but the symbolic link is not the problem. I am still debugging.
[14 May 2009 21:03] Mark Callaghan
don't link eachother --> don't like eachother
[15 May 2009 0:33] Mark Callaghan
After 1 hour debugging I can't figure this out. It may be my filesystem.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.