Ticket #103 (new bug)

Opened 7 months ago

server segv with 2.8.1 kmod

Reported by: slang Owned by: slang
Priority: major Component: SERVER
Version: Keywords:
Cc:

Description

[Reported by Kazutomo Yoshii]

I'm trying to run pvfs2 server on BGP login node for testing, but the server hangs with segv.

The pvfs client and module that I'm using is default one.

I build the pvfs server from pvfs-2.8.1.tar.gz with no configure option and run on login node or sn node. then mounted the pvfs volume from ION. pvfs2-ping and pvfs2-statfs worked but once I try to create a file, the server hangs with segv.

Here is the gdb backtrack of the server process. It's very reproducible. Any clue?

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -134450672 (LWP 20521)] 0x0fb9d7ac in free () from /lib/power5+/libc.so.6 (gdb) bt #0 0x0fb9d7ac in free () from /lib/power5+/libc.so.6 #1 0x1003cc8c in lebf_decode_rel (msg=0x101220b8, input_type=0) at src/proto/PINT-le-bytefield.c:787 #2 0x1003c378 in PINT_decode_release (input_buffer=0x19c, input_type=0) at src/proto/PINT-reqproto-encode.c:301 #3 0x100126a4 in server_state_machine_complete (smcb=0x10121e40) at src/server/pvfs2-server.c:1878 #4 0x10051970 in cleanup (smcb=0x10121e40, js_p=<value optimized out>) at src/server/create.sm:837 #5 0x10023998 in PINT_state_machine_invoke (smcb=0x10121e40, r=0x100e4750) at src/common/misc/state-machine-fns.c:132 #6 0x10023d70 in PINT_state_machine_next (smcb=0x10121e40, r=0x100e4750) at src/common/misc/state-machine-fns.c:309 #7 0x10023784 in PINT_state_machine_continue (smcb=0x19c, r=0x0) at src/common/misc/state-machine-fns.c:327 #8 0x10011f34 in main (argc=<value optimized out>, argv=<value optimized out>) at src/server/pvfs2-server.c:403 (gdb)

<Defaults>

UnexpectedRequests? 50 EventLogging? none EnableTracing? no LogStamp? datetime BMIModules bmi_tcp FlowModules? flowproto_multiqueue PerfUpdateInterval? 1000 ServerJobBMITimeoutSecs 30 ServerJobFlowTimeoutSecs? 30 ClientJobBMITimeoutSecs 300 ClientJobFlowTimeoutSecs? 300 ClientRetryLimit? 5 ClientRetryDelayMilliSecs? 2000 PrecreateBatchSize? 512 PrecreateLowThreshold? 256

StorageSpace? /home/kazutomo/pvfs2-test/pvfs2-storage-space LogFile? /home/kazutomo/pvfs2-test/pvfs2-server.log

</Defaults>

<Aliases>

Alias 172.17.3.1 tcp://172.17.3.1:3334

</Aliases>

<Filesystem>

Name pvfs2-fs ID 91123565 RootHandle? 1048576 FileStuffing? yes <MetaHandleRanges?>

Range 172.17.3.1 3-4611686018427387904

</MetaHandleRanges> <DataHandleRanges?>

Range 172.17.3.1 4611686018427387905-9223372036854775806

</DataHandleRanges> <StorageHints?>

TroveSyncMeta? yes TroveSyncData? no TroveMethod? alt-aio

</StorageHints>

</Filesystem>

Note: See TracTickets for help on using tickets.