Another bug that was just introduced on the up call path, this time op_ctx 
is good but op_ctx->ctx_export is null.
Marc.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fba8356b280 (LWP 10471)]
0x000000000053eb6e in mdc_check_mapping (entry=0x7fb874001480) at 
/nas/ganesha/new-ganesha/src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c:258
258                 (int32_t) op_ctx->ctx_export->export_id)
(gdb) where
#0  0x000000000053eb6e in mdc_check_mapping (entry=0x7fb874001480) at 
/nas/ganesha/new-ganesha/src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c:258
#1  0x000000000054077e in mdcache_find_keyed (key=0x7fba83569ce0, 
entry=0x7fba83569db8) at 
/nas/ganesha/new-ganesha/src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_helpers.c:856
#2  0x00000000005324e3 in mdc_up_invalidate (export=0x1829030, 
handle=0x7fba83569f50, flags=15) at 
/nas/ganesha/new-ganesha/src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_up.c:59
#3  0x00007fba8357b757 in GPFSFSAL_UP_Thread (Arg=0x1827b40) at 
/nas/ganesha/new-ganesha/src/FSAL/FSAL_GPFS/fsal_up.c:318
#4  0x00007fba866f3df3 in start_thread (arg=0x7fba8356b280) at 
pthread_create.c:308
#5  0x00007fba85db43dd in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:113
(gdb) p op_ctx
$1 = (struct req_op_context *) 0x7fba83569d00
(gdb) p op_ctx->ctx_export
$2 = (struct gsh_export *) 0x0



From:   "Frank Filz" <ffilz...@mindspring.com>
To:     <nfs-ganesha-devel@lists.sourceforge.net>
Date:   05/05/2017 04:47 PM
Subject:        [Nfs-ganesha-devel] Announce Push of V2.5-rc4



Branch next

Tag:V2.5-rc4

NOTE: This merge has an ntirpc pullup - please update your submodule

Release Highlights

* fix various races and issues with exports and mdcache, esp. unexport

* make sure rename and link check handles for different exports (XDEV)

* Fix infinite loop in avl_dirent_set_deleted

* Handle junctions in rename/link/unlink

* Logging : Limit the no of logrotated files

* Reset stat counters using dbus interface

* gpfs: Remove unused REOPEN_BY_FD

* dispatch: call SVC_STAT before svcerr_*

* ntirpc pullup:  take RPC and XDR decode length fixes

Signed-off-by: Frank S. Filz <ffilz...@mindspring.com>

Contents:

d876449 Frank S. Filz V2.5-rc4
43863cf Matt Benjamin dispatch: call SVC_STAT before svcerr_*
1437aa0 Matt Benjamin ntirpc pullup:  take RPC and XDR decode length fixes
15d1e66 Malahal Naineni gpfs: Remove unused REOPEN_BY_FD
9b4739f Sachin Punadikar Reset stat counters using dbus interface
052e82a Jiffin Tony Thottan Logging : Limit the no of logrotated files
d78535a Daniel Gryniewicz Handle junctions in rename/link/unlink
b4f8214 Frank S. Filz Make NFS v4 and 9P rename and link check for XDEV
across exports
e259e81 Frank S. Filz Use saved_export when cleaning up saved_object
(SavedFH).
1c70180 Frank S. Filz Fix infinite loop in avl_dirent_set_deleted
ceb4aed Frank S. Filz Fixup unexport/lru_run_lane/mdcache_lru_clean races
dc83243 Frank S. Filz Fix race between mdcache_unexport and
mdc_check_mapping
5374f6f Frank S. Filz Don't double deconstruct new entry in
mdcache_new_entry


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel






------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to