bugWeeChat - Bugs: bug #29467, weechat-curses crashes on exit

 
 

bug #29467: weechat-curses crashes on exit

Submitter:  Brian <bp2626>
Submitted:  Thu 08 Apr 2010 06:08:26 AM UTC
   
 
Category:  script API plugins Severity:  3 - Normal
Item Group:  crash Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.3.1 IRC nick:  RedGhost
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 13 Apr 2010 08:49:51 AM UTC, comment #5: 

Issue seems to be fixed using latest git version of 0.3.2.

No crash while unloading the perl plugin.

Brian <bp2626>
Tue 13 Apr 2010 07:56:24 AM UTC, comment #4: 

------------------------------------------------
I think it's known bug of perl (not weechat) on FreeBSD.
Can you try to comment these 2 lines at the end of src/plugins/scripts/perl/weechat-perl.c:

if (perl_quit_or_upgrade)
PERL_SYS_TERM ();
------------------------------------------------

Commenting PERL_SYS_TERM() fixed the segfault.

------------------------------------------------
Are you using weechat built from ports? (irc/weechat)

Are you using perl built from ports? (lang/perl5.10)
If so, have you built perl with threading enabled? Could you provide the output of perl -V?

Just as a point of note, I can't reproduce the issue on 7.2-STABLE (amd64) with weechat 0.3.1.1 (irc/weechat) or weechat 0.3.2-rc1 (irc/weechat-devel).
------------------------------------------------

weechat 0.3.1.1 is installed from ports (irc/weechat)

perl5.10 is installed from ports (lang/perl5.10)

Perl is built as threaded, yes. Output of perl -V attached.



(file #20211)

Brian <bp2626>
Mon 12 Apr 2010 12:56:52 PM UTC, comment #3: 

Brian,

Can you confirm the following please?

Are you using weechat built from ports? (irc/weechat)

Are you using perl built from ports? (lang/perl5.10)
If so, have you built perl with threading enabled? Could you provide the output of perl -V?

Just as a point of note, I can't reproduce the issue on 7.2-STABLE (amd64) with weechat 0.3.1.1 (irc/weechat) or weechat 0.3.2-rc1 (irc/weechat-devel).

bazerka <bazerka>
Mon 12 Apr 2010 12:28:56 PM UTC, comment #2: 

It should be fixed, please try last git version.

Sebastien Helleu <flashcode>
Group administrator
Fri 09 Apr 2010 08:58:39 AM UTC, comment #1: 

I think it's known bug of perl (not weechat) on FreeBSD.
Can you try to comment these 2 lines at the end of src/plugins/scripts/perl/weechat-perl.c:

if (perl_quit_or_upgrade)
    PERL_SYS_TERM ();

Sebastien Helleu <flashcode>
Group administrator
Thu 08 Apr 2010 06:08:26 AM UTC, original submission:  

SIGSEGV when unloading the perl plugin.

Attached is the backtrace and log.

FreeBSD 8.0 AMD64.

Brian <bp2626>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #20211:  perl_output.txt added by bp2626 (3KiB - text/plain)
file #20156:  weechatlog.tar.gz added by bp2626 (62KiB - application/gzip)
file #20155:  bt.txt added by bp2626 (2KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-11 flashcode StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2010-04-13 bp2626 Attached File- Added perl_output.txt, #20211
    2010-04-12 flashcode StatusFixed Ready For Test
    2010-04-12 flashcode StatusIn Progress Fixed
    2010-04-09 flashcode CategoryNone script API plugins
        StatusNone In Progress
        Assigned toNone flashcode
    2010-04-08 bp2626 Attached File- Added weechatlog.tar.gz, #20156
    2010-04-08 bp2626 Attached File- Added bt.txt, #20155

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code