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

Bruce Steers bsteers4 at gmail.com
Sat Nov 18 15:38:36 CET 2023


On Sat, 18 Nov 2023 at 14:34, Benoît Minisini <
benoit.minisini at gambas-basic.org> 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.
>
> --
> Benoît Minisini.
>

mine...

Thread 1 "gbx3" received signal SIGSEGV, Segmentation fault.
0x00007ffff51c870b in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
(gdb) bt
#0  0x00007ffff51c870b in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#1  0x00007ffff51f13ba in  () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#2  0x00007ffff56cb700 in g_signal_emit_valist () at
/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3  0x00007ffff56cba8e in g_signal_emit_by_name () at
/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007ffff50e05fc in gtk_selection_convert () at
/lib/x86_64-linux-gnu/libgtk-3.so.0
#5  0x00007ffff63d1019 in gDrag::getData(char const*)
(prefix=prefix at entry=0x55555592f3d0
"text/plain") at gdrag.cpp:738
#6  0x00007ffff63d27fa in gDrag::getData(char const*)
(prefix=0x55555592f3d0 "text/plain") at gdrag.cpp:713
#7  gDrag::getText(int*, char const*, bool)
    (len=len at entry=0x7fffffffcad4, format=format at entry=0x55555592f3d0
"text/plain", fromOutside=fromOutside at entry=false) at gdrag.cpp:769
#8  0x00007ffff63c0546 in paste_drag(char*) (format=0x55555592f3d0
"text/plain") at CClipboard.cpp:447
#9  0x00005555555c1033 in EXEC_native () at gbx_exec.c:1334
#10 0x00005555555bb6eb in EXEC_loop () at gbx_exec_loop.c:1600
#11 0x00005555555bfecd in EXEC_function_loop () at gbx_exec.c:918
#12 0x00005555555c06b4 in EXEC_function_real () at gbx_exec.c:905
#13 0x00005555555c1b41 in EXEC_public_desc
    (class=class at entry=0x55555583ce38, object=object at entry=0x55555589ebb8,
desc=desc at entry=0x555555909468, nparam=nparam at entry=0)
    at gbx_exec.c:1589
#14 0x0000555555593bef in raise_event (observer=observer at entry=0x55555589ebb8,
object=object at entry=0x555555bbfd58, 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
#15 0x0000555555595e26 in GB_RaiseEvent (object=0x555555bbfd58,
event_id=15, nparam=0) at gbx_api.c:1022
#16 0x00007ffff63c3685 in CB_control_drop(gControl*)
(sender=sender at entry=0x555555975890)
at CWidget.cpp:291
#17 0x00007ffff63a7e41 in cb_drag_drop(GtkWidget*, GdkDragContext*, gint,
gint, guint, gControl*)
    (widget=<optimised out>, context=0x0, x=96, y=16, time=5568234,
data=0x555555975890) at gsignals.cpp:326
--Type <RET> for more, q to quit, c to continue without paging--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231118/b2c8cac8/attachment-0001.htm>


More information about the User mailing list