// 异常跟踪点
[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