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

Qgis crash associated with vector actions #10803

Closed
qgib opened this issue Jul 25, 2007 · 4 comments
Closed

Qgis crash associated with vector actions #10803

qgib opened this issue Jul 25, 2007 · 4 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)

Comments

@qgib
Copy link
Contributor

qgib commented Jul 25, 2007

Author Name: cgs_bob - (cgs_bob -)
Original Redmine Issue: 744

Redmine category:vectors
Assignee: Gavin Macaulay -


I have been able to consistently crash qgis by doing this:

  1. Start qgis and load project that has vectors with actions.
  2. Click on vector in the legend and then click on Identify Feature.
  3. In the Identify Results window, click on an action.

(my action opens up a window that says "starting konqueror ftp://..." and then konqueror brings up the ftp site)

  1. Click on the Close button in the window that says "starting konqueror" will crash qgis.

I have attached the debug messages I got on my Konsole.


@qgib
Copy link
Contributor Author

qgib commented Jul 26, 2007

Author Name: Tim Sutton (Tim Sutton)


On mac osx I can replicate this by e.g. making an action that dues

curl qgis.org

Then quickly pressing cancel while running the action. In the console the final message is:

terminate called without an active exception

I did some research on this and it seems one offered solution is to initialise the offending pointer like this:

x = new(std::nothrow) foo;

I tried doing this on the message output (initialised in qgisapp.cpp) and the various other members in qgsrunprocess.cp but was not able to resolve the issue this way. I also tried explicitly calling terminate() or kill() on the qprocess but that also didnt fix the issue. Perhaps Gavin has some idea?

Tim

@qgib
Copy link
Contributor Author

qgib commented Jul 27, 2007

Author Name: Gavin Macaulay - (Gavin Macaulay -)


  • status_id was changed from Open to In Progress

@qgib
Copy link
Contributor Author

qgib commented Jul 28, 2007

Author Name: Gavin Macaulay - (Gavin Macaulay -)


Fixed in 09b7ac7 (SVN r7111). Problem was that a signal/slot in a deleted class instance was being triggered when the output dialog box was closed when the process was still running.


  • resolution was changed from to fixed
  • status_id was changed from In Progress to Closed

@qgib
Copy link
Contributor Author

qgib commented Aug 21, 2009

Author Name: Anónimo (Anónimo)


Milestone Version 0.9 deleted

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats) labels May 24, 2019
@qgib qgib closed this as completed May 24, 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! Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant