Tdesktop: (gdb) /out/Debug/Telegram Segmentation fault.

Created on 22 Apr 2017  路  3Comments  路  Source: telegramdesktop/tdesktop

Steps to reproduce

  1. build finish,,40% -> 100%
  2. start out/debug/Telgram || out/release/Telegram
  3. Segmentation fault (core dumped) -> gdb Telegram

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Configuration

Operating system:
Ubuntu 16.04
Version of Telegram Desktop:
clone 2 week ago
https://github.com/telegramdesktop/tdesktop/

Used theme:

Logs:
Insert logs here (if necessary)
////////////////////////////////////////////////////////////////////////////////////////////////
(gdb) r
Starting program: /home/k1-ubuntu/TBuild/tdesktop/out/Release/Telegram
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
google_breakpad::MinidumpDescriptor::MinidumpDescriptor (this=0x57be6a0,
descriptor=...) at src/client/linux/handler/minidump_descriptor.cc:57
57 assert(descriptor.path_.empty());

//////////////////////////////////////////////////////
(gdb) r
Starting program: /home/k1-ubuntu/TBuild/tdesktop/out/Debug/Telegram
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
google_breakpad::MinidumpDescriptor::MinidumpDescriptor (this=0x64e3100,
descriptor=...) at src/client/linux/handler/minidump_descriptor.cc:57
57 assert(descriptor.path_.empty());


build

All 3 comments

@whywhyy Please update to the latest version.

  1. git fetch -> git merge // latest version.
  2. ..../tdesktop$delete out ///for make out file
  3. ..../tdesktop$gyp/refresh.sh
    4..../out/Debuge$ make
    5..../out/Realease$ make
  4. building finish,
    6 .../out/Realease$./Telegram
    Segmentation fault (core dumped)

  5. dgb Telegram
    57 assert(descriptor.path_.empty());
    //////////////////////////////////////
    -gyp/refresh.sh
    k1-ubuntu@k1ubuntu-VirtualBox:/TBuild/tdesktop$ cd Telegram/
    k1-ubuntu@k1ubuntu-VirtualBox:/TBuild/tdesktop/Telegram$ gyp/refresh.sh
    -- The C compiler identification is GNU 6.2.0
    -- The CXX compiler identification is GNU 6.2.0
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- The ASM compiler identification is GNU
    -- Found assembler: /usr/bin/cc
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/k1-ubuntu/TBuild/tdesktop/out/Debug
    -- The C compiler identification is GNU 6.2.0
    -- The CXX compiler identification is GNU 6.2.0
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- The ASM compiler identification is GNU
    -- Found assembler: /usr/bin/cc
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/k1-ubuntu/TBuild/tdesktop/out/Release

///////////////////////////////////////////////////////
-/out/Debug make
/tdesktop/out/Debug
[ 84%] Linking CXX executable Telegram
[100%] Built target Telegram
k1-ubuntu@k1ubuntu-VirtualBox:/TBuild/tdesktop/out/Debug$
///////////////////////////////////
-/tdesktop/out/Realease make
/tdesktop/out/Realease
[ 44%] Linking CXX executable Telegram
[100%] Built target Telegram
-./Telegram
k1-ubuntu@k1ubuntu-VirtualBox:/TBuild/tdesktop/out/Release$ ./Telegram
Segmentation fault (core dumped)

///////////////////
@auchri
Is there any problem in my process ??
Could you give any feedback for me??

@whywhyy : I got this problem because of Google Breakpad.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

FunctionalHacker picture FunctionalHacker  路  3Comments

Liudvikas picture Liudvikas  路  3Comments

beppe9000 picture beppe9000  路  3Comments

TotalKrill picture TotalKrill  路  3Comments

ghost picture ghost  路  3Comments