Crash-m / thelastripper

Automatically exported from code.google.com/p/thelastripper
0 stars 0 forks source link

Crashes in Mac OS X 10.5.1 Leapord #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Description of the issue: - When starting TheLastRipper, the icon bounces for a 
bit then disappears. When starting the unix file within the application, I get 
the following (debug) 
statement:

/Applications/TheLastRipper\ 1.1.1.app/Contents/MacOS/TheLastRipper ; exit;
[2007-58-20 08:11:08] Installing mach exception handler.

Unhandled Exception: System.TypeInitializationException: An exception was 
thrown by the type 
initializer for Cocoa.Native ---> System.Exception: task_for_pid returned: 5
  at Cocoa.Mach.InstallExceptionHandler () [0x00000] 
  at Cocoa.Native..cctor () [0x00000] --- End of inner exception stack trace ---

  at <0x00000> <unknown method>
  at Cocoa.Object..cctor () [0x00000] 

Unhandled Exception: System.TypeInitializationException: An exception was 
thrown by the type 
initializer for Cocoa.Application ---> System.TypeInitializationException: An 
exception was 
thrown by the type initializer for Cocoa.Object ---> 
System.TypeInitializationException: An 
exception was thrown by the type initializer for Cocoa.Native ---> 
System.Exception: 
task_for_pid returned: 5
  at Cocoa.Mach.InstallExceptionHandler () [0x00000] 
  at Cocoa.Native..cctor () [0x00000] --- End of inner exception stack trace ---

  at <0x00000> <unknown method>
  at Cocoa.Object..cctor () [0x00000] --- End of inner exception stack trace ---

  at <0x00000> <unknown method>
  at Cocoa.Application..cctor () [0x00000] --- End of inner exception stack trace ---

  at <0x00000> <unknown method>
  at TheLastRipper.TheLastRipper.Run () [0x00000] 
  at TheLastRipper.TheLastRipper.Main (System.String[] args) [0x00000] 
logout

[Process completed]

What steps will reproduce the problem?
1. Install Mono on a Mac OS X 10.5 system
2. Install TheLastRipper
3. Launch TheLastRipper.

What is the expected output?
The icon bounces then quits.

GENERAL INFORMATION ABOUT YOUR SYSTEM:

1.1.1 OSX
Mono 1.2.5.1
Mac OS X 10.5.1  

Original issue reported on code.google.com by mouz...@gmail.com on 20 Nov 2007 at 6:00

GoogleCodeExporter commented 9 years ago
Other interesting notes: from terminal:

mono --debug /Applications/TheLastRipper\ 1.1.1.app/
Cannot open assembly /Applications/TheLastRipper 1.1.1.app/.

Original comment by mouz...@gmail.com on 20 Nov 2007 at 6:10

GoogleCodeExporter commented 9 years ago
I don't think mono supports OS X 10.5 yet. I'd expect the package to work as 
soon as
mono team finishes their OS X 10.5 support.

/Applications/TheLastRipper\ 1.1.1.app/
is not an assembly, it's the path to a simple directory. Inside the directory 
there's
a binary somewhere, a .exe file, you can open that with mono (if it works).

Original comment by jopsen@gmail.com on 20 Nov 2007 at 9:47

GoogleCodeExporter commented 9 years ago
compiles cocoa-sharp and mono from macports under 10.5.1 and replaced 
cocoa-sharp in the App directory 
with a symlink to the newly compiled version. And than it works.

Original comment by joerg.un...@gmail.com on 26 Nov 2007 at 7:40

GoogleCodeExporter commented 9 years ago
Joerg could you elaborate your comment a bit more, since I have never performed 
such tasks previously. 

Meaning, is it possible to write a short user guide for fixing the recurring 
issue?

Original comment by alex.be...@gmail.com on 27 Nov 2007 at 9:22

GoogleCodeExporter commented 9 years ago
It might be possible to package the recompliation of mono and cocoa-sharp in a 
.app
bundle... 
If anyone's got the OS X experience you're welcome to try, a tutorial is 
available here:
http://code.google.com/p/cocoa-sharp-dev/wiki/RedistributableAppWithoutInstallin
gMono

Original comment by jopsen@gmail.com on 27 Nov 2007 at 10:34

GoogleCodeExporter commented 9 years ago
Indeed, or just post the recompiled files, since it is quite easy to replace 
the files in the package contents.

Original comment by alex.be...@gmail.com on 27 Nov 2007 at 10:28

