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

Segfault on SELECT on a view with "union" #3581

Open
rkoe opened this issue Sep 27, 2019 · 0 comments

Comments

@rkoe
Copy link

commented Sep 27, 2019

Details

SQLiteStudio segfaults on some SELECTs on an other view; probably only when the other view uses "UNION" in its own SELECT, and only if the name of the other view is not written in parentheses.

Test results (run e.g. in SQL editor or in a view):

  • "SELECT 0 FROM view1" -> segfault
  • "SELECT 0 FROM (view1)" -> works

Error-messages:

WARNING:  QSocketNotifier: Invalid socket 7 and type 'Read', disabling...
WARNING:  QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
WARNING:  QSocketNotifier: Invalid socket 7 and type 'Read', disabling...
...
WARNING:  QObject::~QObject: Timers cannot be stopped from another thread
...
WARNING:  QSocketNotifier: Invalid socket 7 and type 'Read', disabling...
Segmentation fault

Steps to reproduce

Operating system

Linux

SQLiteStudio version

3.2.1

@pawelsalawa pawelsalawa added the bug label Oct 11, 2019
@pawelsalawa pawelsalawa added this to the 3.2.2 milestone Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.