Bug 358545 - Konsole crash when modprobe hid_magicmouse
Summary: Konsole crash when modprobe hid_magicmouse
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-01-25 17:42 UTC by Ben Klopfenstein
Modified: 2016-07-27 16:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Klopfenstein 2016-01-25 17:42:00 UTC
Application: konsole (15.12.1)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-1-default x86_64
Distribution: "openSUSE Tumbleweed (20160121) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
1.  I was interested in setting custom module parameters for the hid_magicmouse driver, so I launched konsole and used sudo to edit a /etc/modprobe.d/ file to contain the module options I wanted.

2. I then did sudo rmmod hid_magicmouse. My mouse stopped working, as expected.
3. I then did sudo modprobe hid_magicmouse. My mouse started working with expected modifications. Konsole crashed instantly.

I don't believe the actual changes to module parameters was relevant - I think konsole crashes when this mouse is connected. Even so, here are the changes I made:

10:41 $ cat /etc/modprobe.d/50-bluetooth.conf 
# use "reset=1" as default, since it should be safe for recent devices and
# solves all kind of problems.
options btusb reset=1

options hid_magicmouse emulate_3button=0
options hid_magicmouse scroll_speed=42
options hid_magicmouse report_undeciphered=1

-- Backtrace:
Application: Konsole (konsole), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f03673c6940 (LWP 18127))]

Thread 2 (Thread 0x7f034fe09700 (LWP 18128)):
#0  0x00007f0366d00799 in syscall () at /lib64/libc.so.6
#1  0x00007f0363102c98 in QBasicMutex::lockInternal() () at /usr/lib64/libQt5Core.so.5
#2  0x00007f0352162e39 in  () at /usr/lib64/libQt5XcbQpa.so.5
#3  0x00007f036310a94f in  () at /usr/lib64/libQt5Core.so.5
#4  0x00007f035e0b34a4 in start_thread () at /lib64/libpthread.so.0
#5  0x00007f0366d04bdd in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f03673c6940 (LWP 18127)):
[KCrash Handler]
#6  0x00007f0366c4fd38 in raise () at /lib64/libc.so.6
#7  0x00007f0366c5118a in abort () at /lib64/libc.so.6
#8  0x00007f0366c8e75a in  () at /lib64/libc.so.6
#9  0x00007f0366c94096 in malloc_printerr () at /lib64/libc.so.6
#10 0x00007f0366c95066 in _int_free () at /lib64/libc.so.6
#11 0x00007f03521673e8 in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#12 0x00007f0363309d79 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#13 0x00007f0363fbf8cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007f0363fc49d6 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f03632dbcf3 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#16 0x00007f03632de016 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#17 0x00007f036332f103 in  () at /usr/lib64/libQt5Core.so.5
#18 0x00007f035d97f097 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#19 0x00007f035d97f2c8 in  () at /usr/lib64/libglib-2.0.so.0
#20 0x00007f035d97f36c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#21 0x00007f036332f50f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#22 0x00007f03632d963a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#23 0x00007f03632e12fd in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#24 0x00007f0366fe868f in kdemain () at /usr/lib64/libkdeinit5_konsole.so
#25 0x00007f0366c3b610 in __libc_start_main () at /lib64/libc.so.6
#26 0x00000000004007f9 in _start ()

Reported using DrKonqi
Comment 1 Ben Klopfenstein 2016-01-25 18:56:55 UTC
This appears to also occur when I open the touchpad KCM.
Comment 2 Ben Klopfenstein 2016-07-27 16:55:12 UTC
seems to work now.