Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic booting an s10 zone with DEBUG bits #1229

Open
citrus-it opened this issue Sep 14, 2022 · 2 comments
Open

panic booting an s10 zone with DEBUG bits #1229

citrus-it opened this issue Sep 14, 2022 · 2 comments
Assignees
Labels

Comments

@citrus-it
Copy link
Member

citrus-it commented Sep 14, 2022

panic[cpu14]/thread=fffffe2d84560880: assertion failed: p->p_brand_data == NULL, file: ../../common/os/brand.c, line: 1191

fffffe004040fac0 fffffffffbdcde25 ()
fffffe004040faf0 unix:brand_solaris_setbrand+5a ()
fffffe004040fb10 s10_brand:s10_setbrand+18 ()
fffffe004040fb50 unix:brand_setbrand+112 ()
fffffe004040fdd0 genunix:exec_common+c65 ()
fffffe004040fe60 genunix:exec_init+28a ()
fffffe004040fe80 genunix:start_init_common+f5 ()
fffffe004040fee0 genunix:zone_start_init+8c ()
fffffe004040fef0 unix:thread_start+b ()


panic: entering debugger (continue to save dump)

Welcome to kmdb
kmdb: unable to determine terminal type: assuming `vt100'
Loaded modules: [ scsi_vhci stmf_sbd crypto mac cpc uppc neti ptm ufs unix zfs krtld s1394 sata apix uhci hook lofs genunix ip logindmux nsmb usba xhci specfs pcplusmp nfs random mm cpu.generic arp stmf vmm sockfs smbsrv ]
[14]> $C
fffffffffbc9ce60 kmdb_enter+0xb()
fffffffffbc9ce90 debug_enter+0x75(fffffffffb97a788)
fffffffffbc9cf80 panicsys+0x56e(fffffffffbf27cd8, fffffe004040fa18, fffffffffbc9cf90, 1)
fffffe004040fa00 vpanic+0x15c()
fffffe004040fa70 0xfffffffffb8c2361()
fffffe004040fac0 0xfffffffffbdcde25()
fffffe004040faf0 brand_solaris_setbrand+0x5a(fffffe2dbc0d0fc0, ffffffffc00d7940)
fffffe004040fb10 s10_brand`s10_setbrand+0x18(fffffe2dbc0d0fc0)
fffffe004040fb50 brand_setbrand+0x112(fffffe2dbc0d0fc0, 1)
fffffe004040fdd0 exec_common+0xc65(8047ff4, 8047fe8, 0, 2)
fffffe004040fe60 exec_init+0x28a(fffffe2da0fdf2f8, fffffe2d754f4420)
fffffe004040fe80 start_init_common+0xf5()
fffffe004040fee0 zone_start_init+0x8c()
fffffe004040fef0 thread_start+0xb()
[14]> fffffe2dbc0d0fc0::print proc_t p_brand_data
p_brand_data = 0xfffffe2db9f33580
[14]> 0xfffffe2db9f33580::whatis
fffffe2db9f33580 is allocated from kmem_alloc_64:
            ADDR          BUFADDR        TIMESTAMP           THREAD
                            CACHE          LASTLOG         CONTENTS
fffffe2db875b460 fffffe2db9f33580        bcd3ef2b4 fffffe2d84560880
                 fffffe2cfb430648 fffffe2d145866c0 fffffe2d24972448
                 kmem_cache_alloc_debug+0x37c
                 kmem_cache_alloc+0x138
                 kmem_zalloc+0x4a
                 brand_setbrand+0x166
                 exec_common+0xc65
                 exec_init+0x28a
                 start_init_common+0xf5
                 zone_start_init+0x8c
                 thread_start+0xb

@citrus-it
Copy link
Member Author

This looks like it's related to 3340b69 - panic in DEBUG, memory leak otherwise.

@citrus-it citrus-it self-assigned this Sep 17, 2022
@stale
Copy link

stale bot commented Nov 2, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 2, 2022
@citrus-it citrus-it added bug and removed stale labels Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant