Closed UlyssesZh closed 3 months ago
Reproduced currently on master branch (b76359f). Code snippet:
gui add, button, x10 y50 test, test btn gui show, x10 y20, test ifwinnotexist, test, test btn { }
Output:
[debug] 0: gui add, button, x10 y50 test, test btn [debug] 0: Guiadd, 1, button, x10 y50 test, test btn [debug] 1: gui show, x10 y20, test [debug] 1: Guishow, 1, x10 y20, test [debug] 2: ifwinnotexist, test, test btn [debug] 3: { [debug] 4: } [debug] 5: [debug] x11: root_win = 529 [debug] x11: _NET_ACTIVE_WINDOW = 402 [debug] x11: active window detection: 37748994 [debug] run[1]: guiadd ["1", "button", "x10 y50 test", "test btn"] [debug] run[1]: guishow ["1", "x10 y20", "test"] [debug] run[1]: ifwinnotexist ["test", "test btn"] [debug] x11: active window detection: 140509195 (ahk_x11:902017): GLib-GObject-CRITICAL **: 14:06:48.541: g_object_get_qdata: assertion 'G_IS_OBJECT (object)' failed Invalid memory access (signal 11) at address 0x0 [0x687476] *Exception::CallStack::print_backtrace:Nil +118 in result/bin/ahk_x11 [0x658416] ~procProc(Int32, Pointer(LibC::SiginfoT), Pointer(Void), Nil) +310 in result/bin/ahk_x11 [0x7fe6bc78feb0] ?? +140628981251760 in /nix/store/1rm6sr6ixxzipv5358x0cmaw8rs84g2j-glibc-2.38-44/lib/libc.so.6 [0xaf1034] *Atspi::AbstractText::new<Pointer(Void), GICrystal::Transfer>:Atspi::AbstractText +68 in result/bin/ahk_x11 [0xaf04cb] *Atspi::Accessible#text_iface:Atspi::AbstractText +43 in result/bin/ahk_x11 [0xab4e33] *Run::AtSpi#get_text<Atspi::Accessible>:(String | Nil) +19 in result/bin/ahk_x11 [0x66362f] ~procProc(Atspi::Accessible, Array(Int32), String, Int32, (Bool | Nil)) +31 in result/bin/ahk_x11 [0x6639cb] ~procProc(Atspi::Accessible, Array(Int32), String, Int32, (Bool | Nil)) +283 in result/bin/ahk_x11 [0xab5a15] *Run::AtSpi#iter_descendants<Atspi::Accessible, Int32, Bool, &Proc(Atspi::Accessible, Array(Int32), String, Int32, (Bool | Nil))>:(Bool | Nil) +293 in result/bin/ahk_x11 [0xab4fc5] *Run::AtSpi#each_descendant:include_hidden:max_children<Run::Thread, XDo::Window, Bool, Int32, &Proc(Atspi::Accessible, Array(Int32), String, Int32, (Bool | Nil))>:(Bool | Nil) +245 in result/bin/ahk_x11 [0xab4e10] *Run::AtSpi#get_all_texts:include_hidden<Run::Thread, XDo::Window, Bool>:Array(String) +144 in result/bin/ahk_x11 [0x66360d] ~procProc(Run::AtSpi, Array(String)) +29 in result/bin/ahk_x11 [0x663a57] ~procProc(Array(String)) +87 in result/bin/ahk_x11 [0x663acc] ~proc6Proc(Bool) +92 in result/bin/ahk_x11 [0x65f13a] ~procProc(Pointer(Void), Int32) +58 in result/bin/ahk_x11 [0x7fe6bd257629] ?? +140628992554537 in /nix/store/gkkabfk5kccd5j8fm1hlrb71pmpcbw1p-glib-2.78.4/lib/libglib-2.0.so.0 [0x7fe6bd25a797] ?? +140628992567191 in /nix/store/gkkabfk5kccd5j8fm1hlrb71pmpcbw1p-glib-2.78.4/lib/libglib-2.0.so.0 [0x7fe6bd25b04f] g_main_loop_run +271 in /nix/store/gkkabfk5kccd5j8fm1hlrb71pmpcbw1p-glib-2.78.4/lib/libglib-2.0.so.0 [0x7fe6bd806b65] gtk_main +117 in /nix/store/15g7m2yncbawq9kz65plgszxyvp8dlax-gtk+3-3.24.41/lib/libgtk-3.so.0 [0x8aed76] *Gtk::main:Nil +6 in result/bin/ahk_x11 [0x8a1ffa] *Run::Gtk#run:Nil +42 in result/bin/ahk_x11 [0x660e8d] ~procProc(Nil) +13 in result/bin/ahk_x11 [0x7851b1] *Thread#start:(Exception+ | Nil) +145 in result/bin/ahk_x11 [0x658566] ~procProc(Pointer(Void), Pointer(Void)) +6 in result/bin/ahk_x11 [0x7fe6bc9b5211] ?? +140628983501329 in /nix/store/ff07ah5whl0lr00jcmfcqln5plf9prwk-boehm-gc-8.2.4/lib/libgc.so.1 [0x7fe6bc9a7e55] GC_call_with_stack_base +37 in /nix/store/ff07ah5whl0lr00jcmfcqln5plf9prwk-boehm-gc-8.2.4/lib/libgc.so.1 [0x7fe6bc7dd383] ?? +140628981568387 in /nix/store/1rm6sr6ixxzipv5358x0cmaw8rs84g2j-glibc-2.38-44/lib/libc.so.6 [0x7fe6bc86000c] ?? +140628982104076 in /nix/store/1rm6sr6ixxzipv5358x0cmaw8rs84g2j-glibc-2.38-44/lib/libc.so.6 [0x0] ???
Reproduced currently on master branch (b76359f). Code snippet:
Output: