bugXnee - Bugs: bug #35029, Segmentation fault when using stop...

 
 

bug #35029: Segmentation fault when using stop key

Submitted by:  None
Submitted on:  Sun 11 Dec 2011 07:24:05 AM UTC  
 
Category: gneeSeverity: 3 - Normal
Item Group: Error reportStatus: Fixed
Privacy: PublicAssigned to: Henrik Sandklef <hesa>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 16 Dec 2011 11:09:11 PM UTC, comment #1:

Problem 01: you try to grab a key already grabbed
Solution: Grab another key

Problem 02: Xnee crashes.
Solution: Upgrade to 3.11, where the crash is fixed
Released just minutes ago

Henrik Sandklef <hesa>
Project AdministratorIn charge of this item.
Sun 11 Dec 2011 07:24:05 AM UTC, original submission:

Cnee segfaults after pressing any key after running this command:
cnee --record --keyboard --events-to-record -1 --stop-key h

using xnee 3.1

I am using not typical keyboard layout, that is dvorak for programmers.

Output from gdb:
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /usr/bin/cnee --record --keyboard --events-to-record -1 --stop-key h
uNOTIFICATION: If you have problem with Xnee and recording device events: File a bug report including this text.
NOTIFICATION: If you have problem with Xnee and recording device events: File a bug report including this text.
####################################
# System information #
####################################
# Date: 2011:12:11
# Time: 08:19:46
# Xnee program: cnee
# Xnee version: 3.10
# Xnee home: http://www.gnu.org/software/xnee/
# Xnee info mailing list: -unavailable-
# Xnee bug mailing list: -unavailable-
# X version: 11
# X revision: 0
# X vendor: The X.Org Foundation
# X vendor release: 11102901
# Record version major: 1
# Record version minor: 13
# OS name: Linux
# OS Release: 3.1.0-1-686-pae
# OS Version: #1 SMP Mon Nov 14 08:24:20 UTC 2011
# Machine: i686
# Nodename: moria
# Display name: :0
# Dimension: 1440x900

##############################################
# Xnee application arguments #
##############################################
# /usr/bin/cnee --record --keyboard --events-to-record -1 --stop-key h

##############################################
# Displays #
##############################################
# display :0
# distribute

##############################################
# Files #
##############################################
# out-file stdout
# err-file stderr

##############################################
# Key Grabs #
##############################################
# stop-key h
# pause-key 0
# resume-key 0
# insert-key 0
# exec-key 0
# exec-program-key xnee-exec-no-program

##############################################
# Recording limits etc #
##############################################

events-to-record -1
data-to-record -1
seconds-to-record -1
# first-last

# Record all (including current) clients or only future ones
all-clients
# future-clients

# Store the starting mouse position
# store-mouse-position

##############################################
# Resolution #
##############################################

# Resolution
#recorded-resolution 1440x900
#replay-resolution 1x1
#resolution-adjustment 0

##############################################
# Speed #
##############################################

# Speed
#speed-percent 100

##############################################
# Replaying limits etc #
##############################################

max-threshold 20
min-threshold 20
tot-threshold 40

##############################################
# Feedback #
##############################################
#feedback-none
#feedback-stderr
feedback-xosd

##############################################
# Various #
##############################################

# Plugin file

# Modes (currently not used)
# synchronised-replay

# Replay offset
#replay-offset 0x0

# Human printout of X11 data (instead of Xnee format)
# human-printout

# Delay before starting record/replay
# time 0

# No recording of ReparentNotify
# no-reparent-recording

# Various
#########################################
# Record settings #
#########################################
# data_flags 7
# rState 0x8051a38
# xids[0] 3
# xids[1] 0
# Number of Ranges 2
# RecordRange[0]
request-range 0-0
reply-range 0-0
extension-request-major-range 0-0
extension-request-minor-range 0-0
extension-reply-major-range 0-0
extension-reply-minor-range 0-0
delivered-event-range 21-21
device-event-range 2-3
error-range 0-0
# RecordRange[1]
request-range 0-0
reply-range 0-0
extension-request-major-range 0-0
extension-request-minor-range 0-0
extension-reply-major-range 0-0
extension-reply-minor-range 0-0
delivered-event-range 0-0
device-event-range 78-80
error-range 0-0
uError number: 24
Error: Bad grab data
Solution: You have requested to grab the same key more than once or one already grabbed
7,2,0,0,0,53,0,6285611,5,Virtual core XTEST keyboard
7,2,0,0,0,41,0,6285645,11,AT Translated Set 2 keyboard
u
Program received signal SIGSEGV, Segmentation fault.
0xb7fa4417 in xnee_save_or_print () from /usr/lib/libxnee.so.0
(gdb) backtrace
#0 0xb7fa4417 in xnee_save_or_print () from /usr/lib/libxnee.so.0
#1 0xb7f9b764 in ?? () from /usr/lib/libxnee.so.0
#2 0xb7f9bc0f in xnee_record_handle_event () from /usr/lib/libxnee.so.0
#3 0xb7f9bec0 in xnee_record_dispatch () from /usr/lib/libxnee.so.0
#4 0xb7e4b518 in ?? () from /usr/lib/i386-linux-gnu/libXtst.so.6
#5 0xb7e4b973 in ?? () from /usr/lib/i386-linux-gnu/libXtst.so.6
#6 0xb7e8de7b in ?? () from /usr/lib/i386-linux-gnu/libX11.so.6
#7 0xb7e8ece8 in _XReply () from /usr/lib/i386-linux-gnu/libX11.so.6
#8 0xb7e8a266 in XSync () from /usr/lib/i386-linux-gnu/libX11.so.6
#9 0xb7e8a303 in ?? () from /usr/lib/i386-linux-gnu/libX11.so.6
#10 0xb7e70536 in XFreeGC () from /usr/lib/i386-linux-gnu/libX11.so.6
#11 0xb7e69644 in XCloseDisplay () from /usr/lib/i386-linux-gnu/libX11.so.6
#12 0xb7faadaa in xnee_close_down () from /usr/lib/libxnee.so.0
#13 0x080498fd in ?? ()
#14 0xb7d02e46 in __libc_start_main (main=0x8049880, argc=7, ubp_av=0xbffff014, init=0x804c5f0,
fini=0x804c5e0, rtld_fini=0xb7ff1310, stack_end=0xbffff00c) at libc-start.c:228
#15 0x08049955 in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind further

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #24560:  output added by None (5KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hesa (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 16 Dec 2011 11:09:11 PM UTChesaStatusNone=>Fixed
      Assigned toNone=>hesa
      Open/ClosedOpen=>Closed
    Sun 11 Dec 2011 07:24:05 AM UTCNoneAttached File-=>Added output, #24560

    Back to the top


    Powered by Savane 3.1-cleanup1