[LU-4899] osd_trans_exec_op()) ASSERTION( oti->oti_declare_ops_rb[rb] > 0 ) failed: rb = 0 Created: 12/Apr/14  Updated: 15/Apr/14  Resolved: 15/Apr/14

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: Jinshan Xiong (Inactive) Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates LU-4528 osd_trans_exec_op()) ASSERTION( oti->... Resolved
Severity: 3
Rank (Obsolete): 13535

 Description   

When I was running racer, it crashed at osd_internal.h:964:osd_trans_exec_op()) ASSERTION( oti->oti_declare_ops_rb[rb] > 0 ) failed: rb = 0

with the following stack trace:

LustreError: 3787:0:(llog_osd.c:156:llog_osd_write_blob()) lustre-MDT0000-osd: error writing log record: rc = -5
LustreError: 3787:0:(osd_internal.h:964:osd_trans_exec_op()) ASSERTION( oti->oti_declare_ops_rb[rb] > 0 ) failed: rb = 0
LustreError: 3787:0:(osd_internal.h:964:osd_trans_exec_op()) LBUG
Pid: 3787, comm: ldlm_elt

Call Trace:
 [<ffffffffa0477895>] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
 [<ffffffffa0477e97>] lbug_with_loc+0x47/0xb0 [libcfs]
 [<ffffffffa0cb097b>] osd_trans_exec_op+0x2ab/0x2e0 [osd_ldiskfs]
 [<ffffffffa0cc3873>] osd_attr_set+0xe3/0x540 [osd_ldiskfs]
 [<ffffffffa0cd0837>] ? osd_punch+0x1d7/0x630 [osd_ldiskfs]
 [<ffffffffa05d7391>] llog_osd_write_blob+0x211/0x850 [obdclass]
 [<ffffffffa05daf9c>] llog_osd_write_rec+0x6ec/0x1390 [obdclass]
 [<ffffffffa0ce276b>] ? dynlock_unlock+0x16b/0x1d0 [osd_ldiskfs]
 [<ffffffffa0cc9ca2>] ? iam_path_release+0x42/0x70 [osd_ldiskfs]
 [<ffffffffa05c94f8>] llog_write_rec+0xc8/0x290 [obdclass]
 [<ffffffffa05d1b7d>] llog_cat_add_rec+0xad/0x480 [obdclass]
 [<ffffffffa05c92f1>] llog_add+0x91/0x1d0 [obdclass]
 [<ffffffffa0eab197>] osp_sync_add_rec+0x247/0xa00 [osp]
 [<ffffffffa0eab9f7>] osp_sync_add+0x77/0x80 [osp]
 [<ffffffffa0e9688f>] osp_object_destroy+0x10f/0x160 [osp]
 [<ffffffffa0e5e6a3>] lod_object_destroy+0x1e3/0x3b0 [lod]
 [<ffffffffa09b76e0>] mdd_close+0x8e0/0xb80 [mdd]
 [<ffffffffa0dc6f79>] mdt_mfd_close+0x4a9/0x1ba0 [mdt]
 [<ffffffffa061a9b4>] ? keys_fini+0xe4/0x130 [obdclass]
 [<ffffffffa061aa2f>] ? lu_context_fini+0x2f/0xc0 [obdclass]
 [<ffffffffa0d9662e>] ? mdt_ctxt_add_dirty_flag+0x13e/0x190 [mdt]
 [<ffffffffa0d96a02>] mdt_obd_disconnect+0x382/0x500 [mdt]
 [<ffffffffa05e2d8d>] class_fail_export+0x23d/0x540 [obdclass]
 [<ffffffffa0819bab>] expired_lock_main+0x49b/0x860 [ptlrpc]
 [<ffffffff81063990>] ? default_wake_function+0x0/0x20
 [<ffffffffa0819710>] ? expired_lock_main+0x0/0x860 [ptlrpc]
 [<ffffffff81096a36>] kthread+0x96/0xa0
 [<ffffffff8100c0ca>] child_rip+0xa/0x20
 [<ffffffff810969a0>] ? kthread+0x0/0xa0
 [<ffffffff8100c0c0>] ? child_rip+0x0/0x20


 Comments   
Comment by Jinshan Xiong (Inactive) [ 12/Apr/14 ]

I can hit this problem all the time with racer, so I have to raise the prio.

Comment by Jodi Levi (Inactive) [ 15/Apr/14 ]

Duplicate of LU-4528

Generated at Sat Feb 10 01:46:49 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.