btnx crashed with SIGSEGV in __strcpy_chk()

Bug #330193 reported by Khorne on 2009-02-16
244
This bug affects 19 people
Affects Status Importance Assigned to Milestone
btnx (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: btnx

It's been generated crash report just after installing via synaptic. Jaunty with newest updates.

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/sbin/btnx
Package: btnx 0.4.11-1ubuntu1
ProcAttrCurrent: unconfined
ProcCmdline: /usr/sbin/btnx -b
ProcEnviron:
 PATH=(custom, no user)
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: btnx
Stacktrace:
 #0 0xb7f53184 in __strcpy_chk () from /lib/tls/i686/cmov/libc.so.6
 #1 0x0804aa72 in ?? ()
 #2 0x080496c5 in ?? ()
 #3 0xb7e6e775 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
 #4 0x08049151 in ?? ()
StacktraceTop:
 __strcpy_chk () from /lib/tls/i686/cmov/libc.so.6
 ?? ()
 ?? ()
 __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
 ?? ()
Title: btnx crashed with SIGSEGV in __strcpy_chk()
Uname: Linux 2.6.28-7-generic i686
UserGroups:

Khorne (szczygiel-piotr) wrote :

StacktraceTop:__strcpy_chk () from /lib/tls/i686/cmov/libc.so.6
config_parse (config_name=0xbfcf9920)
main (argc=2, argv=0xbfcf99e4) at btnx.c:385

Changed in btnx:
importance: Undecided → Medium
Khorne (szczygiel-piotr) wrote :
visibility: private → public
Changed in btnx (Ubuntu):
status: New → Confirmed
Sparhawk (sparhawkthesecond) wrote :

After $ sudo apt-get install btnx
I also got these messages at the end of the installation output.

Setting up btnx (0.4.11-3ubuntu2) ...
Starting btnx : Button Extension - mouse button rerouter daemon
 btnx: uinput modprobed successfully.
 btnx: Could not read the config manager file: No such file or directory
Segmentation fault (core dumped)
btnx failed to start (error code 139) - try btnx-config

Sparhawk (sparhawkthesecond) wrote :

Okay, so I worked it out. Not only do you need to run btnx-config as per the message, but you actually need to run it as root. N.B. you might also need to modify xinput as per http://www.ghacks.net/2011/06/28/how-to-customize-extra-mouse-buttons-in-linux/

To post a comment you must log in.