Forum

Results 1 to 1 of 1
  1. #1
    Join Date
    July 2002
    Location
    Germany
    Posts
    2,192

    How to report crashes or hangs on linux properly

    Hello,

    here I will explain which information you should post when your ts3server crashed or hangs up. You can create a new thread with your problem then.

    (1) Make sure your system is configured to write core dumps when applications crash. You can enable this by running something like
    Code:
    ulimit -c 500000
    You can put this in your ts3 server startscript to make sure it is set on every startup

    (2) When the server crashes it will now write a file called "core" or "core.NUMBER"
    If the server is in a hung up state (it is not reacting to serverquery or normal client connections anymore) you can force the server to write a core by running "killall -SIGQUIT ts3server"

    (3) The core alone is no use, what is also needed is a few libraries from your system, a script I wrote will gather them and put them in an archive. The script is attached [1], running it will look something like this:
    Code:
    [email protected]:~$ ./make_core_environment.sh ts3/
    core_environment/
    core_environment/usr/
    core_environment/usr/lib/
    core_environment/usr/lib/libstdc++.so.6
    core_environment/lib/
    core_environment/lib/libdl.so.2
    core_environment/lib/libgcc_s.so.1
    core_environment/lib/libc.so.6
    core_environment/lib/libm.so.6
    core_environment/lib/librt.so.1
    core_environment/lib/libpthread.so.0
    core_environment/lib64/
    core_environment/lib64/ld-linux-x86-64.so.2
    [email protected]:~$
    The file "core_environment.tar.gz" is created by the script. It contains the needed libraries.

    (4) Provide the log file of the incident, provide any other information you know (what was being done with the server etc.). Can you reproduce the problem? If so, tell us the steps.

    (5) Bundle the core file(s), the core_environment.tar.gz in an archive an upload it to somewhere. Post a link in your report.


    [1] http://dl.4players.de/ts/releases/de...environment.sh
    Last edited by dante696; March 10th, 2016 at 01:30 PM.
    You think my answer is stupid ? Read This:
    http://www.catb.org/~esr/faqs/smart-...ons.html#intro

    In a world without fences and walls - who needs windows and gates ?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 9
    Last Post: July 21st, 2011, 07:24 PM
  2. TS-Server 3.0.0-RC1 Build 14468 Linux x64 - hangs up sometimes
    By l0bster in forum Bug Reports [EN/DE]
    Replies: 5
    Last Post: July 1st, 2011, 09:58 PM
  3. [BUG-REPORT] - TS3 Server Crashes
    By Xandel in forum Windows
    Replies: 0
    Last Post: December 20th, 2009, 10:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •