[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#898637: Pluma text editor crashes when scrolling while hovering over a tab



On at 2018-05-15 07:44 +0000, Mike Gabriel wrote:
> Testing in a Debian unstable chroot did not let me reproduce above error.
> 
> Please test with a new / fresh user account and let me know if that issue still persists.
> 
> Mike

I did that test, the same bug occurs.

I may have not been clear enough in my description. By "hovering over a tab" I meant
that the mouse cursor points at one of the filenames listed in the tab "headers".
I did not mean the input editing area.


On at 2018-05-15 07:50 +0000, Mike Gabriel wrote:
> Plus: it would be helpful, if you could run pluma, attach gdb to it and
> once it crashes create a backtrace.
> 
> 
> ```
> terminal 1: pluma
> terminal 2: gdb --pid=$(pidof pluma)
> 
> now cause the segfault in pluma
> 
> terminal 2: (gdb) bt full
> ```
> 
> For this to be most informative, you need the pluma-dbgsym package
> installed.
> 
> ```
> deb http://httpredir.debian.org/debian-debug buster-debug main
> ```

I added that to /etc/apt/sources.list and installed the pluma-dbgsym
package, then created a new user. I observed the same bug again.

In my original user I have the following plugins enabled:

Change Case
Document Statistics
File Browser Pane
Insert Date/Time
Modelines
Sort
Spell Checker
Tag list

Disabled plugins in my original user:

Save Without Trailing Spaces


In the new user, I have the following plugins enabled:

Document Statistics
File Browser Pane
Insert Date/Time
Modelines
Spell Checker

And the disabled plugins in the new user:

Change Case
Save Without Trailing Spaces
Sort
Tag list


I also tried as the new user with all plugins disabled, still same bug.


Here's the backtrace (as the new user, listed plugins enabled):

$ ps -fe | grep "[p]luma" | grep "test"
test     15510  6339 18 12:28 pts/12   00:00:00 pluma
$ gdb --pid=15510
GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 15510
[New LWP 15515]
[New LWP 15516]
[New LWP 15517]
[New LWP 15518]
[New LWP 15520]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
0xb7eded09 in __kernel_vsyscall ()
(gdb) continue
Continuing.

Thread 1 "pluma" received signal SIGSEGV, Segmentation fault.
0xb6cc49e3 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
(gdb) bt full
#0  0xb6cc49e3 in  () at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#1  0xb6cb4ad7 in g_signal_emit_valist ()
    at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#2  0xb6cb5639 in g_signal_emit_by_name ()
    at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#3  0x00531424 in tab_label_scroll_cb (tab_label=0x16b45e8, event=<optimized out>, notebook=0x167a1a8) at pluma-notebook.c:846
#4  0xb75cbfb0 in  () at /usr/lib/i386-linux-gnu/libgtk-3.so.0
#5  0xb6c98eec in  () at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#6  0xb6cb42d5 in g_signal_emit_valist ()
    at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#7  0xb6cb5639 in g_signal_emit_by_name ()
    at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#8  0x00539ce4 in scroll_event_cb (widget=0x173c1c8, event=<optimized out>, tab_label=0x16b45e8) at pluma-tab-label.c:122
#9  0xb75cbfb0 in  () at /usr/lib/i386-linux-gnu/libgtk-3.so.0
#10 0xb6c98eec in  () at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#11 0xb6cb42d5 in g_signal_emit_valist ()
    at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#12 0xb6cb5155 in g_signal_emit ()
    at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#13 0xb7721227 in  () at /usr/lib/i386-linux-gnu/libgtk-3.so.0
#14 0xb75c89b6 in  () at /usr/lib/i386-linux-gnu/libgtk-3.so.0
#15 0xb75cae28 in gtk_main_do_event () at /usr/lib/i386-linux-gnu/libgtk-3.so.0
#16 0xb72c7667 in  () at /usr/lib/i386-linux-gnu/libgdk-3.so.0
#17 0xb72fa3f7 in  () at /usr/lib/i386-linux-gnu/libgdk-3.so.0
#18 0xb6ba1f30 in g_main_context_dispatch ()
    at /usr/lib/i386-linux-gnu/libglib-2.0.so.0
#19 0xb6ba21a9 in  () at /usr/lib/i386-linux-gnu/libglib-2.0.so.0
#20 0xb6ba2559 in g_main_loop_run ()
    at /usr/lib/i386-linux-gnu/libglib-2.0.so.0
#21 0xb75c9d6e in gtk_main () at /usr/lib/i386-linux-gnu/libgtk-3.so.0
#22 0x004f40d2 in main (argc=<optimized out>, argv=<optimized out>)
    at pluma.c:651
        context = <optimized out>
        engine = 0x12d6690
        window = <optimized out>
        app = <optimized out>
        restored = <optimized out>
        error = 0x0
        dir = <optimized out>
        icon_dir = <optimized out>
        __func__ = "main"
(gdb) continue
Continuing.
[Thread 0xab4e4b40 (LWP 15520) exited]
[Thread 0xb095db40 (LWP 15518) exited]
[Thread 0xb29ffb40 (LWP 15517) exited]
[Thread 0xb33ffb40 (LWP 15516) exited]
[Thread 0xb403e940 (LWP 15510) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) quit
$ 


Regards,
ecm


Reply to: