首页 > 其他分享 >[致命] 异常跟踪

[致命] 异常跟踪

时间:2023-07-03 15:01:44浏览次数:38  
标签:ass 致命 lib code gtk base so 跟踪 异常

// 异常跟踪点
[02时39分36秒] : ParserThread [/home/m/Source/ass_code/Include/gtk/clipboard.h]
[02时39分36秒] : ParserThread [/home/m/Source/ass_code/Include/gtk/selection.h]
[02时39分36秒] : ParserThread [/home/m/Source/ass_code/Include/gtk/textiter.h]
[02时39分36秒] : ParserThread [/home/m/Source/ass_code/Include/gtk/texttag.h]

__pthread_kill_implementation (no_tid=0, signo=6, threadid=140736932234816) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: 没有那个文件或目录.
(gdb) bt

0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140736932234816) at ./nptl/pthread_kill.c:44

1 __pthread_kill_internal (signo=6, threadid=140736932234816) at ./nptl/pthread_kill.c:78

2 __GI___pthread_kill (threadid=140736932234816, signo=signo@entry=6) at ./nptl/pthread_kill.c:89

3 0x00007ffff6551476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26

4 0x00007ffff65377f3 in __GI_abort () at ./stdlib/abort.c:79

5 0x00007ffff65986f6 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff66eab8c "%s\n") at ../sysdeps/posix/libc_fatal.c:155

6 0x00007ffff65afd7c in malloc_printerr (str=str@entry=0x7ffff66edd40 "malloc(): unaligned tcache chunk detected") at ./malloc/malloc.c:5664

7 0x00007ffff65b445c in tcache_get (tc_idx=) at ./malloc/malloc.c:3195

8 __GI___libc_malloc (bytes=92) at ./malloc/malloc.c:3313

9 0x00007ffff74bf309 in assMemory::Allocation(unsigned int) (Size=) at /home/m/Source/ass_code/ass/common/Memory.cpp:359

10 0x00007ffff7ae6768 in assString::AllocBuffer(unsigned int) (this=this@entry=0x7fffdeda2c88, StringLength=StringLength@entry=1) at /home/m/Source/ass_code/ass/type/String.cpp:607

11 0x00007ffff7ae6801 in assString::InitWith(wchar_t const*, unsigned int, int) (this=0x7fffdeda2c88, String=0x7fffd5b9609c L"翿devlibass_PixelBuffer", Position=Position@entry=0, StringLength=1)

at /home/m/Source/ass_code/ass/type/String.cpp:587

12 0x00007ffff7ae6923 in assString::assString(wchar_t const, wchar_t const) (this=, StartPointer=, EndPointer=) at /home/m/Source/ass_code/ass/type/String.cpp:334

13 0x00007ffff7ae8af6 in assString::Shrink() (this=this@entry=0x7ffff7fa6cc0 <g_temp_string>) at /home/m/Source/ass_code/ass/type/String.cpp:1338

14 0x00007ffff7aeab1e in assString::FormatV(wchar_t const, __va_list_tag) (this=this@entry=0x7ffff7fa6cc0 <g_temp_string>, StringFormat=0x7ffff7c6e70c L"%d", Args=Args@entry=0x7fffdeda2d38)

at /home/m/Source/ass_code/ass/type/String.cpp:2271

15 0x00007ffff7aeac64 in assString::FormatPrintf(wchar_t const*, ...) (StringFormat=StringFormat@entry=0x7ffff7c6e70c L"%d") at /home/m/Source/ass_code/ass/type/String.cpp:3057

16 0x00007ffff7aeaca0 in assString::operator<<(int) (this=this@entry=0x7fffdeda2e88, Value=Value@entry=4) at /home/m/Source/ass_code/ass/type/String.cpp:418

17 0x00007fffec135a73 in ParserThread::HandleEnum() (this=this@entry=0x7fffd5657e70) at /home/m/Source/ass_code/plugins/CodeCompletion/parser/parserthread.cpp:1780

18 0x00007fffec138fcc in ParserThread::DoParse() (this=this@entry=0x7fffd5657e70) at /home/m/Source/ass_code/plugins/CodeCompletion/parser/parserthread.cpp:523

19 0x00007fffec13af75 in ParserThread::Parse() (this=this@entry=0x7fffd5657e70) at /home/m/Source/ass_code/plugins/CodeCompletion/parser/parserthread.cpp:352

