• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Crash

Status
Not open for further replies.

xSauron

Member
Operating System: Linux
SinusBot Version: 0.9.8
TS3 Version: 3.19.4

If i try to run sinusbot by this command : "screen xinit /opt/ts3soundboard/ts3bot --/usr/bin/Xvfb:1-screen 0800x600x16-ac" the bot crash.

Code:
runtime/cgo: pthread_create failed: Resource temporarily unavailable
SIGABRT: abort
PC=0x7fae42930067

goroutine 0 [idle]:

goroutine 8 [syscall]:
runtime.notetsleepg(0x10205f8, 0x43eaa33, 0x0)
        /usr/local/go/src/runtime/lock_futex.go:201 +0x52 fp=0xc208018768 sp=0xc208018740
runtime.timerproc()
        /usr/local/go/src/runtime/time.go:207 +0xfa fp=0xc2080187e0 sp=0xc208018768
runtime.goexit()
        /usr/local/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc2080187e8 sp=0xc2080187e0
created by runtime.addtimerLocked
        /usr/local/go/src/runtime/time.go:113 +0x1ba

goroutine 1 [select (no cases)]:
main.main()
        /opt/go/src/frie.se/ts3bot/main.go:672 +0x2929

goroutine 5 [syscall]:
os/signal.loop()
        /usr/local/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
        /usr/local/go/src/os/signal/signal_unix.go:27 +0x35

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
        /usr/local/go/src/runtime/asm_amd64.s:2232 +0x1

goroutine 7 [chan receive]:
database/sql.(*DB).connectionOpener(0xc208106460)
        /usr/local/go/src/database/sql/sql.go:589 +0x4c
created by database/sql.Open
        /usr/local/go/src/database/sql/sql.go:452 +0x31c

goroutine 20 [runnable]:
main.func·134()
        /opt/go/src/frie.se/ts3bot/stream.go:83 +0x1fc
created by main.(*BotInstance).PlayLoop
        /opt/go/src/frie.se/ts3bot/stream.go:295 +0x1d2

goroutine 11 [chan receive]:
database/sql.(*DB).connectionOpener(0xc20803c320)
        /usr/local/go/src/database/sql/sql.go:589 +0x4c
created by database/sql.Open
        /usr/local/go/src/database/sql/sql.go:452 +0x31c

goroutine 12 [IO wait]:
net.(*pollDesc).Wait(0xc208102840, 0x72, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208102840, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).readFrom(0xc2081027e0, 0xc208130000, 0x2000, 0x2000, 0x0, 0x0, 0x0, 0x7fae45099df0, 0xc208948350)
        /usr/local/go/src/net/fd_unix.go:269 +0x4a1
