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 pluginSeverity: 3 - Normal
Item Group: crashStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: zackOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 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 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 22 Oct 2011 10:45:55 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Wed 13 Jul 2011 04:34:31 PM UTCflashcodeCategorycore commands=>irc plugin
    Wed 13 Jul 2011 04:34:03 PM UTCflashcodeStatusNeed Info=>Fixed
      SummaryMultiple auto-commands crash=>Crash when irc server buffer is closed by server command
    Wed 13 Jul 2011 02:36:48 PM UTCflashcodeStatusNone=>Need Info
      Assigned toNone=>flashcode

    Back to the top


    Powered by Savane 3.1-cleanup1