Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate ipfs to ios,the app crashed after enter background exceed 7 minutes. #2994

Closed
zyzhangyang opened this issue Jul 27, 2016 · 3 comments
Labels
kind/bug A bug in existing code (including security flaws) need/analysis Needs further analysis before proceeding

Comments

@zyzhangyang
Copy link

zyzhangyang commented Jul 27, 2016

Version/Platform/Processor information (from ipfs version --all):ipfs version --all

Type (bug, feature, meta, test failure, question):bug
Area (api, commands, daemon, fuse, etc):etc
Priority (from P0: functioning, to P4: operations on fire):P2

Description:
I have used gomobile bind to integrate ipfs to ios app.When the app enter background exceed 7 minutes or more,the app will crash.I need help to figure out what happend,and how to fix it.

The stacktrace is as below:

* thread ipfs/kubo#7: tid = 0x24f23b, 0x000000010007bd24 TestIpfs`notok + 4, stop reason = EXC_BAD_ACCESS (code=1, address=0x0)

  * frame #0: 0x000000010007bd24 TestIpfs`notok + 4

    frame ipfs/kubo#1: 0x000000010007be80 TestIpfs`runtime.madvise + 32

    frame ipfs/kubo#2: 0x00000001000286e4 TestIpfs`runtime.sysUnused + 52

    frame ipfs/kubo#3: 0x00000001000378bc TestIpfs`runtime.scavengelist + 332

    frame ipfs/kubo#9121: 0x0000000100037974 TestIpfs`runtime.(*mheap).scavenge + 132

    frame ipfs/kubo#5: 0x00000001000505e4 TestIpfs`runtime.sysmon + 868

    frame ipfs/kubo#6: 0x00000001000482b8 TestIpfs`runtime.mstart1 + 280

    frame ipfs/kubo#7: 0x0000000100048188 TestIpfs`runtime.mstart + 120

    frame ipfs/kubo#8: 0x000000010078c23c TestIpfs`crosscall1 + 48

    frame ipfs/kubo#9: 0x000000010078bb14 TestIpfs`threadentry + 84

    frame ipfs/kubo#10: 0x00000001976bbdc8 libsystem_pthread.dylib`_pthread_body + 164

    frame ipfs/kubo#11: 0x00000001976bbd24 libsystem_pthread.dylib`_pthread_start + 160

    frame ipfs/kubo#12: 0x00000001976b8ef8 libsystem_pthread.dylib`thread_start + 4`
@whyrusleeping
Copy link
Member

I really don't know whats going on here. That looks like a stack dump from ios, I don't see anything actually ipfs related in it either. The closest thing i see is what looks like the golang garbage collector running. I would try filing this as a bug in the go-mobile project

@em-ly em-ly added the kind/bug A bug in existing code (including security flaws) label Aug 25, 2016
@whyrusleeping whyrusleeping added the need/analysis Needs further analysis before proceeding label Sep 14, 2016
@xuruijing
Copy link

@zyzhangyang Is Integrate ipfs to ios complete?

@Stebalien
Copy link
Member

Closing due to age.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) need/analysis Needs further analysis before proceeding
Projects
None yet
Development

No branches or pull requests

5 participants