[Gluster-devel] glusterfsd core on NetBSD (https://build.gluster.org/job/rackspace-netbsd7-regression-triggered/14139/consoleFull)

Soumya Koduri skoduri at redhat.com
Wed Feb 10 08:56:35 UTC 2016


Thanks Manu.

Kotresh,

Is this issue related to bug1221629 as well?

Thanks,
Soumya

On 02/10/2016 02:10 PM, Emmanuel Dreyfus wrote:
> On Wed, Feb 10, 2016 at 12:17:23PM +0530, Soumya Koduri wrote:
>> I see a core generated in this regression run though all the tests seem to
>> have passed. I do not have a netbsd machine to analyze the core.
>> Could you please take a look and let me know what the issue could have been?
>
> changelog bug. I am not sure how this could become NULL after it has been
> checked at the beginning of gf_history_changelog().
>
> I note this uses readdir() which is not thread-safe. readdir_r() should
> probably be used instead.
>
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0xb99912b4 in gf_history_changelog (changelog_dir=0xb7b160f0 "\003",
>      start=3081873456, end=0, n_parallel=-1217773520, actual_end=0xb7b05310)
>      at /home/jenkins/root/workspace/rackspace-netbsd7-regression-triggered/xlators/features/changelog/lib/src/gf-history-changelog.c:834
> 834                     gf_log (this->name, GF_LOG_ERROR,
> (gdb) print this
> $1 = (xlator_t *) 0x0
> #0  0xb99912b4 in gf_history_changelog (changelog_dir=0xb7b160f0 "\003",
>      start=3081873456, end=0, n_parallel=-1217773520, actual_end=0xb7b05310)
>      at /home/jenkins/root/workspace/rackspace-netbsd7-regression-triggered/xlators/features/changelog/lib/src/gf-history-changelog.c:834
> #1  0xbb6fec17 in rpcsvc_record_build_header (recordstart=0x0,
>      rlen=3077193776, reply=..., payload=3081855216)
>      at /home/jenkins/root/workspace/rackspace-netbsd7-regression-triggered/rpc/rpc-lib/src/rpcsvc.c:857
> #2  0xbb6fec95 in rpcsvc_record_build_header (recordstart=0xb7b10030 "",
>      rlen=3077193776, reply=..., payload=3081855216)
>      at /home/jenkins/root/workspace/rackspace-netbsd7-regression-triggered/rpc/rpc-lib/src/rpcsvc.c:874
> #3  0xbb6ffa81 in rpcsvc_submit_generic (req=0xb7b10030, proghdr=0xb7b160f0,
>      hdrcount=0, payload=0xb76a4030, payloadcount=1, iobref=0x0)
>      at /home/jenkins/root/workspace/rackspace-netbsd7-regression-triggered/rpc/rpc-lib/src/rpcsvc.c:1316
> #4  0xbb70506c in xdr_to_rpc_reply (msgbuf=0xb7b10030 "", len=0,
>      reply=0xb76a4030, payload=0xb76a4030,
>      verfbytes=0x1 <error: Cannot access memory at address 0x1>)
>      at /home/jenkins/root/workspace/rackspace-netbsd7-regression-triggered/rpc/rpc-lib/src/xdr-rpcclnt.c:40
> #5  0xbb26cbb5 in socket_server_event_handler (fd=16, idx=3, data=0xb7b10030,
>      poll_in=1, poll_out=0, poll_err=0)
>      at /home/jenkins/root/workspace/rackspace-netbsd7-regression-triggered/rpc/rpc-transport/socket/src/socket.c:2765
> #6  0xbb7908da in syncop_rename (subvol=0xbb143030, oldloc=0xba45b4b0,
>      newloc=0x3, xdata_in=0x75, xdata_out=0xbb7e8000)
>      at /home/jenkins/root/workspace/rackspace-netbsd7-regression-triggered/libglusterfs/src/syncop.c:2225
> #7  0xbb790c21 in syncop_ftruncate (subvol=0xbb143030, fd=0x8062cc0 <environ>,
>      offset=-4647738537632864458, xdata_in=0xbb7efe75 <_rtld_bind_start+17>,
>      xdata_out=0xbb7e8000)
>      at /home/jenkins/root/workspace/rackspace-netbsd7-regression-triggered/libglusterfs/src/syncop.c:2265
> #8  0xbb75f6d1 in inode_table_dump (itable=0xbb143030,
>      prefix=0x2 <error: Cannot access memory at address 0x2>)
>      at /home/jenkins/root/workspace/rackspace-netbsd7-regression-triggered/libglusterfs/src/inode.c:2352
> #9  0x08050e20 in main (argc=12, argv=0xbf7feaac)
>      at /home/jenkins/root/workspace/rackspace-netbsd7-regression-triggered/glusterfsd/src/glusterfsd.c:2345
>


More information about the Gluster-devel mailing list