Skip to content

intermittent app crashes at first run #96

Description

@blackholeearth

i think it might be related to restoretabs which is added recently??


** when i was modifying the tab's Style,**

if you try to Add New tab repeatedly ,as fast as you can, app crashed with No Error. Or Exception..
**how to do it; **

  • spam the add button (press it repeatedly, as fast as you can)
  • OR when there is 1 tab, spam Tab close button..

i saw somebody added 10 - 20 ms delay when adding new tab.. to prevent this Crashes..
"this 99% of the time, prevents crashing "caused by add button",

Activity

  1. blackholeearth commented on Apr 15, 2025

    @blackholeearth
    ContributorAuthor

    edit: today i opened project, pressed f5, it crashed..

    it happens after i closed my pc . time passed.
    run my pc..
    build and run sharpbrowser..

    after 2nd 3rd build it doesnt happen.

  2. blackholeearth commented on Apr 15, 2025

    @blackholeearth
    ContributorAuthor

    "crash with no error" happened again,*

    after.. crashing with contenttype.. at unsplash.com .

    i had 5 tabs total.
    i run project... it crashed 2 times back to back on each run ..

    now at 3rd run.... 5 tabs open.. but that crasher tabs are Exist but as BlankTab.

    Image

  3. robinrodricks commented on Apr 16, 2025

    @robinrodricks
    Collaborator

    its possible, maybe we can add a delay before calling the restore tab function. or inside that loop the tab can be created at a slower pace and not all at once.

  4. changed the title [-]app crashes at first run... without any error.!! sometimes not.?[/-] [+]intermittent app crashes at first run[/+] on Apr 16, 2025
  5. blackholeearth commented on Apr 16, 2025

    @blackholeearth
    ContributorAuthor

    crash
    3rd day...
    these crashes happening. again...
    its guaranteed to happen.. every morning when i open pc . build run it...

    i cant catch the error.. .it slilenty crashes ..
    i hate cpp , so much bcuz of this.


    it doesnt happen on older release ... i have branch its clean...

    offtopic:
    at my custom branch... i even moved code into mainform's contructor to get rid of inital controls moving , flickering at when app-launches

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions