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

Seg Fault on Startup #27658

Closed
qgib opened this issue Sep 12, 2018 · 3 comments
Closed

Seg Fault on Startup #27658

qgib opened this issue Sep 12, 2018 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS Crash/Data Corruption High Priority

Comments

@qgib
Copy link
Contributor

qgib commented Sep 12, 2018

Author Name: Brian Savage (@savage13)
Original Redmine Issue: 19834
Affected QGIS version: 3.2.2
Redmine category:build/install


QGIS segfaults on Startup

Looks like QtWidgets`QAction::setText() may be the issue.

Run in LLDB (Backtrace Below)
% lldb /Applications/QGIS3.app/Contents/MacOS/QGIS
(lldb) target create "/Applications/QGIS3.app/Contents/MacOS/QGIS"
Current executable set to '/Applications/QGIS3.app/Contents/MacOS/QGIS' (x86_64).
(lldb) run
Process 27554 launched: '/Applications/QGIS3.app/Contents/MacOS/QGIS' (x86_64)
Warning: QWidget::insertAction: Attempt to insert null action
Warning: QWidget::insertAction: Attempt to insert null action
Warning: QWidget::insertAction: Attempt to insert null action
Warning: QSqlQuery::prepare: database not open
Process 27554 stopped

  • thread some small changes #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x8)
    frame #0: 0x00000001060b07dd QtWidgetsQAction::setText(QString const&) + 13 QtWidgetsQAction::setText:
    -> 0x1060b07dd <+13>: movq 0x8(%rdi), %r14
    0x1060b07e1 <+17>: movq %r14, %rbx
    0x1060b07e4 <+20>: subq $-0x80, %rbx
    0x1060b07e8 <+24>: movq %rbx, %rdi
    Target 0: (QGIS) stopped.

BackTrace

(lldb) bt all

@qgib
Copy link
Contributor Author

qgib commented Sep 14, 2018

Author Name: Giovanni Manghi (@gioman)


Please try cleaning (removing) any trace of the configurations/profiles folder.


  • crashes_corrupts_data was changed from 0 to 1
  • status_id was changed from Open to Feedback
  • category_id was changed from Unknown to Build/Install

@qgib
Copy link
Contributor Author

qgib commented Sep 14, 2018

Author Name: Brian Savage (@savage13)


% cd ~/Library/Application\ Support
% mv QGIS QGIS.old

/Applications/QGIS3.app/Contents/MacOS/QGIS

It opened properly. :) Thanks

@qgib
Copy link
Contributor Author

qgib commented Sep 14, 2018

Author Name: Giovanni Manghi (@gioman)


Possibly a bad 3rd party plugin. Please reopen if necessary.


  • resolution was changed from to invalid
  • status_id was changed from Feedback to Closed

@qgib qgib closed this as completed Sep 14, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Build/Install Related to compiling or installing QGIS Crash/Data Corruption labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS Crash/Data Corruption High Priority
Projects
None yet
Development

No branches or pull requests

1 participant