20 0x00007fffec12be2c in Parser::Parse(assString const&, bool, bool) (this=this@entry=0x10b1c00, FileName=..., isLocal=isLocal@entry=false, locked=locked@entry=true)

at /home/m/Source/ass_code/plugins/CodeCompletion/parser/parser.cpp:236

21 0x00007fffec12c03d in Parser::ParseFile(assString const&, bool, bool) (this=0x10b1c00, FileName=..., isGlobal=, locked=)

at /home/m/Source/ass_code/plugins/CodeCompletion/parser/parser.cpp:495

22 0x00007fffec1333e8 in ParserThread::HandleIncludes() (this=this@entry=0x7fffd4c48aa0) at /home/m/Source/ass_code/plugins/CodeCompletion/parser/parserthread.cpp:1140

23 0x00007fffec138d2c in ParserThread::DoParse() (this=this@entry=0x7fffd4c48aa0) at /home/m/Source/ass_code/plugins/CodeCompletion/parser/parserthread.cpp:439

24 0x00007fffec13af75 in ParserThread::Parse() (this=this@entry=0x7fffd4c48aa0) at /home/m/Source/ass_code/plugins/CodeCompletion/parser/parserthread.cpp:352

25 0x00007fffec12be2c in Parser::Parse(assString const&, bool, bool) (this=this@entry=0x10b1c00, FileName=..., isLocal=isLocal@entry=false, locked=locked@entry=true)

at /home/m/Source/ass_code/plugins/CodeCompletion/parser/parser.cpp:236

26 0x00007fffec12c03d in Parser::ParseFile(assString const&, bool, bool) (this=0x10b1c00, FileName=..., isGlobal=, locked=)

at /home/m/Source/ass_code/plugins/CodeCompletion/parser/parser.cpp:495

27 0x00007fffec1333e8 in ParserThread::HandleIncludes() (this=this@entry=0x7fffd401b520) at /home/m/Source/ass_code/plugins/CodeCompletion/parser/parserthread.cpp:1140

28 0x00007fffec138d2c in ParserThread::DoParse() (this=this@entry=0x7fffd401b520) at /home/m/Source/ass_code/plugins/CodeCompletion/parser/parserthread.cpp:439

29 0x00007fffec13af75 in ParserThread::Parse() (this=this@entry=0x7fffd401b520) at /home/m/Source/ass_code/plugins/CodeCompletion/parser/parserthread.cpp:352

30 0x00007fffec13b0d8 in ParserThread::Execute() (this=0x7fffd401b520) at /home/m/Source/ass_code/plugins/CodeCompletion/parser/parserthread.cpp:303

31 0x00007ffff6d1683d in M_Code_ThreadPool::cbWorkerThread::Entry() (this=0x2420a50) at /home/m/Source/ass_code/sdk/M_Code_threadpool.cpp:154

// 行为: 幽灵异常 assString的内存管理器策略很可疑

0 0x00007ffff6592084 in __vswprintf_internal

(string=0x7ffff7ca8c3c <g_strEmpty+12> L"", maxlen=1024, format=0x7ffff7c6e70c L"%d", args=0x7fffdeda6308, mode_flags=0)
at ./libio/vswprintf.c:109

1 0x00007ffff74f8fba in assVsnprintf(wchar_t, unsigned int, wchar_t const, __va_list_tag*)

(str=<optimized out>, size=<optimized out>, Format=<optimized out>, argptr=<optimized out>)
at /home/m/Source/ass_code/ass/common/wxchar.cpp:877

2 0x00007ffff7ca8c3c in g_strEmpty () at /lib/libass_base.so

3 0x00007ffff7c6e70c in () at /lib/libass_base.so

4 0x00007fff00000002 in ()

5 0x0000000000000400 in ()

6 0x00007ffff7ca8c3c in g_strEmpty () at /lib/libass_base.so

7 0x0000000000000400 in ()

8 0x00007fffdeda6388 in ()

9 0x00007ffff7aeaab3 in assString::FormatV(wchar_t const, __va_list_tag)

(this=<optimized out>, StringFormat=<optimized out>, Args=<optimized out>) at /home/m/Source/ass_code/ass/type/String.cpp:2260

10 0x000000000000000e in ()

11 0x0000003000000010 in ()

12 0x00007fffdeda6470 in ()

13 0x00007fffdeda63a0 in ()

14 0x00007ffff7f45220 in vtable for assBuffer_String ()

at /lib/libass_base.so

15 0x0000000000000000 in ()

