Closed Bug 264303 Opened 20 years ago Closed 20 years ago

Any Net::IRC newer the 0.70 cause the bot to crash constantly

Categories

(Webtools Graveyard :: Mozbot, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: linuxchixors, Assigned: ian)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

I have mozbot-latest, and if I use a Net::IRC newer then 0.70, then talking to
the bot makes it crash, joining a channel with anyhting in the topic makes it
crash, doing anyhitng pretty much and the bot will crash. Also the server for
insults and excuse's for the Rude module bot appear to be gone. Are there any
other servers for these two things?

Reproducible: Always
Steps to Reproduce:
1.install newest Net::IRC
2.have the bot join a channel with a topic, or say anyhting to the bot
3.

Actual Results:  
the bot crashes with errors about somethign in Net::IRC

Expected Results:  
well, the bot shouldn't have crashed
Assignee: mcafee → ian
Component: Tinderbox → Mozbot
QA Contact: timeless → kerz
I'm seeing this as well... just bothered tooling around with the bot again for
the first time in a year or so. Maybe I'll take a look later, but it was more on
a whim that I installed it then a need, so I can't say when I'll get to it.
(output of console w/ Net::IRC 7.5 i believe)

2004-11-27 18:49:49 UTC (17393) SpottedJoin: #wasp <waspbot> 
Can't use string ("brainstorm fireworks") as an ARRAY ref while "strict refs"
        in use at /usr/lib/perl5/site_perl/5.8.5/Net/IRC/Event.pm line 73 (#2)
    (F) Only hard references are allowed by "strict refs".  Symbolic
    references are disallowed.  See perlref.
    
Uncaught exception from user code:
        Can't use string ("brainstorm fireworks") as an ARRAY ref while "strict
refs" in use at /usr/lib/perl5/site_perl/5.8.5/Net/IRC/Event.pm line 73.
 at /usr/lib/perl5/site_perl/5.8.5/Net/IRC/Event.pm line 73
        Net::IRC::Event::args('Net::IRC::Event=HASH(0x85b898c)', 'brainstorm
fireworks') called at ./mozbot.pl line 655
        main::on_topic('Net::IRC::Connection=HASH(0x852d06c)',
'Net::IRC::Event=HASH(0x85b898c)') called at
/usr/lib/perl5/site_perl/5.8.5/Net/IRC/Connection.pm line 492
        Net::IRC::Connection::handler() called at
/usr/lib/perl5/site_perl/5.8.5/Net/IRC/Connection.pm line 1051
        Net::IRC::Connection::parse('Net::IRC::Connection=HASH(0x852d06c)',
'IO::Socket::INET=GLOB(0x85ad610)') called at
/usr/lib/perl5/site_perl/5.8.5/Net/IRC.pm line 178
        Net::IRC::do_one_loop('Net::IRC=HASH(0x852c8b4)') called at
/usr/lib/perl5/site_perl/5.8.5/Net/IRC.pm line 259
        Net::IRC::start('Net::IRC=HASH(0x852c8b4)') called at ./mozbot.pl line 2718
2004-11-27 18:49:49 UTC (17393) perl is shutting down...
2004-11-27 18:49:49 UTC (17393) Module Admin: garbage collected
2004-11-27 18:49:49 UTC (17393) Module General: garbage collected
2004-11-27 18:49:49 UTC (17393) Connection: garbage collected
Status: UNCONFIRMED → NEW
Ever confirmed: true
I think I fixed this in cvs tip a few months ago, are you seeing this in 2.4 or
in the CVS code?
2.4... i'll update to cvs tonight and check again
indeed... upodated to cvs tip and build works fine joining / interacting.

few minor module install problems but those seem to be on my end (additional
perl modules not installed)

In any case... now WFM
great!
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
QA Contact: kerz → mozbot
Verified WORKSFORME.
Status: RESOLVED → VERIFIED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.