gdb被中断 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51

New Thread 0x7f71ac51e700 (LWP 67690)]
[New Thread 0x7f718dffb700 (LWP 67691)]

Thread 1 "node" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51    }
(gdb) bt
#0  0x00007f71d486cfb7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f71d486e921 in __GI_abort () at abort.c:79
#2  0x00007f71d48b7967 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f71d49e4b0d "%s\n") at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007f71d48be9da in malloc_printerr (str=str@entry=0x7f71d49e2d8e "malloc(): memory corruption") at malloc.c:5342
#4  0x00007f71d48c2b24 in _int_malloc (av=av@entry=0x7f71d4c19c40 <main_arena>, bytes=bytes@entry=1680) at malloc.c:3748
#5  0x00007f71d48c53cd in __GI___libc_malloc (bytes=1680) at malloc.c:3075
#6  0x00007f71d5487298 in operator new(unsigned long) () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007f71c23fd6cf in owt_base::VideoFrameConstructor::init(unsigned int) (this=this@entry=0x3060610, transportccExtId=transportccExtId@entry=3) at ../../../../core/owt_base/VideoFrameConstructor.cpp:63
#8  0x00007f71c23fe839 in owt_base::VideoFrameConstructor::VideoFrameConstructor(owt_base::VideoInfoListener*, unsigned int) (this=0x3060610, vil=0x30bb5f0, transportccExtId=3, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at ../../../../core/owt_base/VideoFrameConstructor.cpp:36
#9  0x00007f71c2345883 in VideoFrameConstructor::New(Nan::FunctionCallbackInfo<v8::Value> const&) (info=...) at ../VideoFrameConstructorWrapper.cc:43
#10 0x00007f71c2343d3d in Nan::imp::FunctionCallbackWrapper(v8::FunctionCallbackInfo<v8::Value> const&) (info=...) at ../../../../../node_modules/nan/nan_callbacks_12_inl.h:179
#11 0x0000000000a96503 in v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) ()
#12 0x0000000000b0dc4f in v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<true>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) ()
#13 0x0000000000b0e3c5 in v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) ()
#14 0x0000033782d842fd in  ()
#15 0x0000033782d84241 in  ()
 

 

参考

http://www.cocoachina.com/articles/65918

 

 

 

sudo apt install libc6-dbg

sudo apt install dpkg-dev

cd /opt/src

apt source libc6

find $PWD -maxdepth 1 -type d -name 'glibc*'

 

(gdb) info source

Current source file is ../sysdeps/unix/sysv/linux/raise.c

Compilation directory is /build/glibc-KM3i_a/glibc-2.23/signal

 

 

(gdb) set substitute-path /build/glibc-S7xCS9/glibc-2.27/ /opt/src/glibc-2.27

 

 

(gdb) frame 1

#1 0xb7e2fea9 in __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:54

return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);

 

 

ource

Current source file is ../sysdeps/unix/sysv/linux/raise.c

Compilation directory is /build/glibc-S7xCS9/glibc-2.27/signal

Located in /build/glibc-S7xCS9/glibc-2.27/sysdeps/unix/sysv/linux/raise.c

Contains 53 lines.

Source language is c.

Producer is GNU C11 7.5.0 -mtune=generic -march=x86-64 -g -O2 -O3 -std=gnu11 -fgnu89-inline -fmerge-all-constants -frounding-math -fstack-protector-strong -fPIC -ftls-model=initial-exec -fstack-protector-strong.

Compiled with DWARF 2 de

 

但是我这边并没有解决,还是这个错误,大家可以试试,有解决的麻烦留言下,共同学习哈:)

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值