purple-url-handler crashed with IndexError in correct_server()

Bug #263381 reported by Alex Mayorga
16
Affects Status Importance Assigned to Milestone
pidgin (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: pidgin

I tried to access this link irc://irc.gimp.net/online-desktop on this page http://live.gnome.org/OnlineDesktop and it triggered a crash.

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/bin/purple-url-handler
InterpreterPath: /usr/bin/python2.5
Package: libpurple-bin 1:2.5.0-0ubuntu2
PackageArchitecture: all
ProcAttrCurrent: unconfined
ProcCmdline: python /usr/bin/purple-url-handler irc://irc.gimp.net/online-desktop
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/purple-url-handler', 'irc://irc.gimp.net/online-desktop']
SourcePackage: pidgin
Title: purple-url-handler crashed with IndexError in correct_server()
Uname: Linux 2.6.27-2-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video

Tags: apport-crash
Revision history for this message
Alex Mayorga (alex-mayorga) wrote :
Revision history for this message
Alex Mayorga (alex-mayorga) wrote :

$ python /usr/bin/purple-url-handler irc://irc.gimp.net/online-desktop
Traceback (most recent call last):
  File "/usr/bin/purple-url-handler", line 367, in <module>
    main()
  File "/usr/bin/purple-url-handler", line 349, in main
    irc(uri)
  File "/usr/bin/purple-url-handler", line 212, in irc
    account = findaccount(protocol, matcher=correct_server)
  File "/usr/bin/purple-url-handler", line 78, in findaccount
    if matcher(account):
  File "/usr/bin/purple-url-handler", line 210, in correct_server
    return (server == (username.split("@"))[1])
IndexError: list index out of range

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Could you try to reproduce the same with Ubuntu 8.10 or 9.04? Thanks in advance.

Changed in pidgin:
status: New → Incomplete
Revision history for this message
Neil (n-layne) wrote :

re-confirming on 8.10:

[neil@lx-dt:~]$ xdg-open "irc://irc.gimp.net/online-desktop"
Traceback (most recent call last):
  File "/usr/bin/purple-url-handler", line 367, in <module>
    main()
  File "/usr/bin/purple-url-handler", line 349, in main
    irc(uri)
  File "/usr/bin/purple-url-handler", line 212, in irc
    account = findaccount(protocol, matcher=correct_server)
  File "/usr/bin/purple-url-handler", line 78, in findaccount
    if matcher(account):
  File "/usr/bin/purple-url-handler", line 210, in correct_server
    return (server == (username.split("@"))[1])
IndexError: list index out of range

Revision history for this message
Derek White (d-man97) wrote :

Confirming as well, on up-to-date (security, updates, backports, proposed), Ubuntu 8.10.

http://www.azureuswiki.com/index.php/IRC#Problems_with_other_individuals
Clicked on the 1st one, english.
Told firefox it was ok to use purple-url-handler.
Apport reported problem, which led me here.

This is the first time I have ever tried running anything related to IRC...not a great first impression.
[Too many bad first impressions...luckily I am a fairly advanced user or I would have switched back to Windows about 3 days after 8.10 was released. :)]

Keep up the good work guys!

Revision history for this message
Derek White (d-man97) wrote :

Sorry, the link should have been:
http://www.azureuswiki.com/index.php/IRC
Not that it matters...

Revision history for this message
Alex Mayorga (alex-mayorga) wrote :

My initial report no longer causes a crash on Jaunty, yet the GUI won't tell you that "No matching account found." But that's certainly a different bug.

alex-mayorga@inspiron-1501:~$ python /usr/bin/purple-url-handler irc://irc.gimp.net/online-desktop
No matching account found.
alex-mayorga@inspiron-1501:~$ lsb_release -rd
Description: Ubuntu jaunty (development branch)
Release: 9.04
alex-mayorga@inspiron-1501:~$ apt-cache policy pidgin
pidgin:
  Installed: 1:2.5.5-1ubuntu1
  Candidate: 1:2.5.5-1ubuntu1
  Version table:
 *** 1:2.5.5-1ubuntu1 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Changed in pidgin:
status: Incomplete → Fix Released
Revision history for this message
Michael Nagel (nailor) wrote :

for the records: could you provide a record to the new report?

Revision history for this message
Alex Mayorga (alex-mayorga) wrote :

Michael,

Might it be Bug #139191 but that has since been marked "Invalid".

I for one still see the odd behavior "the GUI won't tell you that "No matching account found.""

alex-mayorga@inspiron-1501:~$ python /usr/bin/purple-url-handler irc://irc.freenode.net/ubuntu-mx-nle
No matching account found.
alex-mayorga@inspiron-1501:~$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
alex-mayorga@inspiron-1501:~$ apt-cache policy pidgin
pidgin:
  Installed: 1:2.6.2-1ubuntu7
  Candidate: 1:2.6.2-1ubuntu7
  Version table:
 *** 1:2.6.2-1ubuntu7 0
        500 http://us.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.