GoogleCodeExporter commented 9 years ago
I'm not sure just replacing the files in the package would do it. It might, but 
we'll
probably need the entire mono framework too... Which is why, the article I 
linked to
probably is needed...

But try uploading it, and we'll see if replacing it makes it work.

Original comment by jopsen@gmail.com on 28 Nov 2007 at 6:50

GoogleCodeExporter commented 9 years ago
It seams Mono 1.2.6, released 3 days ago, supports Mac OSX 10.5... Based on 
comment
3's experience I'd expect the current app-bundle for OS X to work with 10.5 and 
the
new mono release...

The new mono release is available here:
http://www.mono-project.com/Downloads

Please report back so we can close this issue if it's working...

Original comment by jopsen@gmail.com on 15 Dec 2007 at 2:53

GoogleCodeExporter commented 9 years ago
Nada. Just updated, not working. When lauched through terminal:
macbook:~ mouzy93$ mono /Applications/TheLastRipper\
1.1.1.app/Contents/Resources/TheLastRipper.exe
[2007-33-16 10:12:24] Installing mach exception handler.

Unhandled Exception: System.TypeInitializationException: An exception was 
thrown by
the type initializer for Cocoa.Native ---> System.Exception: task_for_pid 
returned: 5
  at Cocoa.Mach.InstallExceptionHandler () [0x00000] 
  at Cocoa.Native..cctor () [0x00000] --- End of inner exception stack trace ---

  at Cocoa.Object..cctor () [0x00000] 

Also - any chance of rebundling/rewriting TheLastRipper so that it isnt 
dependant on
mono, or has the needed (confirmed working) mono components in the DMG? Thabks 
for
your continued support.

Original comment by mouz...@gmail.com on 16 Dec 2007 at 7:35

GoogleCodeExporter commented 9 years ago
macbook:~ mouzy93$ /Applications/TheLastRipper\ 
1.1.1.app/Contents/MacOS/TheLastRipper 
[2007-11-16 04:12:25] Installing mach exception handler.

Unhandled Exception: System.TypeInitializationException: An exception was 
thrown by
the type initializer for Cocoa.Native ---> System.Exception: task_for_pid 
returned: 5
  at Cocoa.Mach.InstallExceptionHandler () [0x00000] 
  at Cocoa.Native..cctor () [0x00000] --- End of inner exception stack trace ---

  at Cocoa.Object..cctor () [0x00000] 

Original comment by mouz...@gmail.com on 16 Dec 2007 at 1:11

GoogleCodeExporter commented 9 years ago
Well I guess we'll have to recompile TheLastRipper for leopard and the new mono
release... Maybe something changed in the Cocoa Bindings...

Rebundling TheLastRipper to include mono framework, inside the .app directory 
should
be possible... Probably also a good idea, I've seen an article about it here:
http://code.google.com/p/cocoa-sharp-dev/wiki/RedistributableAppWithoutInstallin
gMono

If anyone wants to work with these issues I guess the project could use a little
help... I'm no Mac developer but I'd be glad to help with all the C#/Mono 
issues...

Original comment by jopsen@gmail.com on 16 Dec 2007 at 4:26

GoogleCodeExporter commented 9 years ago
Great! You should also make it clear on your homepage that leapord is ot yet
supported, As mono is pretty big and hard to get rid of - and its a lot of 
wasted time :(

It'll be great to rebuild it also... 
Maybe you could put a note up on your google code front page that you're 
looking for
a mac developer? 

Keep going - you'll get there (and you have a great program)

Original comment by mouz...@gmail.com on 16 Dec 2007 at 6:32

GoogleCodeExporter commented 9 years ago
I've added request for an OS X developer to the google code frontpage...

If anyone wants to help out, don't hesitate skills aren't required since this 
is kind
of a toy project... :)

Original comment by jopsen@gmail.com on 20 Dec 2007 at 2:45

GoogleCodeExporter commented 9 years ago
Four months have passed and no fixing of this issue. Can someone help,  please?!

Original comment by alex.be...@gmail.com on 3 Apr 2008 at 10:48

GoogleCodeExporter commented 9 years ago
Are there any updates on resolving this? If noone is actively working on it I 
would
be happy to spend some time to resolve this.

Original comment by derpa...@gmail.com on 1 May 2008 at 10:20

GoogleCodeExporter commented 9 years ago
As far as I'm aware nobody is working on this issue...

If you want to play with I'll gladly assist, the code from the previous port is
available here:
http://code.google.com/p/thelastripper/source/browse/branches/Cocoa-Sharp

