Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double-clicking empty device list causes Segmentation fault #53

Closed
jojomoore2007 opened this issue Jul 21, 2022 · 3 comments
Closed

Double-clicking empty device list causes Segmentation fault #53

jojomoore2007 opened this issue Jul 21, 2022 · 3 comments

Comments

@jojomoore2007
Copy link

Description:

In the 'Change Device' menu, double-clicking on a blank region in the device list will cause a Segmentation fault.

Steps to Reproduce:

  1. Go to File > Change Device
  2. Make sure the device list is empty
  3. Double-click inside the device list
  4. Segmentation fault

Final Output:

(tilp:17204): Gtk-CRITICAL **: 16:18:41.983: gtk_list_store_get_value: assertion 'VALID_ITER (iter, list_store)' failed

(tilp:17204): GLib-GObject-WARNING **: 16:18:41.983: ../../../../gobject/gtype.c:4266: type id '0' is invalid

(tilp:17204): GLib-GObject-WARNING **: 16:18:41.983: can't peek value table for type '<invalid>' which is not currently referenced
Segmentation fault

System Details:

OS: Ubuntu 18.04.6 LTS
Architecture: x86_64
Kernel Release: 4.17.0-041700-generic
Kernel Version: #201806041953 SMP Mon Jun 4 19:55:25 UTC 2018
Desktop Environment: GNOME 3.28.2

Version:

TiLP: 1.17
libticables: 1.3.4
libtifiles: 1.1.6
libticalcs: 1.1.8
libticonv: 1.1.4

Full Output:

TiLP2 - Version 1.17, (C) 1999-2008 Romain Lievin
THIS PROGRAM COMES WITH ABSOLUTELY NO WARRANTY
PLEASE READ THE DOCUMENTATION FOR DETAILS
built on Aug 15 2017 19:12:05
tilp-INFO: 16:14:25.592: setlocale: en_US.UTF-8
tilp-INFO: 16:14:25.592: bindtextdomain: /usr/share/locale/
tilp-INFO: 16:14:25.592: textdomain: tilp2
ticables-INFO: 16:14:25.593: ticables library version 1.3.4
ticables-INFO: 16:14:25.593: setlocale: en_US.UTF-8
ticables-INFO: 16:14:25.593: bindtextdomain: /usr/share/locale
ticables-INFO: 16:14:25.593: textdomain: tilp2
ticables-INFO: 16:14:25.593: kernel: 4.17.0-041700-generic
tifiles-INFO: 16:14:25.593: tifiles library version 1.1.6
tifiles-INFO: 16:14:25.593: setlocale: en_US.UTF-8
tifiles-INFO: 16:14:25.593: bindtextdomain: /usr/share/locale
tifiles-INFO: 16:14:25.593: textdomain: tilp2
ticalcs-INFO: 16:14:25.593: ticalcs library version 1.1.8
ticalcs-INFO: 16:14:25.593: setlocale: en_US.UTF-8
ticalcs-INFO: 16:14:25.593: bindtextdomain: /usr/share/locale
ticalcs-INFO: 16:14:25.593: textdomain: tilp2
ticables-INFO: 16:14:25.593: Check for lib-usb support:
ticables-INFO: 16:14:25.593:     usb support: available.
ticables-INFO: 16:14:25.593: Check for lib-usb usability:
ticables-INFO: 16:14:25.593:     usb filesystem (/dev/bus/usb/): mounted
tilp-INFO: 16:14:25.593: Opening cable DirectLink on port #1 to communicate with calculator TI84+ USB
ticables-INFO: 16:14:25.593: Check for lib-usb support:
ticables-INFO: 16:14:25.593:     usb support: available.
ticables-INFO: 16:14:25.593: Check for lib-usb usability:
ticables-INFO: 16:14:25.593:     usb filesystem (/dev/bus/usb/): mounted

(tilp:17204): ticables-WARNING **: 16:14:26.029: no devices found!

tilp-INFO: 16:14:26.029: Msg: failed to open the USB device.
Cause: Check that the USB cable is plugged in and that the calculator is turned ON! Also, check libusb and usbfs for valid permissions.
System: Inappropriate ioctl for device (errno = 25)



(tilp:17204): ticables-WARNING **: 16:14:30.182: no devices found!


(tilp:17204): ticables-WARNING **: 16:16:05.542: no devices found!


(tilp:17204): Gtk-CRITICAL **: 16:18:41.983: gtk_list_store_get_value: assertion 'VALID_ITER (iter, list_store)' failed

(tilp:17204): GLib-GObject-WARNING **: 16:18:41.983: ../../../../gobject/gtype.c:4266: type id '0' is invalid

(tilp:17204): GLib-GObject-WARNING **: 16:18:41.983: can't peek value table for type '<invalid>' which is not currently referenced
Segmentation fault
@adriweb
Copy link
Contributor

adriweb commented Jul 21, 2022

Does this happen with the code from the master branch here? (TILP and the tilibs should always be installed/updated from this repo, not packages etc)

@jojomoore2007
Copy link
Author

No, it does not. I could not get either the code from http://lpg.ticalc.org/prj_tilp/linux.html or this repo to install, so I installed the APT package. I will continue trying to install, but if this proves to be unsuccessful, I will submit an issue in regards to that as well.

@debrouxl
Copy link
Owner

https://ti-pla.net/tilpinst is a shortlink to the standard build script for libti*+gfm+tilp , contained in this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants