nightingale-media-player / nightingale-hacking

Working tree for the community fork of Songbird, Nightingale. If building, use the sb-trunk-oldxul (development) branch, with the tag 1.12.1 tag for stable, for now. The master-xul-9.0.1 branch is the current progress in building Nightingale with XULRunner 9 and builds, but is broken. All help in terms of patches and pull requests is welcome.
https://getnightingale.com
GNU General Public License v2.0
185 stars 41 forks source link

Last fm addon closes the program to confirm application #231

Open solispedro opened 10 years ago

solispedro commented 10 years ago

When you try to log on by using the addon of the last fm, windows closes the program, exactly when page opens to authorize the application.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1351503-last-fm-addon-closes-the-program-to-confirm-application?utm_campaign=plugin&utm_content=tracker%2F230233&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F230233&utm_medium=issues&utm_source=github).
solispedro commented 10 years ago

Complementary informations: Version: Nightingale 1.12, Build 2432 (20130401204705) Sistema: Windows 8.1 com Media Center Processador: Intel Core i3 2100 CPU 3.10 ghz Memoria: 4gb

solispedro commented 10 years ago

In realy, every time the access to www.lastfm.com windows closes the program ...

eternalsage commented 10 years ago

I can confirm this issue, although mine is occurring on Lubuntu 13.10.

freaktechnik commented 10 years ago

This may also happen with Soundcloud.

eternalsage commented 10 years ago

I ran the program from terminal and it threw a seg fault at the crash. If that helps.

freaktechnik commented 10 years ago

Doesn't really, but as far as I remember correctly I was able to isolate the issue once.

marianoju commented 10 years ago

Nightingale 1.12 crashes as well with Ubuntu 13.10 when I try to login into my last.fm account:

  1. Nightingale opens a tab with the URL https://secure.last.fm/login...,
  2. alerts me to having requested “an encrypted page that contains some unencrypted information”,
  3. then crashes (program closes).
freaktechnik commented 10 years ago

Could you try on a new profile (nightingale -p)?

marianoju commented 10 years ago

@freaktechnik Sure. Just did and Nightingale crashes just the same, see http://pastebin.com/CkiYqf9r

freaktechnik commented 10 years ago

I see you have other extensions than just last.fm in that new profile. Could you try a new profile with just last.fm?

marianoju commented 10 years ago

I removed mashTape, MLyrics, SHOUTcast and SoundCloud, then restarted Nightingale. Succesfully logged in to last.fm, but somehow (while switching tabs) my session was terminated, when trying to log in again Nightingale chrased once again. See http://pastebin.com/vnkDsmCH

freaktechnik commented 10 years ago

So it's one of your extensions causing the crash. If I could have a wild guess I'd say it's mashTape, sadly. (stares at #77)

marianoju commented 10 years ago

@freaktechnik I think you got me wrong: I have removed all extensions (aka add-ons) but last.fm, then restarted. And Nightingale crashed again. I do not see how this would be mashTape's fault.

That was yesterday. When trying to reproduce the problem today everything went fine (see http://pastebin.com/jPiDGNvf). While this is very satisfactory on the one side, I wonder what changed. All that I can say is that –because I was doing screenshots, see below– I let some time pass between every step.

Right now:

screenshot from 2014-03-06 10 09 51 screenshot from 2014-03-06 10 13 37 screenshot from 2014-03-06 10 13 51

freaktechnik commented 10 years ago

Oh, sorry. I got that impression from the log you linked. Interesting that it works now. It might be related to the user not clicking into the webframe in a certain period (you waited for a bit).

freaktechnik commented 10 years ago

So I built a debug build and tried it with both last.fm and SoundCloud. And oh wonder, it crashed when I wanted it to. And it crashed while doing something with Flashplayer. Loading it or something. Interesting.