You can gain anonymous SVN access here:
http://code.google.com/p/thelastripper/source/checkout

Let me know if you want write access :)

Original comment by jopsen@gmail.com on 1 May 2008 at 10:37

GoogleCodeExporter commented 9 years ago
will probably take a quick look at the weekend and then update here.

Thanks for the help,

Pascal

Original comment by derpa...@gmail.com on 1 May 2008 at 11:43

GoogleCodeExporter commented 9 years ago
had a quick look at the problem and this will take a bit longer...

Original comment by derpa...@gmail.com on 11 May 2008 at 2:10

GoogleCodeExporter commented 9 years ago
BTW - I'm still watching this (mouzy93) - thanks v. much for your help, 
derpassi!
~ilya

Original comment by mouz...@gmail.com on 11 May 2008 at 6:55

GoogleCodeExporter commented 9 years ago
look forward to this being fixed :)

Original comment by skyh0...@gmail.com on 23 May 2008 at 11:02

GoogleCodeExporter commented 9 years ago
My thelastripper starts, but the attached messages are displayed in the console
(Applications/Utilities/Console.app).
If I click login, nothing happens.

Original comment by jonathan...@gmail.com on 11 Jul 2008 at 11:46

Attachments:

GoogleCodeExporter commented 9 years ago
Judging by your log file I'd say that the connections between the C# 
code/object and
the cocoa design file... (don't remember what it's called anymore) are broken...
Probably due to an upgrade in mono, I'd understand if their runtime weren't 
exactly
stable at the time we developed the first OS X port...

You should be able to verify this by using a network analysis tool like 
wireshark to
watch the tcp/ip communication from your computer while clicking "login"...
If wireshark says no request is sent to last.fm when you click "login", then my
suspicion from before is presumably correct...

