MerginMaps / MerginMaps/mobile

Crash on assert when cancelling first time upload (debug mode)

Open
#1,914 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug sync
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

What I did:

  • create local project
  • hit upload (creates new project on Mergin and starts to sync)
  • hit stop in this process

Experienced:

Expected:

  • sync stops and project is NOT created on Mergin

As this is only Q_ASSERT, it crashes when in debug mode ~ not in production

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the local-project upload and immediate stop sequence in debug mode, then inspect core/merginapi.cpp at line 541. Done means cancellation stops syncing without triggering the assertion and the project is not created on Mergin; verify the behavior in both debug and production configurations.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.