Modify ↓
#136 closed defect (duplicate)
Crash bug with gtalk
| Reported by: | timing | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | BitlBee | Version: | devel |
| Keywords: | Cc: | ||
| IRC client+version: | Client-independent | Operating System: | Linux |
| OS version/distro: |
Description
this crash is discoverd by a 1.0 user. it happens with -devel too
Steps to reproduce. Adding a Gtalk account:
account add jabber **********@gmail.com password 216.239.37.125
Then account on
13:24:27 <@root> Trying to get all accounts connected... 13:24:27 <@root> jabber(******@gmail.com) - Logging in: Connecting 13:24:27 <@root> jabber(******@gmail.com) - Logging in: Connected 13:24:27 <@root> jabber(******@gmail.com) - Logging in: Requesting Authentication Method
after this bitlbee segfaults. This is the strace output:
read(9, "PRIVMSG &bitlbee :account on\r\n", 512) = 30
_llseek(11, 0, [0], SEEK_SET) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 17
fcntl64(17, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
connect(17, {sa_family=AF_INET, sin_port=htons(5222), sin_addr=inet_addr("216.239.37.125")}, 16) = -1 EINPROGRESS (Operation now in progress)
gettimeofday({1144754667, 495441}, NULL) = 0
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7, events=POLLIN}, {fd=9, events=POLLIN}, {fd=14, events=POLLIN}, {fd=10, events=POLLIN}, {fd=12, events=POLLIN}, {fd=15, events=POLLIN}, {fd=13, events=POLLIN}, {fd=9, events=POLLOUT, revents=POLLOUT}, {fd=17, events=POLLOUT}], 11, 33813) = 1
gettimeofday({1144754667, 496805}, NULL) = 0
write(9, ":root!root@localhost.kabelfoon.n"..., 207) = 207
gettimeofday({1144754667, 519772}, NULL) = 0
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7, events=POLLIN}, {fd=9, events=POLLIN}, {fd=14, events=POLLIN}, {fd=10, events=POLLIN}, {fd=12, events=POLLIN}, {fd=15, events=POLLIN}, {fd=13, events=POLLIN}, {fd=17, events=POLLOUT, revents=POLLOUT}], 10, 33788) = 1
gettimeofday({1144754667, 601165}, NULL) = 0
getsockopt(17, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
fcntl64(17, F_SETFL, O_RDONLY) = 0
write(17, "<?xml version=\'1.0\'?>", 21) = 21
write(17, "<stream:stream xmlns:stream=\'htt"..., 100) = 100
write(17, "<iq type=\'get\' id=\'__AUTH__\'><qu"..., 110) = 110
gettimeofday({1144754667, 605052}, NULL) = 0
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7, events=POLLIN}, {fd=9, events=POLLIN}, {fd=14, events=POLLIN}, {fd=10, events=POLLIN}, {fd=12, events=POLLIN}, {fd=15, events=POLLIN}, {fd=13, events=POLLIN}, {fd=9, events=POLLOUT, revents=POLLOUT}, {fd=17, events=POLLIN}], 11, 33703) = 1
gettimeofday({1144754667, 606389}, NULL) = 0
write(9, ":root!root@localhost.kabelfoon.n"..., 249) = 249
gettimeofday({1144754667, 625199}, NULL) = 0
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7, events=POLLIN}, {fd=9, events=POLLIN}, {fd=14, events=POLLIN}, {fd=10, events=POLLIN}, {fd=12, events=POLLIN}, {fd=15, events=POLLIN}, {fd=13, events=POLLIN}, {fd=17, events=POLLIN, revents=POLLIN}], 10, 33683) = 1
gettimeofday({1144754667, 814236}, NULL) = 0
read(17, "<stream:stream from=\"gmail.com\" "..., 4095) = 124
gettimeofday({1144754667, 815448}, NULL) = 0
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=7, events=POLLIN}, {fd=9, events=POLLIN}, {fd=14, events=POLLIN}, {fd=10, events=POLLIN}, {fd=12, events=POLLIN}, {fd=15, events=POLLIN}, {fd=13, events=POLLIN}, {fd=17, events=POLLIN, revents=POLLIN}], 10, 33493) = 1
gettimeofday({1144754667, 818781}, NULL) = 0
read(17, "<iq type=\"error\" id=\"__AUTH__\"><"..., 4095) = 1954
gettimeofday({1144754667, 820760}, NULL) = 0
gettimeofday({1144754667, 821624}, NULL) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
time([1144754667]) = 1144754667
getpid() = 8857
rt_sigaction(SIGPIPE, {0x40179a70, [], 0}, {0x8056060, [], 0}, 8) = 0
send(5, "<27>Apr 11 13:24:27 bitlbee[8857"..., 84, 0) = 84
rt_sigaction(SIGPIPE, {0x8056060, [], 0}, NULL, 8) = 0
gettid() = 8857
tgkill(8857, 8857, SIGSEGV) = 0
sigreturn() = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Attachments (0)
Change History (1)
comment:1 Changed at 2006-05-05T16:08:18Z by
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.

IIRC this is because you forgot to specify :ssl. Anyway, the Jabber module rewrite should fix this, until then I don't feel like debugging soon-to-disappear code... I'll dupe this to the rewrite bug (#9).