I think the solution is to recompile it... the sources can be checked out of 
SVN and
compiled using xcode and CSharpPlugin for XCode
(http://code.google.com/p/cocoa-sharp-dev/wiki/CSharpPlugin).

If anybody want to try and recompile... I'd gladly assist/support...

Original comment by jopsen@gmail.com on 12 Jul 2008 at 7:24

GoogleCodeExporter commented 9 years ago
Hi there,

I am not finding time to look at this currently but will be on holiday in 4 
weeks.
For the recompile I might find some time next weekend. Sorry for the delay and 
the
long period without updates.

Cheers

Pascal

Original comment by derpa...@gmail.com on 12 Jul 2008 at 12:52

GoogleCodeExporter commented 9 years ago
I've recompiled using branch/Cocoa-Sharp/TheLastRipper.xcodeproj and I get this 
error
on execution:

mono TheLastRipper.exe 
2008-09-15 14:58:08.774 mono[55417:10b] Could not connect the action 
OnLoginClick: to
target of class ApplicationController
2008-09-15 14:58:08.776 mono[55417:10b] Could not connect the action OnOKClick: 
to
target of class ApplicationController
2008-09-15 14:58:08.776 mono[55417:10b] Could not connect the action 
OnTuneInClick:
to target of class ApplicationController
2008-09-15 14:58:08.777 mono[55417:10b] Could not connect the action 
ShowAboutBox: to
target of class ApplicationController
2008-09-15 14:58:08.777 mono[55417:10b] Could not connect the action 
OnSkipClick: to
target of class ApplicationController
2008-09-15 14:58:08.778 mono[55417:10b] Could not connect the action 
OnLoveClick: to
target of class ApplicationController
2008-09-15 14:58:08.778 mono[55417:10b] Could not connect the action 
OnHateClick: to
target of class ApplicationController
2008-09-15 14:58:08.779 mono[55417:10b] Could not connect the action 
OnUsernameEdit:
to target of class ApplicationController
2008-09-15 14:58:08.780 mono[55417:10b] Could not connect the action 
ShowSettings: to
target of class ApplicationController
2008-09-15 14:58:08.780 mono[55417:10b] Could not connect the action
GeneratePlaylist: to target of class ApplicationController

The window loads but changing tabs or even typing anything in is extremely slow.
It doesn't login either.

env:
os: Leopard 10.5.4
mono: 1.2.6
xcode 3.0 , Component versions:
Xcode IDE: 921.0
Xcode Core: 921.0
ToolSupport: 893.0

Original comment by skyh0...@gmail.com on 15 Sep 2008 at 2:07

GoogleCodeExporter commented 9 years ago
Did somebody find a way to launch it successfully in Leopard?

Or else: is there other software like TheLastRipper that does work?

K.r.

Original comment by ilja.gro...@gmail.com on 6 Dec 2008 at 2:48

GoogleCodeExporter commented 9 years ago
I now use radiolover, and use a different streaming service (soma.fm)

I dont think anyone managed to launch it. 

Original comment by mouz...@gmail.com on 6 Dec 2008 at 2:50

GoogleCodeExporter commented 9 years ago
I launch the program and can enter text in the spaces but the login button does 
nothing

Original comment by marshfl...@gmail.com on 24 Dec 2008 at 5:56

GoogleCodeExporter commented 9 years ago
can i get osx source? learning xcode on leo, interested in application.

Original comment by dontr...@ya.ru on 30 Dec 2008 at 7:52

GoogleCodeExporter commented 9 years ago
Absolutely, it's in the Cocoa-Sharp SVN branch... Check it out using SVN...
And or browse it here:
http://code.google.com/p/thelastripper/source/browse/#svn/branches/Cocoa-Sharp

If you want any help feel free to contract me or join the development list:
http://groups.google.com/group/thelastripper-dev

I helped a mate do the current, no-longer-working, OS X release... I'll gladly 
answer
any questions regarding it, though I don't run OS X, which explains why I'm not
fixing the port...

Original comment by jopsen@gmail.com on 31 Dec 2008 at 11:37

GoogleCodeExporter commented 9 years ago
m. looks like i need liblastrip.dll, n can't get files from there. could they 
work in leo?
can't found any help on last.fm; amazed — their API not for this?

Original comment by dontr...@ya.ru on 31 Dec 2008 at 1:28

GoogleCodeExporter commented 9 years ago
liblastrip.dll is also in SVN, you might grab a newer version than the one 
currently
in the Cocoa-Sharp branch... You get the files from svn by doing a checkout 
using a
svn client.
Address for anonymous checkout can be found here:
http://code.google.com/p/thelastripper/source/checkout
svn clients here:
http://subversion.tigris.org/links.html#clients

The files actually ought to work on Mac OS X 10.5, I don't even think any major
changes needs applied... However, it probably needs to be rebuilt with a newer
version of Mono...
By the way, you'll need mono framework, from mono-project.org. TheLastRipper is
written in C# an runs on .Net on windows and Mono on Linux and OS X.

Last.fm radio streaming API is not officially documented... We've written a 
small
documentation for most of it here:
http://code.google.com/p/thelastripper/wiki/LastFM12UnofficialDocumentation

But that shouldn't be necessary, as this API is implemented in LibLastRip.dll.

Also notice, the you might need XCode plugin for mono, see:
http://code.google.com/p/cocoa-sharp-dev/

Original comment by jopsen@gmail.com on 1 Jan 2009 at 12:21

GoogleCodeExporter commented 9 years ago
it seems that it's possible to run the Windows binary on Leopard using mono 
directly:

$ mono TheLastRipper.exe /mono

I'll report about issues as soon as I prove it a bit longer. So far no problems.

Mac Os X 10.5.6
mono 2.2
TheLastRipper 1.4.0 (Windows binary)

I copied the windows installation with TheLastInstaller_v140.exe to the OS X. 
From
Terminal, i executed the exe with mono as above.

I hope it works until a proper Leopard binary is developed.

Original comment by neurignacio on 19 Jul 2009 at 11:09

GoogleCodeExporter commented 9 years ago
Response to neurignacio:

I can confirm that it works in Leopard (10.5.7), with minor graphical glitches, 
and going 
into the playlist menu in settings causes a crash.  Also, the sound won't play 
back in the 
player, but it will rip. I have it blindly ripping the music to my 1TB drive.

Original comment by nickmlee.verizon@gmail.com on 2 Aug 2009 at 8:46

Attachments:

GoogleCodeExporter commented 9 years ago
VLC and MPlayer can play streaming from local address (default 127.0.0.1:8000) 
so
it's possible to listen music while ripping. However, I experienced crashes 
during
the establishment of initial connection.

Original comment by neurignacio on 6 Aug 2009 at 9:17

GoogleCodeExporter commented 9 years ago
If you want, maybe i could help you with osx developing! I have not so many 
experience with developing apps for osx but i'm very interested in learning 
this. So maybe I can have a look at the source code and then we will see if I 
can do anything for you and the project.

Original comment by florian....@gmail.com on 6 Mar 2011 at 9:38