Bug 663934 - Segfault when "account on"
Summary: Segfault when "account on"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: bitlbee
Version: el5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Robert Scheck
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-17 12:38 UTC by Jan Sarenik
Modified: 2018-04-11 11:49 UTC (History)
4 users (show)

Fixed In Version: bitlbee-3.0.1-6.fc13
Clone Of:
Environment:
Last Closed: 2011-01-03 17:32:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Backtrace with commands log (1.80 KB, text/plain)
2010-12-17 12:38 UTC, Jan Sarenik
no flags Details
current failing patch (8.27 KB, patch)
2010-12-21 23:32 UTC, Matěj Cepl
no flags Details | Diff

Description Jan Sarenik 2010-12-17 12:38:39 UTC
Created attachment 469348 [details]
Backtrace with commands log

If I log in to freshly installed Bitlbee, register (add password),
add account and try to connect using "account on", the bitlbee
server crashes. See the attachment for backtrace and steps
to reproduce.

bitlbee-3.0.1-1.el5

How reproducible: 100%

Steps to Reproduce:
1. See the attachment

Actual results: Segfault - core dumped.

Expected results: Connection to the account's server should be established.

Comment 1 Matěj Cepl 2010-12-17 15:25:17 UTC
<rsc> mcepl: and wilmer told, that the structure changed but our patch didn't.
<rsc> mcepl: from what I got, wilmer wanted to say us, that we've to modify our patch accordingly to match the changes in order to work again
<wilmer> rsc: IIRC the change was simple, it just returns a list instead of one srv response now.
<wilmer> But not sure.
<mcepl> wilmer, rsc, jasan: can I post this conversation to our bugzilla? Will fix eventually.
<wilmer> Sure, go ahead.

Comment 2 Matěj Cepl 2010-12-21 23:32:26 UTC
Created attachment 470096 [details]
current failing patch

I have tried to fix the problem, by cleaning up the patch and using the upstream structures, but I have failed to make it working. My current stage is at http://gitorious.org/bitlbee/bitlbee/blobs/a4bfc855663dce2c6aec9c338240ec5b832cd723/bitlbee-libresolv.patch, but I wasn't able to finish it.

Comment 3 Ricky Zhou 2010-12-26 19:57:00 UTC
Hi, I have an attempted patch for this at http://ricky.fedorapeople.org/bitlbee/bitlbee-libresolv.patch.  I've tested it lightly on F14, and it compiles on EL4/EL5, although I haven't actually tested there.  I have scratch builds at

http://koji.fedoraproject.org/koji/taskinfo?taskID=2689719 (EL4)
http://koji.fedoraproject.org/koji/taskinfo?taskID=2689717 (EL5)

if anybody's interested in testing on EL4/EL5.

Comment 4 Ricky Zhou 2010-12-26 20:19:11 UTC
Just updated the patch (at the same URL) to fix a memory leak and add some extra error checking, so if you notice that the patch in the builds above is slightly different from what I posted, that's why.

Comment 5 Fedora Update System 2010-12-27 12:54:34 UTC
bitlbee-3.0.1-4.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/bitlbee-3.0.1-4.el5

Comment 6 Fedora Update System 2010-12-27 13:00:33 UTC
bitlbee-3.0.1-4.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/bitlbee-3.0.1-4.fc13

Comment 7 Fedora Update System 2010-12-27 13:01:20 UTC
bitlbee-3.0.1-4.el4 has been submitted as an update for Fedora EPEL 4.
https://admin.fedoraproject.org/updates/bitlbee-3.0.1-4.el4

Comment 8 Fedora Update System 2010-12-27 13:02:25 UTC
bitlbee-3.0.1-4.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/bitlbee-3.0.1-4.fc14

Comment 9 Matěj Cepl 2010-12-27 13:04:23 UTC
(In reply to comment #4)
> Just updated the patch (at the same URL) to fix a memory leak and add some
> extra error checking, so if you notice that the patch in the builds above is
> slightly different from what I posted, that's why.

Meaning that http://ricky.fedorapeople.org/bitlbee/bitlbee-libresolv.patch is not the latest patch?

Comment 10 Ricky Zhou 2010-12-27 13:22:32 UTC
Sorry, I mean http://ricky.fedorapeople.org/bitlbee/bitlbee-libresolv.patch is the latest patch - it's even newer than the patch in the builds that I made.

(What you have in Fedora git now looks like the right one.)

Comment 11 Fedora Update System 2010-12-27 18:01:06 UTC
bitlbee-3.0.1-4.el4 has been pushed to the Fedora EPEL 4 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update bitlbee'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/bitlbee-3.0.1-4.el4

Comment 12 Fedora Update System 2010-12-28 15:51:04 UTC
bitlbee-3.0.1-6.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/bitlbee-3.0.1-6.fc14

Comment 13 Fedora Update System 2010-12-28 15:51:53 UTC
bitlbee-3.0.1-6.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/bitlbee-3.0.1-6.fc13

Comment 14 Fedora Update System 2010-12-28 15:55:02 UTC
bitlbee-3.0.1-6.el4 has been submitted as an update for Fedora EPEL 4.
https://admin.fedoraproject.org/updates/bitlbee-3.0.1-6.el4

Comment 15 Fedora Update System 2010-12-28 15:55:57 UTC
bitlbee-3.0.1-6.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/bitlbee-3.0.1-6.el5

Comment 16 Jan Sarenik 2011-01-03 12:11:58 UTC
Thank you for the fix. "account on" works for me on bitlbee-3.0.1-4.el5

Comment 17 Fedora Update System 2011-01-03 17:32:43 UTC
bitlbee-3.0.1-6.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2011-01-13 17:30:01 UTC
bitlbee-3.0.1-6.el4 has been pushed to the Fedora EPEL 4 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2011-01-13 23:29:52 UTC
bitlbee-3.0.1-6.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2011-01-13 23:34:51 UTC
bitlbee-3.0.1-6.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.