bugWeeChat - Bugs: bug #33763, Crash when irc server buffer is...

 
 

bug #33763: Crash when irc server buffer is closed by server command

Submitted by:  None
Submitted on:  Wed 13 Jul 2011 02:23:59 PM UTC  
 
Category:  irc plugin Severity:  3 - Normal
Item Group:  crash Status:  Fixed
Privacy:  Public Assigned to:  Sebastien Helleu <flashcode>
Originator Name:  zack Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  0.3.5
IRC nick:  z^ck

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Wed 13 Jul 2011 04:34:03 PM UTC, comment #9:

Crash happens when a command like "/buffer close" is used in server command: this closes server buffer, but continue to flush messages queue. Then without connection on server, any message received can crash WeeChat.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Wed 13 Jul 2011 03:48:39 PM UTC, comment #8:

Can you please join #weechat on freenode to discuss about problem?

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Wed 13 Jul 2011 03:41:18 PM UTC, comment #7:

I don't write any command for connecting the server, I put it on autoconnect.

The (working) irc.conf is here : http://paste.olol.eu/237
I only changed the line bitlbee.command to make it crash ; when there is only the command /msg, it works.

Zack <zaack>
Wed 13 Jul 2011 03:29:57 PM UTC, comment #6:

Last thing, can you please paste your irc.conf (hide passwords or private data inside).

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Wed 13 Jul 2011 03:25:36 PM UTC, comment #5:

I forgot: I think problem is not your multiple commands (according to gdb trace).

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Wed 13 Jul 2011 03:24:59 PM UTC, comment #4:

I think problem is with ignore checking, and because server nick is not yet set (but it should be set here).
What command are you using to connect to server?

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Wed 13 Jul 2011 03:02:51 PM UTC, comment #3:

The trace is here : http://paste.olol.eu/236

Zack <zaack>
Wed 13 Jul 2011 02:36:48 PM UTC, comment #2:

This log is not very useful..
Please provide instead a trace with gdb. To do that, please follow steps in doc here: http://weechat.org/files/doc/stable/weechat_user.en.html#report_crashes

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Wed 13 Jul 2011 02:33:15 PM UTC, comment #1:

The log didn't fit in the attachment, so here it is : http://paste.olol.eu/235

Zack <zaack>
Wed 13 Jul 2011 02:23:59 PM UTC, original submission:

I tried to send a command to close a buffer after authentication, like this :

/set irc.server.bitlbee.command "/msg root identify ****;/buffer bitlbee.god;/buffer close"

But weechat crashed at the connection.
After authentication, the bot "root" is renamed to "god" on my bitlbee server, and when I type these commands manually, there is no problem.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by zaack (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-10-22 flashcode Open/ClosedOpen => Closed
    2011-07-13 flashcode Categorycore commands => irc plugin
    2011-07-13 flashcode StatusNeed Info => Fixed
        SummaryMultiple auto-commands crash => Crash when irc server buffer is closed by server command
    2011-07-13 flashcode StatusNone => Need Info
        Assigned toNone => flashcode

    Back to the top


    Powered by Savane 3.4