net.(*UDPConn).ReadFromUDP(0xc2080300a0, 0xc208130000, 0x2000, 0x2000, 0xc208948320, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/udpsock_posix.go:67 +0x124
net.(*UDPConn).ReadFrom(0xc2080300a0, 0xc208130000, 0x2000, 0x2000, 0xc208948320, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/udpsock_posix.go:82 +0x12e
main.func·140()
        /opt/go/src/frie.se/ts3bot/mode_client.go:134 +0xbc
created by main.(*BotInstance).InitMode
        /opt/go/src/frie.se/ts3bot/mode_client.go:213 +0x8fa

goroutine 13 [select]:
frie.se/ts3bot/webstream.(*WebStream).WebStream(0xc20806f000)
        /opt/go/src/frie.se/ts3bot/webstream/webstream.go:171 +0x1570
created by frie.se/ts3bot/webstream.(*WebStream).Init
        /opt/go/src/frie.se/ts3bot/webstream/webstream.go:36 +0x129

goroutine 21 [syscall, locked to thread]:
frie.se/ts3bot/decoder._Cfunc_avdec_open_file(0x7fae40269010, 0x7fae34119b90, 0x0)
        /opt/go/src/frie.se/ts3bot/decoder/:140 +0x43
frie.se/ts3bot/decoder.(*AVDecoder).Open(0xc20813b130, 0xc208066240, 0x83, 0x0, 0x0, 0x0)
        /opt/go/src/frie.se/ts3bot/decoder/decoder.go:506 +0x3cc
main.(*BotInstance).Play(0xc208116900, 0xc2081009a0, 0xc208114000, 0x24)
        /opt/go/src/frie.se/ts3bot/stream.go:435 +0x9f6
main.func·061(0x7fae450acc88, 0xc2081066e0, 0xc208948600)
        /opt/go/src/frie.se/ts3bot/server.go:1081 +0x3a1
main.func·041(0x7fae450acc88, 0xc2081066e0, 0xc20894a780)
        /opt/go/src/frie.se/ts3bot/server.go:185 +0x395
main.func·042(0x7fae450acc88, 0xc2081066e0, 0xc208ab2270, 0xc2087502a0, 0x2, 0x3)
        /opt/go/src/frie.se/ts3bot/server.go:297 +0x1197
github.com/flyth/httprouter.(*Router).ServeHTTP(0xc2080a2180, 0x7fae450acc88, 0xc2081066e0, 0xc208ab2270)
        /opt/go/src/github.com/flyth/httprouter/router.go:294 +0x18e
net/http.serverHandler.ServeHTTP(0xc20805d620, 0x7fae450acc88, 0xc2081066e0, 0xc208ab2270)
        /usr/local/go/src/net/http/server.go:1703 +0x19a
net/http.(*conn).serve(0xc20803d4a0)
        /usr/local/go/src/net/http/server.go:1204 +0xb57
created by net/http.(*Server).Serve
        /usr/local/go/src/net/http/server.go:1751 +0x35e

goroutine 15 [IO wait]:
net.(*pollDesc).Wait(0xc2081028b0, 0x72, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc2081028b0, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).accept(0xc208102850, 0x0, 0x7fae45099df0, 0xc208948210)
        /usr/local/go/src/net/fd_unix.go:419 +0x40b
net.(*TCPListener).AcceptTCP(0xc208030728, 0x70ea8e, 0x0, 0x0)
        /usr/local/go/src/net/tcpsock_posix.go:234 +0x4e
net/http.tcpKeepAliveListener.Accept(0xc208030728, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:1976 +0x4c
net/http.(*Server).Serve(0xc20805d620, 0x7fae4509bf58, 0xc208030728, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:1728 +0x92
net/http.(*Server).ListenAndServe(0xc20805d620, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:1718 +0x154
net/http.ListenAndServe(0xc20810daa0, 0xc, 0x7fae4509a010, 0xc2080a2180, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:1808 +0xba
main.ServeHTTP()
        /opt/go/src/frie.se/ts3bot/server.go:2861 +0x293a
created by main.func·036
        /opt/go/src/frie.se/ts3bot/main.go:569 +0x8c1

goroutine 24 [syscall]:
syscall.Syscall6(0x3d, 0x11c2, 0xc2080557c4, 0x0, 0xc2080662d0, 0x0, 0x0, 0x7fae45088000, 0x537061, 0xc208750320)
        /usr/local/go/src/syscall/asm_linux_amd64.s:46 +0x5
syscall.wait4(0x11c2, 0xc2080557c4, 0x0, 0xc2080662d0, 0x90, 0x0, 0x0)
        /usr/local/go/src/syscall/zsyscall_linux_amd64.go:124 +0x79
syscall.Wait4(0x11c2, 0xc20805580c, 0x0, 0xc2080662d0, 0x0, 0x0, 0x0)
        /usr/local/go/src/syscall/syscall_linux.go:224 +0x60
os.(*Process).wait(0xc20894f520, 0x0, 0x0, 0x0)
        /usr/local/go/src/os/exec_unix.go:22 +0x103
os.(*Process).Wait(0xc20894f520, 0xc20894d980, 0x0, 0x0)
        /usr/local/go/src/os/doc.go:45 +0x3a
os/exec.(*Cmd).Wait(0xc208052280, 0x0, 0x0)
        /usr/local/go/src/os/exec/exec.go:364 +0x23c
main.(*BotInstance).Spawn(0xc208116900)
        /opt/go/src/frie.se/ts3bot/mode_client.go:721 +0x5013
created by main.func·051
        /opt/go/src/frie.se/ts3bot/server.go:655 +0x2f3

goroutine 18 [chan receive]:
main.func·034()
        /opt/go/src/frie.se/ts3bot/main.go:646 +0x67
created by main.func·036
        /opt/go/src/frie.se/ts3bot/main.go:653 +0x9b1

goroutine 19 [chan receive]:
main.func·035()
        /opt/go/src/frie.se/ts3bot/main.go:659 +0x64
created by main.func·036
        /opt/go/src/frie.se/ts3bot/main.go:665 +0xc1f

goroutine 30 [IO wait]:
net.(*pollDesc).Wait(0xc2080f60d0, 0x72, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc2080f60d0, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc2080f6070, 0xc208779000, 0x1000, 0x1000, 0x0, 0x7fae45099df0, 0xc208948280)
        /usr/local/go/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc208030080, 0xc208779000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/net.go:121 +0xdc
net/http.(*liveSwitchReader).Read(0xc208106188, 0xc208779000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:214 +0xab
io.(*LimitedReader).Read(0xc20894e5c0, 0xc208779000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /usr/local/go/src/io/io.go:408 +0xce
bufio.(*Reader).fill(0xc208750000)
        /usr/local/go/src/bufio/bufio.go:97 +0x1ce
bufio.(*Reader).ReadSlice(0xc208750000, 0xc20808860a, 0x0, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/bufio/bufio.go:295 +0x257
bufio.(*Reader).ReadLine(0xc208750000, 0x0, 0x0, 0x0, 0xc207f6b300, 0x0, 0x0)
        /usr/local/go/src/bufio/bufio.go:324 +0x62
net/textproto.(*Reader).readLineSlice(0xc20894c180, 0x0, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/textproto/reader.go:55 +0x9e
net/textproto.(*Reader).ReadLine(0xc20894c180, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/textproto/reader.go:36 +0x4f
net/http.ReadRequest(0xc208750000, 0xc208ab20d0, 0x0, 0x0)
        /usr/local/go/src/net/http/request.go:598 +0xcb
net/http.(*conn).readRequest(0xc208106140, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:586 +0x26f
net/http.(*conn).serve(0xc208106140)
        /usr/local/go/src/net/http/server.go:1162 +0x69e
created by net/http.(*Server).Serve
        /usr/local/go/src/net/http/server.go:1751 +0x35e

goroutine 23 [chan receive]:
database/sql.(*DB).connectionOpener(0xc20803d0e0)
        /usr/local/go/src/database/sql/sql.go:589 +0x4c
created by database/sql.Open
        /usr/local/go/src/database/sql/sql.go:452 +0x31c

rax     0x0
rbx     0x7fae42ca1708
rcx     0xffffffffffffffff
rdx     0x6
rdi     0x11b6
rsi     0x11b6
rbp     0x8aba3e
rsp     0x7ffd107d57d8
r8      0xa
r9      0x7fae450c8740
r10     0x8
r11     0x202
r12     0x3
r13     0x1
r14     0x1
r15     0x10
rip     0x7fae42930067
rflags  0x202
cs      0x33
fs      0x0
gs      0x0
xinit: connection to X server lost
 
Last edited:

xSauron

Member
I´ve never seen this error before.

Just try to install the latest beta from https://forum.sinusbot.com/resources/sinusbot-beta.3/
Now:
Code:
2016/12/19 19:34:27 c0860d90 2747397a INFO   Starting instance ts3server://188.68.238.167?port=9987&nickname=SinusBot&password=&cid=1&channelpassword=
2016/12/19 19:34:27 X [MAIN] New connection
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |INFO    |              |   |TeamSpeak 3 Client 3.0.19.4 (2016-07-14 10:16:58)
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |INFO    |              |   |SystemInformation: Linux 2.6.32-042stab113.11 #1 SMP Fri Dec 18 17:32:04 MSK 2015 x86_64 Binary: 64bit
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |ERROR   |SoundBckndIntf|   |libpulse.so.0: cannot open shared object file: No such file or directory
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |ERROR   |SoundBckndIntf|   |libasound.so.2: cannot open shared object file: No such file or directory
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |WARNING |SoundDevManager|   |Did not load any sound backends. No (usable) dynamic libraries found.
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |INFO    |              |   |Loading plugin: libclientquery_plugin
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |INFO    |              |   |Loading plugin: liblua_plugin
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |INFO    |              |   |Loading plugin: libsoundbot_plugin
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |INFO    |              |   |Loading plugin: libtest_plugin
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |INFO    |Query         |   |listening on 127.0.0.1:25639
2016/12/19 19:34:27 X [MAIN] New connection
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |INFO    |ClientUI      |   |Failed to init text to speech engine
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |INFO    |ClientUI      |   |Qt version: 5.5.1
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |INFO    |ClientUI      |   |Using configuration location: /opt/ts3bot/data//ts3/c0860d90-746e-450a-963c-c43a5b319efa/2747397a-ebc8-453b-838f-0816cb57c3ed/settings.db
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |INFO    |ClientUI      |   |ts3server: 188.68.238.167?port=9987&nickname=SinusBot&password=&cid=1&channelpassword=
2016/12/19 19:34:27 c0860d90 2747397a INFO   TS |INFO    |ClientUI      |1  |Connect to server: 188.68.238.167
2016/12/19 19:34:27 c0860d90 2747397a INFO   TSClient quit. LogLevel has been increased, please try to connect again to see more details.
 
Last edited:
Status
Not open for further replies.
Top