Bug 2015336 - Mouse scroll wheel crashes Mousepad
Summary: Mouse scroll wheel crashes Mousepad
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mousepad
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-19 00:42 UTC by Ian Laurie
Modified: 2024-09-22 17:41 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ian Laurie 2021-10-19 00:42:29 UTC
Description of problem:
Mouse scroll wheel crashes Mousepad.

Version-Release number of selected component (if applicable):
mousepad-0.5.6-1.el8.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Launch Mousepad from GNOME or Xfce.
2. Use the scroll wheel with or without a file in the editor.
3.

Actual results:
Instant crash to desktop.

Expected results:
Should scroll the file.

Additional info:
Up and Down arrows scroll as expected.  Any input from the mouse wheel results in an instant crash.

Comment 1 Mukundan Ragavan 2021-10-20 00:20:54 UTC
This is strange! I tested before pushing mousepad to EL8 and I don't *think* I saw this. I will check again. :)

If you start from terminal, what does the crash say?

Comment 2 Ian Laurie 2021-10-20 02:32:46 UTC
Very sadly, not much:

adric$ mousepad
Mousepad-Message: 13:31:14.641: Plugin directory '/usr/lib64/mousepad/plugins' not found
Segmentation fault (core dumped)
adric$ 

This used to work, if it didn't I would have noticed this ages ago because I use Xfce on CentOS Stream 8, I never use GNOME.

Comment 3 Mukundan Ragavan 2021-10-31 15:04:57 UTC
Sorry for the delay. This is taking me a while since I have been busy with other things outside of fedora/epel.

Comment 4 lkakas 2022-06-13 10:39:37 UTC
I can confirm the same issue happens for me. 

LSB Version:	:core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	RedHatEnterprise
Description:	Red Hat Enterprise Linux release 8.5 (Ootpa)
Release:	8.5
Codename:	Ootpa



Name        : mousepad
Version     : 0.5.6
Release     : 1.el8
Architecture: x86_64
Install Date: Mon 20 Sep 2021 04:59:54 PM CEST
Group       : Unspecified
Size        : 1645022
License     : GPLv2+
Signature   : RSA/SHA256, Mon 02 Aug 2021 10:01:41 PM CEST, Key ID 21ea45ab2f86d6a1
Source RPM  : mousepad-0.5.6-1.el8.src.rpm
Build Date  : Mon 02 Aug 2021 03:22:20 PM CEST
Build Host  : buildvm-x86-25.iad2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : https://git.xfce.org/apps/mousepad/about/
Bug URL     : https://bugz.fedoraproject.org/mousepad
Summary     : Simple text editor for Xfce desktop environment

Comment 5 Jay Shaughnessy 2023-04-24 12:49:47 UTC
Same problem, RHEL 8, Mousepad 0.5.6-1.el8

Comment 6 Fedora Admin user for bugzilla script actions 2024-05-17 00:19:25 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 7 Mark Mielke 2024-09-12 01:35:31 UTC
Thread 1 "mousepad" received signal SIGSEGV, Segmentation fault.
#0  0x0000000000000000 in  ()
#1  0x00007ffff63e8e38 in _gtk_marshal_BOOLEAN__BOXEDv
    (closure=0x5555556b27f0, return_value=0x7fffffffcb20, instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=0x5555556b2820) at gtkmarshalers.c:129
#2  0x00007ffff757c616 in _g_closure_invoke_va () at /usr/lib64/libgobject-2.0.so.0
#3  0x00007ffff7598525 in g_signal_emit_valist () at /usr/lib64/libgobject-2.0.so.0
#4  0x00007ffff75990e3 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#5  0x00007ffff65361c4 in gtk_widget_event_internal (widget=widget@entry=0x55555593c300, event=event@entry=0x55555564a5c0) at gtkwidget.c:7744
#6  0x00007ffff6538f9e in gtk_widget_event (widget=widget@entry=0x55555593c300, event=event@entry=0x55555564a5c0) at gtkwidget.c:7314
#7  0x00007ffff63e5c56 in propagate_event_up (topmost=<optimized out>, event=<optimized out>, widget=0x55555593c300) at gtkmain.c:2582
#8  0x00007ffff63e5c56 in propagate_event (widget=<optimized out>, event=0x55555564a5c0, captured=<optimized out>, topmost=0x0)
    at gtkmain.c:2685
#9  0x00007ffff63e7e1b in gtk_main_do_event (event=0x55555564a5c0) at gtkmain.c:1915
#10 0x00007ffff63e7e1b in gtk_main_do_event (event=<optimized out>) at gtkmain.c:1685
#11 0x00007ffff5ee79d9 in _gdk_event_emit (event=event@entry=0x55555564a5c0) at gdkevents.c:73
#12 0x00007ffff5f19356 in gdk_event_source_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>)
    at gdkeventsource.c:367
#13 0x00007ffff4e0eaed in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#14 0x00007ffff4e0eea8 in g_main_context_iterate.isra () at /usr/lib64/libglib-2.0.so.0
#15 0x00007ffff4e0ef40 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#16 0x00007ffff78690cd in g_application_run () at /usr/lib64/libgio-2.0.so.0
#17 0x0000555555400c4d in main (argc=1, argv=0x7fffffffd058) at main.c:57

Comment 8 Mark Mielke 2024-09-12 02:13:18 UTC
Compiling the mousepad-0.6.1.el9 source RPM for EL 8.10, changing the dependency from gtksourceview4-devel to gtksourceview3-devel, seems to have cleared the symptom. Still confirming on our end - but either the recompile against EL 8.10 (as opposed to whatevere mousepad.el8 was originally compiled against?), or the upgrade to 0.6.1 seems promising. I suggest your rebuild and publish to clear this issue, but if you want to wait a day or two, I can get firmer validation.

Comment 9 Mark Mielke 2024-09-13 04:18:19 UTC
With 0.6.1 compiled on EL 8.10, the three cases where we could reproduce the issue, all seem resolved. Therefore, it should be beneficial to others if 0.6.1 could be built for EPEL 8 / EL 8.10 and published and allow you to close out this issue.

Comment 10 Kevin Fenzi 2024-09-22 17:41:27 UTC
Interesting. Can you try this scratch build?

https://koji.fedoraproject.org/koji/taskinfo?taskID=123787047


Note You need to log in before you can comment on or make changes to this bug.