This repository was archived by the owner on May 3, 2024. It is now read-only.
Commit e990e6f
Nikita Danilov
m0_confc_init_wait(): initialise bob earlier (#1759)
confc->cc_magic must be initialised earlier, otherwise m0_confc_invariant()
fails:
spiel-conf-ut
big-db motr[22808]: 4a30 FATAL [lib/assert.c:50:m0_panic] panic: (m0_confc_invariant(confc)) at m0_confc_ctx_init() (conf/confc.c:648) [git: 2.0.0-713-42-g7bcc873c-dirty] /var/motr/m0ut/m0trace.22808
Thread 11 (Thread 0x7fffe4875700 (LWP 22856)):
raise () from /lib64/libc.so.6
abort () from /lib64/libc.so.6
m0_arch_panic (c=0x7fffec2a39a0 <__pctx.21695>, ap=0x7fffe4874ac8) at lib/user_space/uassert.c:131
m0_panic (ctx=0x7fffec2a39a0 <__pctx.21695>) at lib/assert.c:52
m0_confc_ctx_init (ctx=0x7fff9002e8a8, confc=0x7ffff7d88268 <ut_reqh+44744>) at conf/confc.c:648
rm_ha_conf_open (grp=0x75cc20, ast=0x7fff9002ec10) at rm/rm_ha.c:256
m0_sm_asts_run (grp=0x75cc20) at sm/sm.c:175
loc_handler_thread (th=0x714380) at fop/fom.c:941
m0_thread_trampoline (arg=0x714388) at lib/thread.c:117
Signed-off-by: Nikita Danilov <[email protected]>1 parent f60c3f8 commit e990e6f
4 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
| 415 | + | |
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
| 527 | + | |
527 | 528 | | |
528 | 529 | | |
529 | 530 | | |
| |||
539 | 540 | | |
540 | 541 | | |
541 | 542 | | |
542 | | - | |
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
820 | 820 | | |
821 | 821 | | |
822 | 822 | | |
| 823 | + | |
| 824 | + | |
823 | 825 | | |
824 | 826 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2907 | 2907 | | |
2908 | 2908 | | |
2909 | 2909 | | |
| 2910 | + | |
2910 | 2911 | | |
2911 | 2912 | | |
2912 | 2913 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| |||
0 commit comments