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

A Segmentation fault occurs in Debian 7 when pressing the Remove button #24

Closed
Antaon opened this issue Mar 29, 2014 · 1 comment
Closed
Labels
Milestone

Comments

@Antaon
Copy link

Antaon commented Mar 29, 2014

Specs: Torsion v1.0.0-10-g2c52502 on Debian 7 (64bit) in VirtualBox:

Repro Steps:

  1. Open the Torsion binary and successfully connect to the Tor network.
  2. Click the "Torsion Preferences"
  3. When you have no contacts press the "Remove" button.

Results: The Torsion binary crashes (terminal crash output provided below).

Expected Result: System does nothing if no contacts are available. System continues without critical error.

Terminal output:
#user runs "./Torsion" from terminal while in the path with the binary.
OpenGL Warning: Failed to connect to host. Make sure 3D acceleration is enabled for this VM.
qrc:/ui/MainWindow.qml:92:5: QML Loader: Binding loop detected for property "active"
#user clicks the "Torsion Preferences"
qrc:/ui/ContactPreferences.qml:42: TypeError: Cannot read property 'nickname' of null
qrc:/ui/ContactPreferences.qml:51: TypeError: Cannot read property 'contactID' of null
qrc:/ui/ContactPreferences.qml:58: TypeError: Cannot call method 'readSetting' of null
qrc:/ui/ContactPreferences.qml:67: TypeError: Cannot call method 'readSetting' of null
#user clicks the "Remove" button.
qrc:/ui/MessageDialogWrapper.qml:4:1: Type MessageDialog unavailable
qrc:/QtQuick/Dialogs/WidgetMessageDialog.qml:42:1: module "QtQuick.PrivateWidgets" is not installed
Segmentation fault
#end of crashlog.

Notes:
Note that this same crash also occurs if the binary is run from GUI as opposed to terminal.

@special special added this to the 1.0.x milestone Mar 29, 2014
special added a commit that referenced this issue Mar 29, 2014
The Qt 5.1 fallback dialog path would assume it had a valid contact.
Also, the contact info fields would spit out warnings when first
displayed, and showed no useful information anyway. They're now hidden
when no contact is selected.
@special
Copy link
Member

special commented Mar 29, 2014

The crash, warnings, and useless empty UI fields are fixed by the commit, but there is another bug here, in that the QtQuick.PrivateWidgets module didn't get bundled.

Thanks

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

No branches or pull requests

2 participants