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

irq_off: modify -L(latenct) to --than parameter #1

Merged
merged 1 commit into from
Jul 7, 2022
Merged

Conversation

zhuxlproject
Copy link

Signed-off-by: leonzzhu leonzzhu@tencent.com
Reviewed-by: duanery corcpp@foxmail.com

Signed-off-by: leonzzhu <leonzzhu@tencent.com>
@duanery duanery merged commit 5e96484 into main Jul 7, 2022
duanery pushed a commit that referenced this pull request Sep 14, 2022
 #0  __rawmemchr_sse2 () at ../sysdeps/x86_64/rawmemchr.S:37
 #1  0x00007f6ea5111fa2 in _IO_str_init_static_internal (sf=sf@entry=0x7ffe32007660, ptr=ptr@entry=0x0,
     size=size@entry=0, pstart=pstart@entry=0x0) at strops.c:44
 #2  0x00007f6ea5105b37 in _IO_vsscanf (string=0x0, format=0x436528 "%lx-%lx %4s %lx %lx:%lx %lu%[^\n]\n",
     args=args@entry=0x7ffe32007788) at iovsscanf.c:43
 #3  0x00007f6ea50fff27 in __sscanf (s=<optimized out>, format=<optimized out>) at sscanf.c:33
 #4  0x0000000000405078 in __syms__load_file ()
 #5  0x0000000000405173 in syms__load_file ()

Signed-off-by: duanery <corcpp@foxmail.com>
Signed-off-by: yongduan <yongduan@tencent.com>
@duanery duanery deleted the bugfix_irqoff branch September 14, 2022 14:19
duanery added a commit that referenced this pull request Mar 27, 2024
*** Error in `./perf-prof': double free or corruption (!prev): 0x0000000001691040 ***

(gdb) bt
 #0  0x00007fc6f717d3a7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55
 #1  0x00007fc6f717ea98 in __GI_abort () at abort.c:90
 #2  0x00007fc6f71bfef7 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fc6f72d2418 "*** Error in `%s': %s: 0x%s ***\n")
    at ../sysdeps/unix/sysv/linux/libc_fatal.c:196
 #3  0x00007fc6f71c86e9 in malloc_printerr (ar_ptr=0x7fc6f750f760 <main_arena>, ptr=<optimized out>, str=0x7fc6f72d2540 "double free or corruption (!prev)", action=3)
    at malloc.c:4967
 #4  _int_free (av=0x7fc6f750f760 <main_arena>, p=<optimized out>, have_lock=0) at malloc.c:3843
 #5  0x000000000041b3bb in perf_timespec_init (dev=dev@entry=0x169cec0) at convert.c:375
 #6  0x0000000000412cc4 in prof_dev_enable (dev=dev@entry=0x169cec0) at monitor.c:1820

(gdb) f 5
 #5  0x000000000041b3bb in perf_timespec_init (dev=dev@entry=0x169cec0) at convert.c:375

(gdb) info locals
 evlist = <optimized out>
 map = <optimized out>
 tidmap = 0x16686b0
 e = 0x1691040  ==> double free
 evt = 0x0

When prof_dev_open_cpu_thread_map() returns NULL, env has been freed.

Signed-off-by: duanery <corcpp@foxmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants