Giter VIP home page Giter VIP logo

Comments (6)

linuxpham avatar linuxpham commented on June 9, 2024

Hi admin,

I think these lines have problems, you free a pointer after create 'std::string'. So there is an error that double "free"

Screen Shot 2020-10-13 at 09 57 11

from swift.

Kev avatar Kev commented on June 9, 2024

Hi,

What are the steps to trigger this in Swift?
Can you please provide a full backtrace with locals of the crash.
Exactly which version of Swift is this on which platform?

from swift.

linuxpham avatar linuxpham commented on June 9, 2024

Hi,

I clone this repo: https://github.com/swift/swift.git

I build this repo in ubuntu 18.04

The Swiften crash with SIGSEGV, I can not get any backtrace although I try with GDB (or valgrind).

Thanks !

from swift.

Kev avatar Kev commented on June 9, 2024

Hi,

The line numbers in your paste don't seem to correspond to line number on either master or the 4.x branches, which is why I asked for the version. What are you doing in the client when it crashes? How would one reproduce this? Why does getting a backtrace not work?

from swift.

linuxpham avatar linuxpham commented on June 9, 2024

Hi,
I added some logging (SWIFT_LOG(debug)). So The line numbers in my paste don't seem to correspond to line number on either master or the 4.x branches. But I confirm that i clone from this repo: https://github.com/swift/swift.git

It extracts to crash in this line context_ = createSSL_CTX(mode_);:

sslCtx = std::unique_ptr<struct ssl_ctx_st> = {get() = 0x0}

Screen Shot 2020-10-13 at 16 38 07

My openssl library: OpenSSL 1.1.1c 28 May 2019

-L/usr/local/lib -lssl -lcrypto
-I/usr/local/include

Thanks !

from swift.

linuxpham avatar linuxpham commented on June 9, 2024

Hi admin,

I try with a single test => OpenSSL works fine.

Screen Shot 2020-10-14 at 18 24 42

But when I add Swiften to our project, It is always to crashing at this line:
sslCtx = std::unique_ptr<struct ssl_ctx_st> = {get() = 0x0}

I think Swiften library there are some issues when connect to XMPP servers (thought proxy such as: nginx ..v.v.)

Thanks !

from swift.

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.