Ticket #1203 (closed bug: fixed)

Opened 5 years ago

Last modified 4 years ago

QGIS segfaults when an Action with capture output has an invalid path to executable is called

Reported by: smizuno Owned by: nobody
Priority: major: does not work as expected Milestone:
Component: GUI Version: Trunk
Keywords: action invalid, capture Cc:
Platform Version: Platform: All
Must Fix for Release: No Awaiting user input: no

Description

Steps to show the problem:

1. create an Action in Layer Properties, specifying a program that doesn't exist - xyz, for example.

2. set Capture output (this is due to another bug already reported)

3. use Identify on the layer, pick an object

4. click on the Action created in step 1

5. QGIS quits - segfault

This happens on Windows and Linux; can't test Mac.

Versions at least back to 0.9.0 have this problem.

r8952; Qt 4.3.3 & 4.4.0

Change History

Changed 5 years ago by gjm

  • status changed from new to closed
  • resolution set to fixed

Fixed by applying patch in #989.

Changed 4 years ago by mwtoews

  • status changed from closed to reopened
  • resolution fixed deleted
  • milestone changed from Version 1.0.0 to Version 1.0.1

I have this issue with my Windows XP version of QGIS 1.0.0.

According to my "About" dialog, I have: "QGIS version 1.0.0-Kore built against code revision unknown", which I obtained from OSGeo4W yesterday. Sorry, I can't confirm this on any other platform.

Changed 4 years ago by mwtoews

Note that I only have this crashing behaviour with Capture output enabled.

With Capture output disabled, everything works as expected (including error message if a command is not found).

Changed 4 years ago by mwtoews

  • keywords invalid, capture added; invalid removed
  • summary changed from QGIS segfaults when an Action that has an invalid path to executable is called to QGIS segfaults when an Action with capture output has an invalid path to executable is called
  • milestone changed from Version 1.0.2 to Version 1.1.0

I don't see the other bug that reports the capture output bug (so I modified the summary), but this report is still valid (I have 1.1 - trunk for WinXP via OSGeo4W).

Changed 4 years ago by jef

  • status changed from reopened to closed
  • resolution set to fixed

should be fixed with r10533

Changed 4 years ago by anonymous

  • milestone Version 1.1.0 deleted

Milestone Version 1.1.0 deleted

Note: See TracTickets for help on using tickets.