LibreScribe icon indicating copy to clipboard operation
LibreScribe copied to clipboard

crash (non permission issues)

Open jorgenschelleman opened this issue 13 years ago • 1 comments

LibreScribe crashes as soon as the pen is recognized. I have run the program as a SU and that wasn't the issue.
OS: (Debian, Unstable branch, kernel 3.2.0-1-amd64)

My output:--- Initialize EditColourSet ..... Initialize EditColourSet: done. Loading toolbar... EnvVars: loaded cbKeyBinder: loaded lib_finder: loaded Debugger: loaded CB_Koders: loaded AutoVersioning: loaded CodeSnippets: loaded ProjectsImporter: loaded Autosave: loaded BrowseTracker: loaded IncrementalSearch: loaded Cccc: loaded copystrings: loaded CppCheck: loaded HelpPlugin: loaded CodeCompletion: loaded OpenFilesList: loaded cbDragScroll: loaded FilesExtensionHandler: loaded AStylePlugin: loaded ThreadSearch: loaded Profiler: loaded Valgrind: loaded wxSmithContribItems: loaded wxSmith: loaded wxSmithMime: loaded ClassWizard: loaded BYOGames: loaded SymTab: loaded HeaderFixup: loaded Compiler: loaded RegExTestbed: loaded MouseSap: loaded ScriptedWizard: loaded Exporter: loaded HexEditor: loaded ToDoList: loaded wxSmithAui: loaded CodeStat: loaded Environment variables plugin activated Keyboard shortcuts plugin activated Parsing stage done (0 total parsed files, 0 tokens in 0 minute(s), 0.0 seconds). Library finder plugin activated Debugger plugin activated Koders query plugin activated AutoVersioning plugin activated Code snippets plugin activated Foreign projects importer plugin activated Autosave plugin activated BrowseTracker plugin activated IncrementalSearch plugin activated Cccc plugin activated Copy Strings to clipboard plugin activated CppCheck plugin activated Help plugin plugin activated Code completion plugin activated Open files list plugin activated DragScroll plugin activated Files extension handler plugin activated Source code formatter (AStyle) plugin activated ThreadSearch plugin activated Code profiler plugin activated Valgrind plugin activated wxSmith - Contrib Items plugin activated wxSmith plugin activated wxSmith - MIME plugin plugin activated Class wizard plugin activated BYO Games plugin activated Symbol Table Plugin plugin activated Header Fixup plugin activated Added compiler "GNU GCC Compiler" Added compiler "Intel C/C++ Compiler" Added compiler "SDCC Compiler" Added compiler "Tiny C Compiler" Added compiler "GDC D Compiler" Added compiler "Digital Mars D Compiler" Added compiler "GNU ARM GCC Compiler" Added compiler "GNU AVR GCC Compiler" Added compiler "GNU GCC Compiler for PowerPC" Added compiler "GNU GCC Compiler for TriCore" Compiler plugin activated Regular expressions testbed plugin activated MouseSap plugin activated Project wizard added for 'Empty project' Project wizard added for 'Console application' Project wizard added for 'D application' Project wizard added for 'FLTK project' Project wizard added for 'GLFW project' Project wizard added for 'GLUT project' Project wizard added for 'GTK+ project' Project wizard added for 'Irrlicht project' Project wizard added for 'Lightfeather project' Project wizard added for 'OpenGL project' Project wizard added for 'Ogre project' Project wizard added for 'Code::Blocks plugin' Project wizard added for 'QT4 project' Project wizard added for 'SDL project' Project wizard added for 'SFML project' Project wizard added for 'Static library' Project wizard added for 'Shared library' Project wizard added for 'wxWidgets project' Build-target wizard added for 'Console' Build-target wizard added for 'Static library' Build-target wizard added for 'wxWidgets' Project wizard added for 'ARM Project' Project wizard added for 'AVR Project' Project wizard added for 'TriCore Project' Project wizard added for 'PowerPC Project' File(s) wizard added for 'Empty file' File(s) wizard added for 'C/C++ source' File(s) wizard added for 'C/C++ header' Scripted wizard plugin activated Source Exporter plugin activated HexEditor plugin activated Todo List plugin activated wxSmith - Aui plugin activated Code statistics plugin activated Initializing plugins... Loading project file... Parsing project file... Loading target Debug Loading target Release Loading project files... 15 files loaded Done loading project in 1ms Project's base path: /home/jorgen/LibreScribe/ Project's common toplevel path: /home/jorgen/LibreScribe/ Add project LibreScribe in parsing queue Caching result of wx-config --cflags Cached Caching result of python-config --include Cached Caching result of pkg-config --libs --cflags glib-2.0 Cached Caching result of wx-config --libs Cached Caching result of python-config --libs Cached Caching internal gcc dirs for adding to parser... Caching GCC dir: /usr/include/c++/4.6 Caching GCC dir: /usr/include/c++/4.6/x86_64-linux-gnu/. Caching GCC dir: /usr/include/c++/4.6/backward Caching GCC dir: /usr/lib/gcc/x86_64-linux-gnu/4.6/include Caching GCC dir: /usr/local/include Caching GCC dir: /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed Caching GCC dir: /usr/include/x86_64-linux-gnu Caching GCC dir: /usr/include Passing list of files to batch-parser. Batch-parsing 12 file(s)... Starting batch parsing... Parsing stage done (650 total parsed files, 38040 tokens in 0 minute(s), 0.462 seconds). Updating class browser... Class browser updated. Scanned 0 files for #includes, cache used 0, cache updated 0 Running project pre-build steps cd /home/jorgen/LibreScribe/ && rm -rfv ./bin removed ./bin/Debug/convert_stfs.sh' removed./bin/Debug/res/edit-delete.svg' removed ./bin/Debug/res/notepad-icon.png' removed./bin/Debug/res/emblem-system.png' removed ./bin/Debug/res/no-pen-icon.xcf' removed./bin/Debug/res/pen-icon-32.png' removed ./bin/Debug/res/no-pen-icon.png' removed./bin/Debug/res/pen-refresh.png' removed ./bin/Debug/res/pen-icon.png' removed./bin/Debug/res/style-pen.svg' removed ./bin/Debug/res/process-stop.png' removed./bin/Debug/res/page1.png' removed ./bin/Debug/res/librescribe.svg' removed./bin/Debug/res/dialog-information-128.png' removed ./bin/Debug/res/view-refresh.png' removed./bin/Debug/res/no-pen-icon-32.png' removed ./bin/Debug/res/no-pen-icon-32.xcf' removed./bin/Debug/res/page-icon.png' removed ./bin/Debug/res/librescribe.png' removed./bin/Debug/res/page-icon-32.png' removed directory: ./bin/Debug/res' removed./bin/Debug/xdg/xdg-desktop-icon' removed ./bin/Debug/xdg/xdg-mime' removed./bin/Debug/xdg/man/xdg-icon-resource.1' removed ./bin/Debug/xdg/man/xdg-desktop-icon.1' removed./bin/Debug/xdg/man/xdg-screensaver.1' removed ./bin/Debug/xdg/man/xdg-settings.1' removed./bin/Debug/xdg/man/xdg-desktop-menu.1' removed ./bin/Debug/xdg/man/xdg-mime.1' removed./bin/Debug/xdg/man/.gitignore' removed ./bin/Debug/xdg/man/xdg-open.1' removed./bin/Debug/xdg/man/xdg-email.1' removed directory: ./bin/Debug/xdg/man' removed./bin/Debug/xdg/html/index.html' removed ./bin/Debug/xdg/html/xdg-mime.html' removed./bin/Debug/xdg/html/index.html.post' removed ./bin/Debug/xdg/html/xdg-desktop-menu.html' removed./bin/Debug/xdg/html/xdg-icon-resource.html' removed ./bin/Debug/xdg/html/xdg-settings.html' removed./bin/Debug/xdg/html/xdg-open.html' removed ./bin/Debug/xdg/html/index.html.pre' removed./bin/Debug/xdg/html/xdg-screensaver.html' removed ./bin/Debug/xdg/html/xdg-email.html' removed./bin/Debug/xdg/html/xdg-desktop-icon.html' removed ./bin/Debug/xdg/html/.gitignore' removed directory:./bin/Debug/xdg/html' removed ./bin/Debug/xdg/xdg-desktop-menu' removed./bin/Debug/xdg/xdg-screensaver' removed ./bin/Debug/xdg/xdg-email' removed./bin/Debug/xdg/xdg-icon-resource' removed ./bin/Debug/xdg/xdg-open' removed./bin/Debug/xdg/Makefile' removed ./bin/Debug/xdg/xdg-settings' removed directory:./bin/Debug/xdg' removed ./bin/Debug/LibreScribe' removed./bin/Debug/stf.py' removed directory: ./bin/Debug' removed directory:./bin' cd /home/jorgen/LibreScribe/libusb/ && [ -f configure ] || sh autogen.sh cd /home/jorgen/LibreScribe/libusb/ && [ -f Makefile ] || ./configure cd /home/jorgen/LibreScribe/libusb/ && [ -f libusb/.libs/libusb-1.0.a ] || make Scanned 0 files for #includes, cache used 0, cache updated 0 -------------- Build: Debug in LibreScribe --------------- Scanned 372 files for #includes, cache used 0, cache updated 372 Linking executable: bin/Debug/LibreScribe Output size is 1.90 MB Scanned 0 files for #includes, cache used 0, cache updated 0 Scanned 0 files for #includes, cache used 0, cache updated 0 Scanned 0 files for #includes, cache used 0, cache updated 0 Running project post-build steps cd /home/jorgen/LibreScribe/ find ./bin/ -mindepth 1 -maxdepth 1 -type d | xargs -n 1 cp -rfv -L ./res ./xdg ./res' ->./bin/Debug/res' ./res/edit-delete.svg' ->./bin/Debug/res/edit-delete.svg' ./res/notepad-icon.png' ->./bin/Debug/res/notepad-icon.png' ./res/emblem-system.png' ->./bin/Debug/res/emblem-system.png' ./res/no-pen-icon.xcf' ->./bin/Debug/res/no-pen-icon.xcf' ./res/pen-icon-32.png' ->./bin/Debug/res/pen-icon-32.png' ./res/no-pen-icon.png' ->./bin/Debug/res/no-pen-icon.png' ./res/pen-refresh.png' ->./bin/Debug/res/pen-refresh.png' ./res/pen-icon.png' ->./bin/Debug/res/pen-icon.png' ./res/style-pen.svg' ->./bin/Debug/res/style-pen.svg' ./res/process-stop.png' ->./bin/Debug/res/process-stop.png' ./res/page1.png' ->./bin/Debug/res/page1.png' ./res/librescribe.svg' ->./bin/Debug/res/librescribe.svg' ./res/dialog-information-128.png' ->./bin/Debug/res/dialog-information-128.png' ./res/view-refresh.png' ->./bin/Debug/res/view-refresh.png' ./res/no-pen-icon-32.png' ->./bin/Debug/res/no-pen-icon-32.png' ./res/no-pen-icon-32.xcf' ->./bin/Debug/res/no-pen-icon-32.xcf' ./res/page-icon.png' ->./bin/Debug/res/page-icon.png' ./res/librescribe.png' ->./bin/Debug/res/librescribe.png' ./res/page-icon-32.png' ->./bin/Debug/res/page-icon-32.png' ./xdg' ->./bin/Debug/xdg' ./xdg/xdg-desktop-icon' ->./bin/Debug/xdg/xdg-desktop-icon' ./xdg/xdg-mime' ->./bin/Debug/xdg/xdg-mime' ./xdg/man' ->./bin/Debug/xdg/man' ./xdg/man/xdg-icon-resource.1' ->./bin/Debug/xdg/man/xdg-icon-resource.1' ./xdg/man/xdg-desktop-icon.1' ->./bin/Debug/xdg/man/xdg-desktop-icon.1' ./xdg/man/xdg-screensaver.1' ->./bin/Debug/xdg/man/xdg-screensaver.1' ./xdg/man/xdg-settings.1' ->./bin/Debug/xdg/man/xdg-settings.1' ./xdg/man/xdg-desktop-menu.1' ->./bin/Debug/xdg/man/xdg-desktop-menu.1' ./xdg/man/xdg-mime.1' ->./bin/Debug/xdg/man/xdg-mime.1' ./xdg/man/.gitignore' ->./bin/Debug/xdg/man/.gitignore' ./xdg/man/xdg-open.1' ->./bin/Debug/xdg/man/xdg-open.1' ./xdg/man/xdg-email.1' ->./bin/Debug/xdg/man/xdg-email.1' ./xdg/html' ->./bin/Debug/xdg/html' ./xdg/html/index.html' ->./bin/Debug/xdg/html/index.html' ./xdg/html/xdg-mime.html' ->./bin/Debug/xdg/html/xdg-mime.html' ./xdg/html/index.html.post' ->./bin/Debug/xdg/html/index.html.post' ./xdg/html/xdg-desktop-menu.html' ->./bin/Debug/xdg/html/xdg-desktop-menu.html' ./xdg/html/xdg-icon-resource.html' ->./bin/Debug/xdg/html/xdg-icon-resource.html' ./xdg/html/xdg-settings.html' ->./bin/Debug/xdg/html/xdg-settings.html' ./xdg/html/xdg-open.html' ->./bin/Debug/xdg/html/xdg-open.html' ./xdg/html/index.html.pre' ->./bin/Debug/xdg/html/index.html.pre' ./xdg/html/xdg-screensaver.html' ->./bin/Debug/xdg/html/xdg-screensaver.html' ./xdg/html/xdg-email.html' ->./bin/Debug/xdg/html/xdg-email.html' ./xdg/html/xdg-desktop-icon.html' ->./bin/Debug/xdg/html/xdg-desktop-icon.html' ./xdg/html/.gitignore' ->./bin/Debug/xdg/html/.gitignore' ./xdg/xdg-desktop-menu' ->./bin/Debug/xdg/xdg-desktop-menu' ./xdg/xdg-screensaver' ->./bin/Debug/xdg/xdg-screensaver' ./xdg/xdg-email' ->./bin/Debug/xdg/xdg-email' ./xdg/xdg-icon-resource' ->./bin/Debug/xdg/xdg-icon-resource' ./xdg/xdg-open' ->./bin/Debug/xdg/xdg-open' ./xdg/Makefile' ->./bin/Debug/xdg/Makefile' ./xdg/xdg-settings' ->./bin/Debug/xdg/xdg-settings' find ./bin/ -mindepth 1 -maxdepth 1 -type d | xargs -n 1 cp -fv -L ./stf.py ./convert_stfs.sh ./stf.py' ->./bin/Debug/stf.py' ./convert_stfs.sh' ->./bin/Debug/convert_stfs.sh' Scanned 0 files for #includes, cache used 0, cache updated 0 Scanned 0 files for #includes, cache used 0, cache updated 0 Process terminated with status 0 (0 minutes, 0 seconds) 0 errors, 0 warnings libusb:debug [libusb_init] libusb:debug [find_usbfs_path] found usbfs at /dev/bus/usb libusb:debug [op_init] bulk continuation flag supported libusb:debug [op_init] found usb devices in sysfs libusb:debug [usbi_add_pollfd] add fd 4 events 1 libusb:debug [usbi_io_init] using timerfd for timeouts libusb:debug [usbi_add_pollfd] add fd 6 events 1 libusb:debug [libusb_get_device_list] libusb:debug [sysfs_scan_device] scan usb1 libusb:debug [sysfs_scan_device] sysfs descriptors available libusb:debug [sysfs_scan_device] bus=1 dev=1 libusb:debug [enumerate_device] busnum 1 devaddr 1 session_id 257 libusb:debug [enumerate_device] allocating new device for 1/1 (session 257) libusb:debug [sysfs_scan_device] scan usb2 libusb:debug [sysfs_scan_device] bus=2 dev=1 libusb:debug [enumerate_device] busnum 2 devaddr 1 session_id 513 libusb:debug [enumerate_device] allocating new device for 2/1 (session 513) libusb:debug [sysfs_scan_device] scan usb3 libusb:debug [sysfs_scan_device] bus=3 dev=1 libusb:debug [enumerate_device] busnum 3 devaddr 1 session_id 769 libusb:debug [enumerate_device] allocating new device for 3/1 (session 769) libusb:debug [sysfs_scan_device] scan usb4 libusb:debug [sysfs_scan_device] bus=4 dev=1 libusb:debug [enumerate_device] busnum 4 devaddr 1 session_id 1025 libusb:debug [enumerate_device] allocating new device for 4/1 (session 1025) libusb:debug [sysfs_scan_device] scan 3-1 libusb:debug [sysfs_scan_device] bus=3 dev=2 libusb:debug [enumerate_device] busnum 3 devaddr 2 session_id 770 libusb:debug [enumerate_device] allocating new device for 3/2 (session 770) libusb:debug [sysfs_scan_device] scan 4-1 libusb:debug [sysfs_scan_device] bus=4 dev=2 libusb:debug [enumerate_device] busnum 4 devaddr 2 session_id 1026 libusb:debug [enumerate_device] allocating new device for 4/2 (session 1026) libusb:debug [sysfs_scan_device] scan 3-1.3 libusb:debug [sysfs_scan_device] bus=3 dev=3 libusb:debug [enumerate_device] busnum 3 devaddr 3 session_id 771 libusb:debug [enumerate_device] allocating new device for 3/3 (session 771) libusb:debug [sysfs_scan_device] scan 3-1.4 libusb:debug [sysfs_scan_device] bus=3 dev=4 libusb:debug [enumerate_device] busnum 3 devaddr 4 session_id 772 libusb:debug [enumerate_device] allocating new device for 3/4 (session 772) libusb:debug [sysfs_scan_device] scan 4-1.3 libusb:debug [sysfs_scan_device] bus=4 dev=7 libusb:debug [enumerate_device] busnum 4 devaddr 7 session_id 1031 libusb:debug [enumerate_device] allocating new device for 4/7 (session 1031) libusb:debug [discovered_devs_append] need to increase capacity libusb:debug [sysfs_scan_device] scan 1-1 libusb:debug [sysfs_scan_device] bus=1 dev=6 libusb:debug [enumerate_device] busnum 1 devaddr 6 session_id 262 libusb:debug [enumerate_device] allocating new device for 1/6 (session 262) libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_open] open 4.7 libusb:debug [usbi_add_pollfd] add fd 7 events 4 libusb:debug [libusb_reset_device] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_init] libusb:debug [find_usbfs_path] found usbfs at /dev/bus/usb libusb:debug [op_init] bulk continuation flag supported libusb:debug [op_init] found usb devices in sysfs libusb:debug [usbi_add_pollfd] add fd 8 events 1 libusb:debug [usbi_io_init] using timerfd for timeouts libusb:debug [usbi_add_pollfd] add fd 11 events 1 libusb:debug [libusb_get_device_list] libusb:debug [sysfs_scan_device] scan usb1 libusb:debug [sysfs_scan_device] bus=1 dev=1 libusb:debug [enumerate_device] busnum 1 devaddr 1 session_id 257 libusb:debug [enumerate_device] allocating new device for 1/1 (session 257) libusb:debug [sysfs_scan_device] scan usb2 libusb:debug [sysfs_scan_device] bus=2 dev=1 libusb:debug [enumerate_device] busnum 2 devaddr 1 session_id 513 libusb:debug [enumerate_device] allocating new device for 2/1 (session 513) libusb:debug [sysfs_scan_device] scan usb3 libusb:debug [sysfs_scan_device] bus=3 dev=1 libusb:debug [enumerate_device] busnum 3 devaddr 1 session_id 769 libusb:debug [enumerate_device] allocating new device for 3/1 (session 769) libusb:debug [sysfs_scan_device] scan usb4 libusb:debug [sysfs_scan_device] bus=4 dev=1 libusb:debug [enumerate_device] busnum 4 devaddr 1 session_id 1025 libusb:debug [enumerate_device] allocating new device for 4/1 (session 1025) libusb:debug [sysfs_scan_device] scan 3-1 libusb:debug [sysfs_scan_device] bus=3 dev=2 libusb:debug [enumerate_device] busnum 3 devaddr 2 session_id 770 libusb:debug [enumerate_device] allocating new device for 3/2 (session 770) libusb:debug [sysfs_scan_device] scan 4-1 libusb:debug [sysfs_scan_device] bus=4 dev=2 libusb:debug [enumerate_device] busnum 4 devaddr 2 session_id 1026 libusb:debug [enumerate_device] allocating new device for 4/2 (session 1026) libusb:debug [sysfs_scan_device] scan 3-1.3 libusb:debug [sysfs_scan_device] bus=3 dev=3 libusb:debug [enumerate_device] busnum 3 devaddr 3 session_id 771 libusb:debug [enumerate_device] allocating new device for 3/3 (session 771) libusb:debug [sysfs_scan_device] scan 3-1.4 libusb:debug [sysfs_scan_device] bus=3 dev=4 libusb:debug [enumerate_device] busnum 3 devaddr 4 session_id 772 libusb:debug [enumerate_device] allocating new device for 3/4 (session 772) libusb:debug [sysfs_scan_device] scan 4-1.3 libusb:debug [sysfs_scan_device] bus=4 dev=7 libusb:debug [enumerate_device] busnum 4 devaddr 7 session_id 1031 libusb:debug [enumerate_device] allocating new device for 4/7 (session 1031) libusb:debug [discovered_devs_append] need to increase capacity libusb:debug [sysfs_scan_device] scan 1-1 libusb:debug [sysfs_scan_device] bus=1 dev=6 libusb:debug [enumerate_device] busnum 1 devaddr 6 session_id 262 libusb:debug [enumerate_device] allocating new device for 1/6 (session 262) libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_get_device_descriptor] libusb:debug [libusb_open] open 4.7 libusb:debug [usbi_add_pollfd] add fd 12 events 4 libusb:debug [libusb_unref_device] destroy device 1.1 libusb:debug [libusb_unref_device] destroy device 2.1 libusb:debug [libusb_unref_device] destroy device 3.1 libusb:debug [libusb_unref_device] destroy device 4.1 libusb:debug [libusb_unref_device] destroy device 3.2 libusb:debug [libusb_unref_device] destroy device 4.2 libusb:debug [libusb_unref_device] destroy device 3.3 libusb:debug [libusb_unref_device] destroy device 3.4 libusb:debug [libusb_unref_device] destroy device 1.6 libusb:debug [libusb_set_configuration] configuration 1 libusb:debug [libusb_set_interface_alt_setting] interface 1 altsetting 0 libusb:debug [libusb_set_interface_alt_setting] interface 1 altsetting 1 libusb:debug [libusb_close] libusb:debug [usbi_remove_pollfd] remove fd 12 libusb:debug [libusb_unref_device] destroy device 4.7 libusb:debug [libusb_exit] libusb:debug [usbi_remove_pollfd] remove fd 8 libusb:debug [usbi_remove_pollfd] remove fd 11

jorgenschelleman avatar Jan 31 '12 10:01 jorgenschelleman

I got similar issue. And it turned out to be wrong compiler or lib versions. See https://github.com/aliendude5300/LibreScribe/issues/32

krisjans avatar May 07 '12 06:05 krisjans