// ------------------------------------------------------------------- 紧急异常 ---------------------------------------------------------------------
// 行为: 右键属性崩溃

26 0x00007ffff6d46636 in M_Code_Project::GetFile(int) () at /lib/libm_sdk.so

27 0x00000000004fcdfc in ProjectOptionsDialog::ProjectOptionsDialog(Gui_Window, M_Code_Project) ()

28 0x00000000004eca95 in (anonymous namespace)::ProjectShowOptions(M_Code_Project*) ()

29 0x00000000004e531d in ProjectManagerUI::OnProperties(Event_Command&) ()

// 以标记 来日在战
futex_wait (private=0, expected=2, futex_word=0x555555852ae0) at ../sysdeps/nptl/futex-internal.h:146
146 ../sysdeps/nptl/futex-internal.h: 没有那个文件或目录.
(gdb) bt

0 futex_wait (private=0, expected=2, futex_word=0x555555852ae0) at ../sysdeps/nptl/futex-internal.h:146

1 __GI___lll_lock_wait (futex=futex@entry=0x555555852ae0, private=0) at lowlevellock.c:50

2 0x00007ffff6519ec2 in lll_mutex_lock_optimized (mutex=0x555555852ae0) at pthread_mutex_lock.c:49

3 ___pthread_mutex_lock (mutex=0x555555852ae0) at pthread_mutex_lock.c:89

4 0x00007ffff7478ad5 in wxMutexInternal::Lock() () at /lib/libwx_base.so

5 0x00007ffff7479476 in wxMutexLocker::wxMutexLocker(wxMutex&) () at /lib/libwx_base.so

6 0x00007ffff745faf9 in wxMBConv_iconv::MB2WC(wchar_t, char const, unsigned long) const () at /lib/libwx_base.so

7 0x00007ffff745dc09 in wxMBConv::ToWChar(wchar_t, unsigned long, char const, unsigned long) const () at /lib/libwx_base.so

8 0x00007ffff745cdce in wxMBConv::MB2WC(wchar_t, char const, unsigned long) const () at /lib/libwx_base.so

9 0x00007ffff7440dfb in wxSysErrorMsg(unsigned long) () at /lib/libwx_base.so

10 0x00007ffff745f821 in wxMBConv_iconv::WC2MB(char, wchar_t const, unsigned long) const () at /lib/libwx_base.so

11 0x00007ffff745e1a7 in wxMBConv::FromWChar(char, unsigned long, wchar_t const, unsigned long) const () at /lib/libwx_base.so

12 0x00007ffff745ce04 in wxMBConv::WC2MB(char, wchar_t const, unsigned long) const () at /lib/libwx_base.so

13 0x00007ffff745dd3d in wxMBConv::ConvWC2MB(wchar_t const*) const () at /lib/libwx_base.so

14 0x00007ffff745e018 in wxSafeConvertWX2MB(wchar_t const*) () at /lib/libwx_base.so

15 0x00007ffff7441f9b in wxLogInf(wchar_t const*, ...) () at /lib/libwx_base.so

16 0x00007ffff747517f in wxFile::Open(wxOpenMode) () at /lib/libwx_base.so

17 0x00007ffff74751fa in wxFile::wxFile(wxString const&, wxOpenMode) () at /lib/libwx_base.so

18 0x00007ffff6c98dd4 in EncodingDetector::DetectEncoding(wxString const&, bool) () at /lib/libm_sdk.so

19 0x00007ffff6c98f34 in EncodingDetector::EncodingDetector(wxString const&, bool) () at /lib/libm_sdk.so

20 0x00007ffff033752a in CodeRefactoring::SearchInFiles(wxArrayString const&, wxString const&) () at /home/m/Source/ass_code/dev/share/m_code/plugins/libCodeCompletion.so

21 0x00007ffff0337aff in CodeRefactoring::Parse() () at /home/m/Source/ass_code/dev/share/m_code/plugins/libCodeCompletion.so

22 0x00007ffff0337eb8 in CodeRefactoring::RenameSymbols() () at /home/m/Source/ass_code/dev/share/m_code/plugins/libCodeCompletion.so

23 0x00007ffff7812f63 in Event_Handler::ProcessEventIfMatches(Event_TableEntryBase const&, Event_Handler*, Gui_Event&) () at /lib/libwx_base.so

24 0x00007ffff7814789 in Event_HashTable::HandleEvent(Gui_Event&, Event_Handler*) () at /lib/libwx_base.so

