Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Map->stop() causes bad access exception #659

Closed

Description

@donpark
  1. Run iosapp from XCode
  2. When map is visible, switch to another app.

This will trigger appDidBackground notification which in Mapbox GL app results in mbglMap->stop() call which somehow causes EXC_BAD_ACCESS exception to be thrown:

screenshot_181
screenshot_182

This bug appears to be recently introduced as exceptions weren't being thrown in last week's pull.

Activity

  1. ljbade commented on Nov 29, 2014

    @ljbade
    Contributor

    @incanus I have seen this on Android too in #608

  2. added
    iOS
    Android
    and removed
    Android
    on Nov 29, 2014
  3. ljbade commented on Dec 1, 2014

    @ljbade
    Contributor

    OK now I am seeing this on Linux too!

  4. lucaswoj commented on Dec 1, 2014

    @lucaswoj
    Contributor

    For what its worth, the error does not occur with 703a325 and 7901706 rebased out.

  5. incanus commented on Dec 1, 2014

    @incanus
    Contributor

    @jfirebaugh Want to take a look then? Seems related to uv::async.

  6. incanus commented on Dec 1, 2014

    @incanus
    Contributor

    Confirmed I am seeing the same problem as @donpark here on iOS.

  7. self-assigned this
    on Dec 3, 2014
  8. added a commit that references this issue on Dec 3, 2014
    21b4f8c
  9. added a commit that references this issue on Dec 4, 2014
    8beac2e
  10. ljbade commented on Dec 4, 2014

    @ljbade
    Contributor

    @jfirebaugh still seeing this:
    mapbox-gl: ../../src/util/uv-worker.c:159: uv_worker_close: Assertion 'uv_thread_self() == worker->thread_id' failed.

  11. reopened this on Dec 4, 2014
  12. jfirebaugh commented on Dec 4, 2014

    @jfirebaugh
    Contributor

    @ljbade new ticket please

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

Metadata

Metadata

Assignees

Labels

bugiOS

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions