Opened 17 years ago
Closed 17 years ago
#2019 closed bug (duplicate)
page fault when block writer notifies an invalid hook with an idle event
Reported by: | korli | Owned by: | axeld |
---|---|---|---|
Priority: | blocker | Milestone: | R1 |
Component: | System/Kernel | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
The original error is a pagefault. I added a check with a panic in block_cache.cpp in the function notify_transaction_listeners() just before the hook call (the check was on hook->hook being equals to 0xdeadbeef)
The session log gives details on the cache and the transaction.
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | serial.txt added |
---|
comment:1 by , 17 years ago
I added the following lines for debug purposes :
+ if (hook == (void *)0xdeadbeef || !hook->hook || hook->hook == (void *)0xdeadbeef) + panic("notify_transaction_listeners cache %p transaction %p, hook %p %pi, event %ld\n", cache, transaction, hook, hook->hook, event); hook->hook(transaction->id, event, hook->data);
comment:2 by , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Thanks for the info, but it's a duplicate of #2008 (as I didn't manage to fix that one correcty on first try).
Note:
See TracTickets
for help on using tickets.
debug session