Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • otb otb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 211
    • Issues 211
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Main Repositories
  • otbotb
  • Issues
  • #2288
Closed
Open
Issue created Jun 05, 2022 by Rémi Cresson@remicressOwner

Pyton: Segfault when execute() is not properly called

Description

A nasty segfault happen under some very basic conditions, when using applications from the Python wrapper and trying to access some image information

Steps to reproduce

The following script causes a segfault:

import otbApplication
app = otbApplication.Registry.CreateApplication("BandMath")
app.SetParameterStringList("il", ["some_raster.tif"])
#app.Execute()  # Uncomment this: no segfault
print(app.GetImageSize("out"))

Configuration information

Ubuntu 20.04

OTB :

  • 7.4.0
  • 8.0.1
Edited Jun 06, 2022 by Rémi Cresson
Assignee
Assign to
Time tracking