Skip to content

Android: auto-start API crash when server already running #548

Open

Description

@JeroMiya

Steps to reproduce:

  1. Run osvr_server from adb or OSVRServerLauncher app.
  2. Run the OSVROpenGL sample app, which uses the auto-start API to start in-process server.
  3. Note the exception escapes the C function.

Expected behavior: C function should log the failure (already does, with the right message) but otherwise fail silently. ClientKit will then connect to the already running server. Additionally, the shutdown function should not crash either (not tested prior to filing this issue, but test before closing this issue).

We probably are just missing an exception handler in the C API function. Should be no need to log the exception since the underlying implementation already logs the failure more specifically.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions