Re: quota-rename.t core in netbsd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a memory overrun issue.

I was not able to fully RCA this issue. In particular i had trouble trying to run gluster on netbsd setup.

will pick this up later if it is deemed as priority.



(gdb)

#0  0xbb40b4b7 in ?? ()

#1  0xbb756685 in synctask_destroy (task=0xb6722030) at /home/jenkins/root/workspace/netbsd7-regression/libglusterfs/src/syncop.c:391

#2  0xbb756701 in synctask_done (task=0xb6722030) at /home/jenkins/root/workspace/netbsd7-regression/libglusterfs/src/syncop.c:409

#3  0xbb756fed in synctask_switchto (task=0xb6722030) at /home/jenkins/root/workspace/netbsd7-regression/libglusterfs/src/syncop.c:668

#4  0xbb75709b in syncenv_processor (thdata=<error reading variable: Cannot access memory at address 0xb9efcfd8>)

    at /home/jenkins/root/workspace/netbsd7-regression/libglusterfs/src/syncop.c:699

(gdb) frame 1

#1  0xbb756685 in synctask_destroy (task=0xb6722030) at /home/jenkins/root/workspace/netbsd7-regression/libglusterfs/src/syncop.c:391

391     /home/jenkins/root/workspace/netbsd7-regression/libglusterfs/src/syncop.c: No such file or directory.

(gdb) p *task

$1 = {all_tasks = {next = 0xb6722030, prev = 0xb6722030}, env = 0xbb1a9030, xl = 0xb9901030, frame = 0x0, opframe = 0xb6702100, synccbk = 0xb9aa0849 <mq_synctask_cleanup>,

 syncfn = 0xb9aa297a <mq_update_dirty_inode_task>, state = SYNCTASK_DONE, opaque = 0xb670b0b0, stack = 0xb6724030, woken = 0, slept = 0, ret = 0, uid = 0, gid = 0, ctx = {

    uc_flags = 524335, uc_link = 0x0, uc_sigmask = {__bits = {4294897751, 4294967295, 4294967295, 4294967295}}, uc_stack = {ss_sp = 0xbf800000, ss_size = 270336, ss_flags = 0},

    uc_mcontext = {__gregs = {179, 171, 31, 31, -1195381232, -1234128720, -1234010112, -1234010176, -1149368040, -1155886264, -1234034576, 0, 3, 2, -1149934353, 23, 2097814, -1234010160,

       31}, __fpregs = {__fp_reg_set = {__fpchip_state = {__fp_state = {16778111, 0, -1180420687, 23, -1195379520, 31, 8064, 65471, 0 <repeats 19 times>}}, __fp_xmm_state = {

           __fp_xmm = "\177\003\000\001\000\000\000\000\261\065��\027\000\000\000�\364\277�\037\000\000\000\200\037\000\000\277\377", '\000' <repeats 105 times>, "�\005@", '\000' <repeats 13 times>, "�\005@", '\000' <repeats 310 times>...}, __fp_fpregs = {16778111, 0, -1180420687, 23, -1195379520, 31, 8064, 65471, 0 <repeats 25 times>, -268435456, 16389, 0, 0, -1610612736,

           16389, 0 <repeats 77 times>, 895, 0 <repeats 11 times>}}, __fp_pad = {0 <repeats 33 times>}}, _mc_tlsbase = -1154730944}, __uc_pad = {0, 0, 0, 0}}, proc = 0xbb1a9344, mutex = {

    ptm_magic = 0, ptm_errorcheck = 0 '\000', ptm_pad1 = "\000\000", ptm_interlock = 0 '\000', ptm_pad2 = "\000\000", ptm_owner = 0x0, ptm_waiters = 0x0, ptm_recursed = 0,

    ptm_spare2 = 0x0}, cond = {ptc_magic = 0, ptc_lock = 0 '\000', ptc_waiters = {ptqh_first = 0x0, ptqh_last = 0x0}, ptc_mutex = 0x0, ptc_private = 0x0}, done = 0, waitq = {

    next = 0xb67223b4, prev = 0xb67223b4}, btbuf = "(--> 0xbb7564d1 (--> <synctask_yield+0x5f> (--> at (--> /build/install/lib/libglusterfs.so.0 ))))", '\000' <repeats 3998 times>}



(gdb) p/x *(struct mem_header*)(task->stack - sizeof(struct mem_header))

$10 = {type = 0xbb6cd33f, size = 0x1, mem_acct = 0xb992f000, magic = 0xcafebabe, padding = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}


=>Header magic is intact


(gdb) x/5x (task->stack)

0xb6724030:     0x00000000      0x00000000      0x00000000      0x00000000

0xb6724040:     0x00000000


=>Trailer magic is Overwritten

Regards,

Sanoj


On Thu, Oct 13, 2016 at 10:22 AM, Raghavendra Gowdappa <rgowdapp@xxxxxxxxxx> wrote:
+Muthu, +Sanoj

Sure Vijay. One of us will take a look.

----- Original Message -----
> From: "Vijay Bellur" <vbellur@xxxxxxxxxx>
> To: "Gluster Devel" <gluster-devel@xxxxxxxxxxx>, "Raghavendra Gowdappa" <rgowdapp@xxxxxxxxxx>
> Sent: Wednesday, October 5, 2016 11:25:34 PM
> Subject: quota-rename.t core in netbsd
>
> Hi All,
>
> I observed a few crashes due to quota-rename.t in netbsd regression
> runs [1] [2].  Raghavendra - can you please take a look when you get a
> chance?
>
> The core files and logs cannot be downloaded from the URLs in jenkins
> job console history for NetBSD. I have logged a bug [3] on the
> infrastructure for that.
>
> Thanks,
> Vijay
>
> [1] https://build.gluster.org/job/netbsd7-regression/942/consoleFull
>
> [2]  https://build.gluster.org/job/netbsd7-regression/945/console
>
> [3] https://bugzilla.redhat.com/show_bug.cgi?id=1382097
>

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux