Skip to content

Commit

Permalink
pkg/report: improve report titles
Browse files Browse the repository at this point in the history
  • Loading branch information
xairy committed Nov 29, 2019
1 parent d29b9e8 commit 659d8b8
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/report/linux.go
Expand Up @@ -720,6 +720,7 @@ var linuxStackParams = &stackParams{
"warn_alloc",
"__warn",
"debug_object",
"timer_is_static_object",
"work_is_static_object",
"lockdep",
"perf_trace",
Expand Down Expand Up @@ -797,10 +798,11 @@ var linuxStackParams = &stackParams{
"dev_emerg",
"program_check_exception",
"program_check_common",
"del_timer_sync",
"del_timer",
"flush_work",
"__cancel_work_timer",
"cancel_work_sync",
"try_to_grab_pending",
"flush_workqueue",
"drain_workqueue",
"destroy_workqueue",
Expand Down
68 changes: 68 additions & 0 deletions pkg/report/testdata/linux/report/458
@@ -0,0 +1,68 @@
TITLE: general protection fault in input_close_device

[ 28.272365][ T1713] general protection fault: 0000 [#1] SMP KASAN
[ 28.278580][ T1713] CPU: 0 PID: 1713 Comm: syz-executor493 Not tainted 5.4.0-rc6-syzkaller #0
[ 28.287222][ T1713] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
[ 28.297264][ T1713] RIP: 0010:timer_is_static_object+0x20/0x90
[ 28.303217][ T1713] Code: 66 2e 0f 1f 84 00 00 00 00 00 41 54 53 48 89 fb e8 b5 50 0f 00 48 8d 7b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 4f 45 31 e4 48 83 7b 08 00 74 0c e8 8b 50 0f 00 44
[ 28.322807][ T1713] RSP: 0018:ffff8881d0397af8 EFLAGS: 00010002
[ 28.328858][ T1713] RAX: dffffc0000000000 RBX: 0000000000004060 RCX: 0000000000000000
[ 28.336827][ T1713] RDX: 000000000000080d RSI: ffffffff812ed5ab RDI: 0000000000004068
[ 28.344773][ T1713] RBP: ffff8881d0397c00 R08: ffff8881d1bdc800 R09: fffffbfff1230886
[ 28.352721][ T1713] R10: fffffbfff1230885 R11: ffffffff8918442b R12: 0000000000000003
[ 28.360769][ T1713] R13: dffffc0000000000 R14: 1ffff1103a072f66 R15: 0000000000004060
[ 28.368718][ T1713] FS: 0000000001020880(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000
[ 28.377628][ T1713] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 28.384189][ T1713] CR2: 000000000043ff90 CR3: 00000001d1ac0000 CR4: 00000000001406f0
[ 28.392143][ T1713] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 28.400089][ T1713] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 28.408033][ T1713] Call Trace:
[ 28.411327][ T1713] debug_object_assert_init+0x1f9/0x2f0
[ 28.416850][ T1713] ? debug_object_free+0x340/0x340
[ 28.421939][ T1713] ? mark_held_locks+0xe0/0xe0
[ 28.427289][ T1713] ? __kasan_slab_free+0x130/0x180
[ 28.432379][ T1713] ? kfree+0xe4/0x320
[ 28.436424][ T1713] ? lock_acquire+0x127/0x320
[ 28.441093][ T1713] del_timer+0x6d/0x100
[ 28.445221][ T1713] ? detach_if_pending+0x470/0x470
[ 28.450331][ T1713] ? __mutex_lock+0x430/0x1360
[ 28.455077][ T1713] ? trace_hardirqs_off+0x50/0x1d0
[ 28.460167][ T1713] try_to_grab_pending+0x67/0x7b0
[ 28.465175][ T1713] ? evdev_release+0xeb/0x1c0
[ 28.469826][ T1713] __cancel_work_timer+0xa6/0x460
[ 28.474823][ T1713] ? mod_delayed_work_on+0x150/0x150
[ 28.480264][ T1713] ? lockdep_hardirqs_on+0x382/0x580
[ 28.485523][ T1713] input_close_device+0xd2/0x1a0
[ 28.490437][ T1713] evdev_release+0x188/0x1c0
[ 28.495000][ T1713] ? evdev_detach_client+0x140/0x140
[ 28.501300][ T1713] __fput+0x2d7/0x840
[ 28.505271][ T1713] task_work_run+0x13f/0x1c0
[ 28.509845][ T1713] exit_to_usermode_loop+0x1d2/0x200
[ 28.515190][ T1713] do_syscall_64+0x45f/0x580
[ 28.519765][ T1713] entry_SYSCALL_64_after_hwframe+0x49/0xbe
[ 28.525632][ T1713] RIP: 0033:0x4022c0
[ 28.529503][ T1713] Code: 01 f0 ff ff 0f 83 40 0d 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 83 3d 6d aa 2d 00 00 75 14 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 14 0d 00 00 c3 48 83 ec 08 e8 7a 02 00 00
[ 28.549083][ T1713] RSP: 002b:00007ffc860c7068 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
[ 28.557480][ T1713] RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00000000004022c0
[ 28.565431][ T1713] RDX: 00000000200000c0 RSI: 0000000040284504 RDI: 0000000000000004
[ 28.573385][ T1713] RBP: 00007ffc860c7090 R08: 7d03000000008300 R09: 0000000000000000
[ 28.581331][ T1713] R10: 000000000000000f R11: 0000000000000246 R12: 0000000000000003
[ 28.589277][ T1713] R13: 0000000000000004 R14: 0000000000000000 R15: 0000000000000000
[ 28.597229][ T1713] Modules linked in:
[ 28.601106][ T1713] ---[ end trace cf0e86e9ac328099 ]---
[ 28.606543][ T1713] RIP: 0010:timer_is_static_object+0x20/0x90
[ 28.612506][ T1713] Code: 66 2e 0f 1f 84 00 00 00 00 00 41 54 53 48 89 fb e8 b5 50 0f 00 48 8d 7b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 4f 45 31 e4 48 83 7b 08 00 74 0c e8 8b 50 0f 00 44
[ 28.632094][ T1713] RSP: 0018:ffff8881d0397af8 EFLAGS: 00010002
[ 28.638136][ T1713] RAX: dffffc0000000000 RBX: 0000000000004060 RCX: 0000000000000000
[ 28.646081][ T1713] RDX: 000000000000080d RSI: ffffffff812ed5ab RDI: 0000000000004068
[ 28.654028][ T1713] RBP: ffff8881d0397c00 R08: ffff8881d1bdc800 R09: fffffbfff1230886
[ 28.661993][ T1713] R10: fffffbfff1230885 R11: ffffffff8918442b R12: 0000000000000003
[ 28.669987][ T1713] R13: dffffc0000000000 R14: 1ffff1103a072f66 R15: 0000000000004060
[ 28.677944][ T1713] FS: 0000000001020880(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000
[ 28.686958][ T1713] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 28.693521][ T1713] CR2: 000000000043ff90 CR3: 00000001d1ac0000 CR4: 00000000001406f0
[ 28.701476][ T1713] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 28.709434][ T1713] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 28.717393][ T1713] Kernel panic - not syncing: Fatal exception
[ 28.724079][ T1713] Kernel Offset: disabled
[ 28.728395][ T1713] Rebooting in 86400 seconds..

0 comments on commit 659d8b8

Please sign in to comment.