Git Product home page Git Product logo

Comments (2)

robbiehanson avatar robbiehanson commented on August 22, 2024

Thanks for telling me about this. I think I may have just fixed it. Try out the fix I just pushed.

-Robbie Hanson

On Dec 19, 2011, at 8:56 PM, Vermond wrote:

I`m using GCDAsyncUDPSocket.

Because of some reason, I send a message and server get it.
Server check it and answer.

There is two type of answer. First is just transfer data once. Second is transfer 20 times.

When receive a data, It works well. The problem is second type.

It randomly stops with error.

Thread x : Program received signal: "SIGABRT"
malloc : *** error for object 0x?????? : pointer being freed was not allocated

Error occurs almost in [-(void) notifyDidCloseWithError:(NSError *) error] but some other method also.
(I dont know well because I didnt captured all of error)
And occurs in Thread 2 (dont think its so important but no clear.... :( )

At the first time, I thought there is some problem with allocated resources. So I tried UDP communication with just using your library, don`t allocate other resource. But same error occured.

My project using ARC option but I added option [-fno-objc-arc] on your source.

Oh... I have searched about this problem... Please help ;(


Reply to this email directly or view it on GitHub:
#12

from cocoaasyncsocket.

Vermond avatar Vermond commented on August 22, 2024

Sorry for late reply. I tested again and again until now.

It seems to run well. Thanks for update. But I will check more if there is some more hidden bugs.

from cocoaasyncsocket.

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.