close Warning: Failed to sync with repository "(default)": [Errno 12] Cannot allocate memory; repository information may be out of date. Look in the Trac log for more information including mitigation strategies.

#134 closed defect (fixed)

Bitlbee's latest BZR release crashed while in "daemon" mode

Reported by: jsuelwald@… Owned by:
Priority: major Milestone:
Component: BitlBee Version: devel
Keywords: Cc:
IRC client+version: Client-independent Operating System: Linux
OS version/distro:


Somehow the latest BZR release (20060409) crashes after an user got disconnected and reconnected.

After some debugging with gdb and wilmer's help i patched bitlbee.c and the bitlbee didn't crash anymore. But i am still not sure, what caused this crash in the first place.

Attachments (2)

bitlbee.c.diff (112 bytes) - added by jsuelwald@… at 2006-04-09T12:58:02Z.
bitlbee.c Diff file
gdb.txt (3.9 KB) - added by jsuelwald@… at 2006-04-09T13:02:12Z.
Some (maybe useful) output using gdb

Download all attachments as: .zip

Change History (5)

Changed at 2006-04-09T12:58:02Z by jsuelwald@…

Attachment: bitlbee.c.diff added

bitlbee.c Diff file

Changed at 2006-04-09T13:02:12Z by jsuelwald@…

Attachment: gdb.txt added

Some (maybe useful) output using gdb

comment:1 Changed at 2006-04-09T13:09:29Z by jsuelwald@…

After the server with the patch applied never crashed (i did this some days ago) i reverted to the BZR release and it crashed again unde similar circumstances.

I'm still trying to figure out what went wrong, but i'm a newbie, when it comes to debugging... i've much to learn.

comment:2 Changed at 2006-10-15T16:45:27Z by wilmer

18:42:20     wilmer| WereBones: what happened to that one btw?
18:42:28     wilmer| WereBones: you still use that patch?
18:43:06  WereBones| No, currently i am using your jabber-branch
18:43:24     wilmer| WereBones: and no crashes so far, right?
18:43:39     wilmer| WereBones: so maybe/hopefully this problem got resolved so the patch isn't necessary 
18:43:45  WereBones| Yep, no crashes so far.
18:43:46     wilmer| (or maybe the patch is in there already, actually i'm not sure
18:43:53  WereBones| maybe :)
18:44:05  WereBones| close the ticket, if you want to ;)

I guess I'll close it soon. Both WB and I are running BitlBee in daemon mode inside valgrind now and things are behaving pretty well. :-)

comment:3 Changed at 2006-10-22T13:49:43Z by wilmer

Resolution: fixed
Status: newclosed

Modify Ticket

as closed The ticket will remain with no owner.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.