25 0x00007ffff781344a in Event_Handler::ProcessEvent(Gui_Event&) [clone .part.0] () at /lib/libwx_base.so

// ------------------------------------------------------------------- 幽灵异常 ---------------------------------------------------------------------
// 行为: 重启概率遇到此异常 ???跟踪控件布局参数???

0 0x00007ffff7a0e208 in Bar_Menu::SetLayoutDirection(wxLayoutDirection) () at /lib/libwx_base.so

1 0x00007ffff7b1d6be in Gui_Window::PostCreation() () at /lib/libwx_base.so

2 0x00007ffff7a0ec9c in Bar_Menu::Init(unsigned long, Gui_Menu**, wxString const*, long) () at /lib/libwx_base.so

3 0x00007ffff7a0ef41 in Bar_Menu::Bar_Menu() () at /lib/libwx_base.so

4 0x000055555563719c in MainFrame::MainFrame(Gui_Window*) ()

5 0x00005555555cde15 in M_Code_App::InitFrame() ()

6 0x00005555555ce846 in M_Code_App::OnInit() ()

7 0x00007ffff75d508a in wxEntry(int&, wchar_t**) () at /lib/libwx_base.so

8 0x00005555555cdb2b in main ()

// 行为: 编译时未知错误进入死循环( 未能重现此异常 )

14 0x00007ffff72e67c8 in gtk_text_layout_get_line_display () at /lib/libgtk.so

15 0x00007ffff72e745a in gtk_text_layout_real_wrap () at /lib/libgtk.so

16 0x00007ffff72cbd67 in _gtk_text_btree_validate_line () at /lib/libgtk.so

17 0x00007ffff72e5da8 in gtk_text_layout_validate_yrange () at /lib/libgtk.so

18 0x00007ffff72f6672 in gtk_text_view_validate_onscreen () at /lib/libgtk.so

19 0x00007ffff72f766e in gtk_text_view_flush_first_validate () at /lib/libgtk.so

20 0x00007ffff72f7d72 in gtk_text_view_size_allocate () at /lib/libgtk.so

25 0x00007ffff736ba75 in gtk_widget_size_allocate () at /lib/libgtk.so

26 0x00007ffff728c56a in gtk_scrolled_window_size_allocate () at /lib/libgtk.so

31 0x00007ffff736ba75 in gtk_widget_size_allocate () at /lib/libgtk.so

32 0x00007ffff7ab0964 in gtk_pizza_allocate_child () at /lib/libwx_base.so

33 0x00007ffff7ab0e48 in gtk_pizza_size_allocate () at /lib/libwx_base.so

38 0x00007ffff736ba75 in gtk_widget_size_allocate () at /lib/libgtk.so

39 0x00007ffff728c56a in gtk_scrolled_window_size_allocate () at /lib/libgtk.so

44 0x00007ffff736ba75 in gtk_widget_size_allocate () at /lib/libgtk.so

45 0x00007ffff7ab0964 in gtk_pizza_allocate_child () at /lib/libwx_base.so

46 0x00007ffff7ab0e48 in gtk_pizza_size_allocate () at /lib/libwx_base.so

51 0x00007ffff736ba75 in gtk_widget_size_allocate () at /lib/libgtk.so

52 0x00007ffff728c56a in gtk_scrolled_window_size_allocate () at /lib/libgtk.so

57 0x00007ffff736ba75 in gtk_widget_size_allocate () at /lib/libgtk.so

58 0x00007ffff7ab0964 in gtk_pizza_allocate_child () at /lib/libwx_base.so

59 0x00007ffff7ab0e48 in gtk_pizza_size_allocate () at /lib/libwx_base.so

64 0x00007ffff736ba75 in gtk_widget_size_allocate () at /lib/libgtk.so

65 0x00007ffff7ab0964 in gtk_pizza_allocate_child () at /lib/libwx_base.so

66 0x00007ffff7ab0e48 in gtk_pizza_size_allocate () at /lib/libwx_base.so

71 0x00007ffff736ba75 in gtk_widget_size_allocate () at /lib/libgtk.so

72 0x00007ffff7377fb5 in gtk_window_size_allocate () at /lib/libgtk.so

77 0x00007ffff736ba75 in gtk_widget_size_allocate () at /lib/libgtk.so

78 0x00007ffff7377ac3 in gtk_window_check_resize () at /lib/libgtk.so

83 0x00007ffff7157e8e in gtk_container_idle_sizer () at /lib/libgtk.so

