URL: <http://savannah.gnu.org/bugs/?35029>
Summary: Segmentation fault when using stop key Project: Xnee Submitted by: None Submitted on: Sun 11 Dec 2011 07:24:05 AM UTC Category: gnee Severity: 3 - Normal Item Group: Error report Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: 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: info-x...@gnu.org # Xnee bug mailing list: bug-xnee@gnu.org # 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 _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Sun 11 Dec 2011 07:24:05 AM UTC Name: output Size: 5kB By: None <http://savannah.gnu.org/bugs/download.php?file_id=24560> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?35029> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-xnee mailing list Bug-xnee@gnu.org https://lists.gnu.org/mailman/listinfo/bug-xnee