Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Results 1 to 3 of 3
  1. #1
    Join Date
    April 2010
    Location
    San Jose, CA
    Posts
    2

    Linux 64bit Beta 21 - Ubuntu 8.04 - MySQL - Segfault on shutdown

    Launching that app like this:

    Code:
    ./ts3server_minimal_runscript.sh inifile=./ts3server.ini
    ts3server.ini is:

    Code:
    machine_id=
    default_voice_port=9987
    voice_ip=0.0.0.0
    licensepath=
    filetransfer_port=30033
    filetransfer_ip=0.0.0.0
    query_port=10011
    query_ip=0.0.0.0
    dbplugin=ts3db_mysql
    dbpluginparameter=ts3_mysql.ini
    dbsqlpath=sql/
    dbsqlcreatepath=create_mysql/
    logpath=logs
    logquerycommands=0
    ts3_mysql.ini is:

    Code:
    [config]
    host=localhost
    port=3306
    username=*****
    password=*****
    database=ts3
    socket=
    I get a segfault on shutdown:

    Code:
    $ ./ts3server_minimal_runscript.sh inifile=./ts3server.ini
    TeamSpeak Server 3.0.0-beta21 [Build: 10608]
    (c)TeamSpeak Systems GmbH
    
    Logging started
    2010-04-08 06:11:47.106253|INFO    |ServerLibPriv |   | Server Version: 3.0.0-beta21 [Build: 10608], Linux
    2010-04-08 06:11:47.108181|INFO    |DatabaseQuery |   | dbPlugin name:    MySQL plugin, (c)TeamSpeak Systems GmbH
    2010-04-08 06:11:47.108261|INFO    |DatabaseQuery |   | dbPlugin version: 1
    2010-04-08 06:11:47.113687|INFO    |SQL           |   | pruning old database log entries where timestamp is older than 90 days
    2010-04-08 06:11:47.859279|INFO    |Accounting    |   | Licensing Information
    2010-04-08 06:11:47.859910|INFO    |Accounting    |   | type              : Non-profit
    2010-04-08 06:11:47.860247|INFO    |Accounting    |   | starting date     : Sun Dec 20 23:00:00 2009
    2010-04-08 06:11:47.860488|INFO    |Accounting    |   | ending date       : Mon Dec 20 23:00:00 2010
    2010-04-08 06:11:47.860778|INFO    |Accounting    |   | max virtualservers: 10
    2010-04-08 06:11:47.861045|INFO    |Accounting    |   | max slots         : 512
    2010-04-08 06:11:47.876387|INFO    |FileManager   |   | listening on 0.0.0.0:30033
    2010-04-08 06:11:47.906143|INFO    |VirtualServer |  1| listening on 0.0.0.0:9987
    2010-04-08 06:11:47.927587|INFO    |VirtualServer |  2| listening on 0.0.0.0:9988
    2010-04-08 06:11:47.928379|INFO    |CIDRManager   |   | updated query_ip_whitelist ips: 127.0.0.1,
    2010-04-08 06:11:47.929032|INFO    |Query         |   | listening on 0.0.0.0:10011
    2010-04-08 06:11:59.173778|INFO    |ServerMain    |   | Received signal SIGINT, shutting down.
    2010-04-08 06:11:59.316717|INFO    |VirtualServer |  1| stopped
    2010-04-08 06:11:59.426594|INFO    |VirtualServer |  2| stopped
    ./ts3server_minimal_runscript.sh: line 9: 23530 Segmentation fault      (core dumped) ./ts3server_linux_amd64 [email protected]
    Stack trace on coredump looks like this:

    Code:
    $ gdb ./ts3server_linux_amd64
    GNU gdb 6.8-debian
    Copyright (C) 2008 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-linux-gnu"...
    (no debugging symbols found)
    (gdb) core ./core
    Program terminated with signal 11, Segmentation fault.
    [New process 23530]
    #0  0x00002b3935063705 in vio_peer_addr () from /usr/lib/libmysqlclient.so.15
    (gdb) bt
    #0  0x00002b3935063705 in vio_peer_addr () from /usr/lib/libmysqlclient.so.15
    #1  0x00002b3935064253 in net_real_write () from /usr/lib/libmysqlclient.so.15
    #2  0x00002b393506460b in net_flush () from /usr/lib/libmysqlclient.so.15
    #3  0x00002b39350647c9 in net_write_command () from /usr/lib/libmysqlclient.so.15
    #4  0x00002b3935061738 in cli_advanced_command () from /usr/lib/libmysqlclient.so.15
    #5  0x00002b393505f23a in mysql_close () from /usr/lib/libmysqlclient.so.15
    #6  0x00002b3934dd9085 in ts3dbplugin_shutdown () at server/serverlib/database/plugins/ts3db_mysql/ts3db_mysql.cpp:68
    #7  0x00000000005618de in ?? ()
    #8  0x00000000005542b3 in ?? ()
    #9  0x0000000000443f65 in ?? ()
    #10 0x000000000057736d in ?? ()
    #11 0x00002b3934a911c4 in __libc_start_main () from /lib/libc.so.6
    #12 0x000000000040aca9 in ?? ()
    #13 0x00007fff77018288 in ?? ()
    #14 0x0000000000000000 in ?? ()
    (gdb) info threads
    * 1 process 23682  0x00002b0f67f22705 in vio_peer_addr () from /usr/lib/libmysqlclient.so.15
    Let me know if there's anything else I can provide.

  2. #2
    Join Date
    April 2010
    Location
    San Jose, CA
    Posts
    2
    This problem still occurs with beta 22

  3. #3
    Join Date
    July 2002
    Location
    Germany
    Posts
    2,192
    Hello,

    I have seen this backtrace a couple of times already, I am not sure what happens there...the crash is in the mysql code, all we do is ask the mysql backend to close...not sure what is going wrong or why it crashes. Good thing is it only happens on exit and it doesn't seem to trash any data so it just "looks bad" but doesn't hurt.
    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. Server segfault - latest version Linux
    By WizkidNiels in forum Linux / FreeBSD
    Replies: 1
    Last Post: March 24th, 2014, 10:25 AM
  2. segfault on update to beta 23
    By S4NDM4NN in forum Linux / FreeBSD
    Replies: 3
    Last Post: June 3rd, 2010, 04:03 AM
  3. [Linux Server x86 Beta 9] SegFault
    By ERIKvanPAASSEN in forum Linux / FreeBSD
    Replies: 0
    Last Post: January 1st, 2010, 02:06 PM
  4. [BUG]CPU Hog - Ubuntu 9.10 64bit
    By theeggman in forum Linux
    Replies: 1
    Last Post: December 29th, 2009, 07:41 AM

Posting Permissions

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