{"id":243,"date":"2021-03-14T08:45:36","date_gmt":"2021-03-13T23:45:36","guid":{"rendered":"https:\/\/sirius10.dip.jp\/blog\/wordpress\/?p=243"},"modified":"2021-04-03T19:44:21","modified_gmt":"2021-04-03T10:44:21","slug":"xkanon10","status":"publish","type":"post","link":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/2021\/03\/14\/243\/","title":{"rendered":"Xkanon(10)"},"content":{"rendered":"\n<p>Glib \u306e\u8b66\u544a\u3092\u51fa\u3055\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3000Xkanon \u3067\u52d5\u4f5c\u306b\u306f\u5f71\u97ff\u304c\u306a\u3044\u306e\u3067\u3059\u304c\u3001GLib \u304c\u8b66\u544a\u3092\u51fa\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"console\">(KEY\\KANON:2178): GLib-CRITICAL **: 09:31:45.522: Source ID 4294967295 was not found when attempting to remove it<\/p>\n\n\n\n<p>\u3000\u30bb\u30ea\u30d5\u304c\u8868\u793a\u3055\u308c\u308b\u305f\u3073\u306b\u3053\u306e\u8b66\u544a\u304c\u51fa\u3066\u7169\u308f\u3057\u3044\u306e\u3067\u51fa\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3000\u30bb\u30ea\u30d5\u8868\u793a\u5468\u308a\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u305f\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u3001gdb \u3067\u30d6\u30ec\u30fc\u30af\u30dd\u30a4\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"console\">$ aoss gdb .\/xayusys_gtk2<br>(gdb) break g_log<br>Function &#8220;g_log&#8221; not defined.<br>Make breakpoint pending on future shared library load? (y or [n]) y<br>Breakpoint 1 (g_log) pending.<br>(gdb) r &#8211;cddev none &#8211;path ~\/Documents\/Xkanon\/kanon &#8211;patch opening<br>Starting program: \/home\/pi\/work\/Xkanon\/xkanon-gtk\/xayusys_gtk2 &#8211;cddev none &#8211;path ~\/Documents\/Xkanon\/kanon &#8211;patch opening<br>[Thread debugging using libthread_db enabled]<br>Using host libthread_db library &#8220;\/lib\/arm-linux-gnueabihf\/libthread_db.so.1&#8221;.<br>mixser_get_level(): mixer read failed<br>mixser_get_level(): mixer read failed<br>[Detaching after fork from child process 2867]<br>[Detaching after fork from child process 2868]<br>Cannot find config name &#8216;#EXFONT_N_NAME&#8217;<br><br>Breakpoint 1, 0xb669f134 in g_log ()<br>   from \/usr\/lib\/arm-linux-gnueabihf\/libglib-2.0.so.0<br>(gdb) backtrace<br>#0  0xb669f134 in g_log () at \/usr\/lib\/arm-linux-gnueabihf\/libglib-2.0.so.0<br>#1  0xb6696884 in g_source_remove () at \/usr\/lib\/arm-linux-gnueabihf\/libglib-2.0.so.0<br>#2  0x000746e0 in AyuWindow::DrawText(char*) (this=0x1c0b68, str=<optimized out=\"\">) at window_text.cc:572<br>#3  0x0007471c in AyuSys::DrawText(char*) (this=<optimized out=\"\">, str=<optimized out=\"\">) at window_text.cc:173<br>#4  0x00056e78 in SENARIO_DECODE::Decode_TextWindow() (this=this@entry=0x22b328) at senario.cc:785<br>#5  0x0005914c in SENARIO_DECODE::Decode() (this=0x22b328) at senario.cc:1259<br>#6  0x0005cdec in SENARIO::Play(GlobalStackItem) (this=this@entry=0x385e38, item=&#8230;) at senario.cc:2903<br>#7  0x00016b64 in idle_handler(gpointer) (arg=<optimized out=\"\">) at main.cc:137<br>#8  0xb6697ae8 in g_main_context_dispatch ()    at \/usr\/lib\/arm-linux-gnueabihf\/libglib-2.0.so.0<br>#9  0xb6697e7c in  () at \/usr\/lib\/arm-linux-gnueabihf\/libglib-2.0.so.0<br>(gdb)<\/optimized><\/optimized><\/optimized><\/optimized><\/p>\n\n\n\n<p>\u3000\u306a\u308b\u307b\u3069\u3001window_text.cc \u306e 572 \u884c\u76ee\u3067\u3059\u306d\u3002<\/p>\n\n\n\n<p class=\"file pre\">gtk_timeout_remove(draw_timer_handle);<\/p>\n\n\n\n<p>\u3000\u305d\u3046\u304b\u3001\u3059\u3067\u306b timeout handler \u306f\u767b\u9332\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u306b remove \u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u304b\u3089\u8b66\u544a\u304c\u51fa\u3066\u3044\u308b\u306e\u3067\u3057\u3087\u3046\u3002draw_timer_handle \u306f\u6b21\u306e\u884c\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"file pre\">draw_timer_handle = gtk_timeout_add(wait, draw_handler, (void*)0);<\/p>\n\n\n\n<p>\u3000\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306e draw_handler \u3092\u898b\u3066\u307f\u308b\u3068\u3001\u6761\u4ef6\u306b\u3088\u3063\u3066 FALSE \u3092\u8fd4\u3057\u3066\u3044\u307e\u3059\u3002\u30bf\u30a4\u30de\u30fc\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u304c FALSE \u3092\u8fd4\u3059\u3068\u3001\u305d\u3053\u3067\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306f\u524a\u9664\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3000FALSE \u3092\u8fd4\u3059\u76f4\u524d\u306b draw_timer_handle \u306b -1 \u3092\u4ee3\u5165\u3057\u3001gtk_timeout_remove \u3059\u308b\u6642\u306f\u3001draw_timer_handle \u304c -1 \u3058\u3083\u306a\u3044\u3068\u304d\u306b\u5b9f\u884c\u3059\u308b\u3088\u3046\u306b\u4fee\u6b63\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3000\u3053\u308c\u3067\u7169\u308f\u3057\u3044\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u51fa\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Glib \u306e\u8b66\u544a\u3092\u51fa\u3055\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3059\u3002 \u3000Xkanon \u3067\u52d5\u4f5c\u306b\u306f\u5f71\u97ff\u304c\u306a\u3044\u306e\u3067\u3059\u304c\u3001GLib \u304c\u8b66\u544a\u3092\u51fa\u3057\u307e\u3059\u3002 (KEY\\KANON:2178): GLib-CRITICAL **: 09:31:45.522: S [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-243","post","type-post","status-publish","format-standard","hentry","category-xkanon"],"_links":{"self":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=243"}],"version-history":[{"count":5,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/243\/revisions"}],"predecessor-version":[{"id":890,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/243\/revisions\/890"}],"wp:attachment":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}