84 0x00007ffff753bac9 in gdk_threads_dispatch () at /lib/libgdk.so

88 0x00007ffff7204c72 in gtk_main () at /lib/libgtk.so

89 0x00007ffff7b271ff in Event_Loop::Run() () at /lib/libwx_base.so

90 0x00007ffff7ad2736 in Gui_AppBase::MainLoop() () at /lib/libwx_base.so

91 0x00005555555c456e in M_Code_App::OnRun() ()

92 0x00007ffff7a66471 in wxEntry(int&, wchar_t**) () at /lib/libwx_base.so

93 0x00005555555c2b1d in main ()

// wx/gtk/gtktextlayout.c 1142

脚本解析器载入 wxString 时崩溃

标签:ass,致命,lib,code,gtk,base,so,跟踪,异常
From: https://www.cnblogs.com/ass-code/p/17522904.html

相关文章

  • 新1期视频第14课und异常中断模式的bug以及对应的解决方法
    正在学习新1期第14课und异常模式程序示例的同学,可能会发现014_und_exception_014_004\001的代码存在如下BUG,学员在论坛反馈后,我们已经第一时间解决,下面将以对话的形式完整的呈现这个解决方案。**学员azoxi:**对ARM裸机加强版-第14课und异常模式有打印异常疑惑,以下是我的start.S代......
  • WPF处理未捕获异常和程序退出事件
    Application和AppDomain都有Exit事件,程序正常退出,会依次调用Application的Exit事件和Appdomain的Exit事件。如果是因为未捕获的异常导致程序退出,则不会调用任何Exit事件。Appdomain的Exit事件不要再出现UI元素,如弹窗之类的,会导致异常。AppDomain.UnhandledException会捕获所有T......
  • 基于声音信号的工业设备异常检测
    异常检测主要目标是将异常事件与正常事件区分开来,因此才有了“异常”一词。本文将介绍基于声音信号的工业机械异常检测,使用的数据集是MIMII声音数据集,该数据集很容易在网上获得。异常检测的任务可以通过多种方式实现。其中最简单的一种方法是将问题作为监督学习任务,并对正常和异......
  • 8. 统一异常处理
    ‍1.问题描述在讲解这一部分知识点之前,我们先来演示个效果,修改BookController类的getById​方法@GetMapping("/{id}")publicResultgetById(@PathVariableIntegerid){//手动添加一个错误信息if(id==1){inti=1/0;}Bookbook=bookSer......
  • C# 学习笔记 - 异常
    异常概述C#的异常捕获系统允许开发者将正常代码与异常处理逻辑进行分离。异常可以表示在软件执行期间出现的各种异常情况,包括内部的和外部的。外部条件导致的异常:网络故障、权限不足、内存不足、Web服务引发的异常,这些异常通常由操作系统、.NET运行时或外部应用程序引发;内......
  • 11.9 自定义异常
    demo在项目开发中,会大量接触自定义异常本节案例,综合本章节很多案例。classBombExceptionextendsException{//自定义强制处理异常 publicBombException(Stringmsg){ super(msg);//调用父类构造 }}classFood{ publicstaticvoideat(intnum)throwsBombE......
  • 11.7 异常处理模型
    demo1这种模型,开发中经常用classMyMath{ publicstaticintdiv(intx,inty)throwsException{ //异常抛出 inttemp=0; System.out.println("***【START】除法计算开始***"); //开始提示信息 try{ temp=x/y; }catch(Exceptione)......
  • 11.3 处理多个异常
    demopublicclassJavaDemo{ publicstaticvoidmain(Stringargs[]){ System.out.println("【1】******程序开始执行******"); try{ intx=Integer.parseInt(args[0]); //初始化参数转为数字 inty=Integer.parseInt(args[1]); //初始化参数转为......
  • 11.2 异常处理
    demo1publicclassJavaDemo{ publicstaticvoidmain(Stringargs[]){ System.out.println("【1】******程序开始执行******"); try{ System.out.println("【2】******数学计算:"+(10/0)); //执行除法计算 }catch(ArithmeticExceptione){ /......
  • C-中的异常处理机制
    异常处理传统的C语言处理方法传返回值表示函数调用是否结束intf1(){return0;//...return1;}这种方法比较简洁明了,但对异常处理的位置(例如我想在main()里处理异常)进行调整局就实现起来十分麻烦了。更明显的缺点是,这种方法会对函数原本的返回格式产生影......