Coder Social home page Coder Social logo

Comments (13)

amosavian avatar amosavian commented on May 29, 2024

This is a bug in libsmb2. I'll made a workaround to fix this. Though I'm not sure it can be fixed as I can't reproduce it.

from amsmb2.

srinadh-k avatar srinadh-k commented on May 29, 2024

Thank you for your response, today also got one more crash. seems when we do some concurrency operations. we are getting crash issue.
Screenshot 2019-11-06 at 12 27 53 PM

from amsmb2.

srinadh-k avatar srinadh-k commented on May 29, 2024

If you fix it and share with us, we will let you know. we have been getting this issue.

from amsmb2.

amosavian avatar amosavian commented on May 29, 2024

Can I ask which version of Xcode are you using?

from amsmb2.

srinadh-k avatar srinadh-k commented on May 29, 2024

It is Xcode 11.1

from amsmb2.

venkatraor avatar venkatraor commented on May 29, 2024

Hi facing EXC_BAD_INSTURCTION crash sometimes. Please see the attached image.
Screen Shot 2019-11-05 at 10 13 27 AM

I am also facing same kind of issue. Seems like issue in SMB library.

from amsmb2.

amosavian avatar amosavian commented on May 29, 2024

It would be great if anyone can write a test case which reproduces this error.

from amsmb2.

srinadh-k avatar srinadh-k commented on May 29, 2024

Here is my test case:

calling connectShare method every 30 seconds to establish or check Connection with "smb".
Our app runs 24*7 in background and foreground. So after couple of hours later we are getting crash.

from amsmb2.

amosavian avatar amosavian commented on May 29, 2024

This is not a test case. A method must be added to https://github.com/amosavian/AMSMB2/blob/master/AMSMB2Tests/AMSMB2Tests.swift to replicate this issue

from amsmb2.

amosavian avatar amosavian commented on May 29, 2024

I finally found out that the problem is in smb2->outqueue, where pdu->cbdata is probably isoverreleased.

I will try to handle this.

from amsmb2.

srinadh-k avatar srinadh-k commented on May 29, 2024

from amsmb2.

srinadh-k avatar srinadh-k commented on May 29, 2024

Lets us know, when you done, so we can update our pod file.

from amsmb2.

amosavian avatar amosavian commented on May 29, 2024

This issue should be solved by now. If you still have problems, please open a new issue

from amsmb2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.