[Gambas-user] GTK3 not right after a "text/uri-list" file drop.

T Lee Davidson t.lee.davidson at gmail.com
Sat Nov 18 15:43:25 CET 2023


On 11/18/23 09:33, Benoît Minisini wrote:
> Le 18/11/2023 à 15:19, T Lee Davidson a écrit :
>> On 11/18/23 09:14, Benoît Minisini wrote:
>>> Le 18/11/2023 à 15:11, T Lee Davidson a écrit :
>>>> On 11/17/23 23:44, Bruce Steers wrote:
>>>>> The problem with the TableView when dropping from outside the application is gone thank you :)
>>>>>
>>>>> Mine is still crashing on the second drag with gtk if i drag n drop some text inside the control
>>>>
>>>> I confirm that the issue with resizing the TableView columns after a drop is fixed.
>>>>
>>>> And, the SegFault after a second drop still occurs.
>>>>
>>>
>>> I can't reproduce it. Can you provide a stack backtrace of the segfault (if you have compiled Gambas from sources)?
>>>
>>
>> I assume that would not be automatically included if I were to "Send a bug report by mail". So, how would I do that?
>>
> 
> It's explained here: https://gambaswiki.org/wiki/doc/report#t5
> 
> Tell me if you don't understand anything!
> 
> thanks.
> 

Backtrace attached.


-- 
Lee
-------------- next part --------------
(gdb) run
Starting program: /usr/bin/gbx3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff193c6c0 (LWP 135730)]
[New Thread 0x7ffff113b6c0 (LWP 135731)]
[New Thread 0x7fffebfff6c0 (LWP 135732)]
[New Thread 0x7fffeb7fe6c0 (LWP 135733)]
[Thread 0x7ffff113b6c0 (LWP 135731) exited]
[Thread 0x7fffebfff6c0 (LWP 135732) exited]
[New Thread 0x7fffebfff6c0 (LWP 135734)]
[New Thread 0x7ffff113b6c0 (LWP 135735)]
[Thread 0x7fffeb7fe6c0 (LWP 135733) exited]
[Thread 0x7fffebfff6c0 (LWP 135734) exited]
[New Thread 0x7fffebfff6c0 (LWP 135736)]
[New Thread 0x7fffeb7fe6c0 (LWP 135737)]
[Thread 0x7ffff113b6c0 (LWP 135735) exited]
[Thread 0x7fffebfff6c0 (LWP 135736) exited]
[Thread 0x7fffeb7fe6c0 (LWP 135737) exited]
[New Thread 0x7fffeb7fe6c0 (LWP 135738)]
[Thread 0x7fffeb7fe6c0 (LWP 135738) exited]
Form1.TextArea1_Drop.35: "and more text"
Form1.TextArea1_Drop.35: "text"

Thread 1 "gbx3" received signal SIGSEGV, Segmentation fault.
0x00007ffff55b3056 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
(gdb) bt
#0  0x00007ffff55b3056 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#1  0x00007ffff5295d72 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#2  0x00007ffff67245a9 in ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3  0x00007ffff673dbbf in g_signal_emit_valist () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007ffff673dfd8 in g_signal_emit_by_name () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007ffff549f695 in gtk_selection_convert () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#6  0x00007ffff7ca7ab1 in gDrag::getData (prefix=prefix at entry=0x7ffff7cac85a "text/") at gdrag.cpp:731
#7  0x00007ffff7ca7b40 in gDrag::getText (len=len at entry=0x7fffffffcbac, format=0x7ffff7cac85a "text/", format at entry=0x0,
    fromOutside=fromOutside at entry=false) at gdrag.cpp:758
#8  0x00007ffff7c96816 in paste_drag (format=0x0, format at entry=<error reading variable: value has been optimized out>) at CClipboard.cpp:447
#9  0x00005555555bc5bd in EXEC_call_native (exec=<optimized out>, object=<optimized out>, type=12, param=param at entry=0x0) at gbx_exec.c:1166
#10 0x00005555555bf1e8 in EXEC_push_unknown () at gbx_exec_push.c:426
#11 0x00005555555b6ad8 in EXEC_loop () at gbx_exec_loop.c:955
#12 0x00005555555bbdc5 in EXEC_function_loop () at gbx_exec.c:918
#13 0x00005555555bc572 in EXEC_function_real () at gbx_exec.c:905
#14 0x00005555555bd9f1 in EXEC_public_desc (class=class at entry=0x555555837768, object=object at entry=0x55555588c508, desc=desc at entry=0x55555562e0e8,
    nparam=nparam at entry=0) at gbx_exec.c:1589
#15 0x0000555555591ddf in raise_event (observer=observer at entry=0x55555588c508, object=object at entry=0x555555956d88, func_id=166, func_id at entry=167,
    nparam=nparam at entry=0, can_propagate=can_propagate at entry=0 '\000') at gbx_api.c:856
#16 0x0000555555593df8 in GB_RaiseEvent (object=0x555555956d88, event_id=15, nparam=0) at gbx_api.c:1022
#17 0x00007ffff7c99622 in CB_control_drop (sender=sender at entry=0x5555558fcc00) at CWidget.cpp:291
#18 0x00007ffff7c7fac9 in cb_drag_drop (widget=<optimized out>, context=0x0, x=4, y=15, time=6365937, data=0x5555558fcc00) at gsignals.cpp:314
#19 0x00007ffff5291d02 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#20 0x00007ffff67243b0 in g_closure_invoke () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff6737076 in ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff673d42d in g_signal_emit_valist () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff673dfd8 in g_signal_emit_by_name () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007ffff55b3b3a in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#25 0x00007ffff55b4585 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#26 0x00007ffff5409225 in gtk_main_do_event () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#27 0x00007ffff7ca4a88 in gambas_handle_event (event=0x555555db38a0) at gapplication.cpp:877
#28 0x00007ffff7b36815 in ?? () from /lib/x86_64-linux-gnu/libgdk-3.so.0
#29 0x00007ffff7b907a2 in ?? () from /lib/x86_64-linux-gnu/libgdk-3.so.0
#30 0x00007ffff511c7a9 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ffff511ca38 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007ffff511cacc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007ffff5408581 in gtk_main_iteration_do () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#34 0x00007ffff7ca1e02 in MAIN_do_iteration (do_not_block=do_not_block at entry=false) at main.cpp:697
#35 0x00007ffff7ca1e46 in hook_loop () at main.cpp:575
#36 0x000055555557465d in main (argc=<optimized out>, argv=<optimized out>) at gbx.c:506


More information about the User mailing list