Bug 762246 (GLUSTER-514)

Summary: Starting booster causes segfault
Product: [Community] GlusterFS Reporter: Hieu Le <hieu.le>
Component: boosterAssignee: Shehjar Tikoo <shehjart>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.0.0CC: gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Hieu Le 2009-12-31 03:57:44 UTC
Starting any application with LD_PRELOAD=/path/to/glusterfs-booster.so cause segfault.
GlusterFS installed with default configuration. The server is working fine, client with FUSE is fine but booster.
The backtrace show this:

#0  0x00002af50a632bd7 in __inode_create (table=0x13ec9370) at inode.c:465
465	        newi->_ctx = CALLOC (1, (sizeof (struct _inode_ctx) *
(gdb) bt
#0  0x00002af50a632bd7 in __inode_create (table=0x13ec9370) at inode.c:465
#1  0x00002af50a6336de in __inode_table_init_root (lru_limit=1000, xl=0x13ec4420) at inode.c:1001
#2  inode_table_new (lru_limit=1000, xl=0x13ec4420) at inode.c:1063
#3  0x00002af50a870e7d in glusterfs_init () from /usr/lib64/libglusterfsclient.so.0
#4  0x00002af50a8718ad in glusterfs_mount () from /usr/lib64/libglusterfsclient.so.0
#5  0x00002af50a402058 in booster_mount (ent=0x13ec2c78) at booster_fstab.c:423
#6  0x00002af50a4020f7 in booster_configure (confpath=0x7fffbbd88ea3 "/etc/booster.fstab") at booster_fstab.c:444
#7  0x00002af50a3fad8b in booster_init () at booster.c:1237
#8  0x00002af50a400a77 in booster_lib_init () at booster.c:3144
#9  0x00002af50a402b86 in __do_global_ctors_aux () from /usr/local//lib/glusterfs/glusterfs-booster.so
#10 0x00002af50a3f733b in _init () from /usr/local//lib/glusterfs/glusterfs-booster.so
#11 0x00002af50a611980 in ?? ()
#12 0x0000003018c0d22b in call_init () from /lib64/ld-linux-x86-64.so.2
#13 0x0000003018c0d335 in _dl_init_internal () from /lib64/ld-linux-x86-64.so.2
#14 0x0000003018c00aaa in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#15 0x0000000000000001 in ?? ()
#16 0x00007fffbbd88c10 in ?? ()
#17 0x0000000000000000 in ?? ()

Box config:
Linux digit1 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
glusterfs 3.0.0 built on Dec 31 2009 10:04:27
Repository revision: 2.0.1-886-g8379edd

Booster did not crash with other box:
Linux gentest 2.6.27-openvz-briullov.1-r4 #4 SMP Tue Dec 29 20:50:35 ICT 2009 i686

Comment 1 Shehjar Tikoo 2010-02-23 07:05:05 UTC
Hi

booster is not really meant for running any and every application. It has been qualified only for a very small number of apps. Even in those cases, due to recent performance enhancements in FUSE, there is much less reason to use booster any longer.

Closing the bug as booster is not supported for general usage.