Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
JAMin killed...[Fixed]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Sat Sep 25, 2004 9:27 pm    Post subject: JAMin killed...[Fixed] Reply with quote

Hi,
I seem to be having a little trouble starting jamin 0.9. When I goto start it form a terminal it starts up for about a second then it disapears and says killed in the terminal. I know jack is working because ardour can still connect im not sure why jamin keeps crashing. Any ideas?


Last edited by guitarman on Tue Dec 07, 2004 4:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
Woody
Guru
Guru


Joined: 30 Nov 2002
Posts: 592
Location: Milwaukee

PostPosted: Sat Sep 25, 2004 11:06 pm    Post subject: Reply with quote

It gives no error message? You are starting as the same user
as you started jack?
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Sun Sep 26, 2004 7:06 pm    Post subject: Reply with quote

Yep I start both jack and jamin as the same user. There wasnt any error messages during start it just starts up for about a second then just says killed and nothing else. I tried running both jack and jamin as root to see if maybe it was a problem with permissions but it did the same thing as when I ran it as a normal user.
Back to top
View user's profile Send private message
phildopus
n00b
n00b


Joined: 25 Apr 2003
Posts: 15
Location: Columbia, SC

PostPosted: Tue Sep 28, 2004 10:51 pm    Post subject: Reply with quote

I'm having the same problem.

the status message that jack gives when thie happens is

Code:

subgraph starting at jamin timed out (subgraph_wait_fd=11, status = 0, state = Running)
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Sat Oct 02, 2004 10:17 pm    Post subject: Reply with quote

phildopus wrote:
I'm having the same problem.

the status message that jack gives when thie happens is

Code:

subgraph starting at jamin timed out (subgraph_wait_fd=11, status = 0, state = Running)


Thats what I'm getting in the jack terminal to when it crashes.
Back to top
View user's profile Send private message
Woody
Guru
Guru


Joined: 30 Nov 2002
Posts: 592
Location: Milwaukee

PostPosted: Sat Oct 02, 2004 11:53 pm    Post subject: Reply with quote

That error message is typical of any jack app that dies. It's just jack
taking notice of it not responding and kicking the node from the
graph. So unfortunately it doesn't provide any clues.
Back to top
View user's profile Send private message
FishB8
l33t
l33t


Joined: 17 Mar 2003
Posts: 820

PostPosted: Sun Oct 03, 2004 1:15 am    Post subject: Reply with quote

If this is happening and you are using jack 0.99, you might find your fix here:

https://bugs.gentoo.org/show_bug.cgi?id=65098
_________________
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Sun Oct 03, 2004 8:42 pm    Post subject: Reply with quote

Well tried that and the version in portage seems to already apply the patch. Now I get a segmentation fault instead of "killed" . I also tried running it in dummy mode so it wouldnt try using jack and I still get a segmentation fault.
Code:
matthewmx86@mattsLINUXbox ~ $ jamin -d
jamin 0.9.0
(c) 2003 J. Depner, S. Harris, J. O'Quin, R. Parker and P. Shirkey
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details.
Segmentation fault

Is there any way to see what caused the segfault as I cant see any error messages.
Back to top
View user's profile Send private message
FishB8
l33t
l33t


Joined: 17 Mar 2003
Posts: 820

PostPosted: Fri Oct 08, 2004 4:31 am    Post subject: Reply with quote

Do you perchance already have an instance of Jamin running? i.e. you're trying to run multiple instances? That will cause a segmentation fault with the version in portage. (That problem is fixed in Jamin's CVS though)
_________________
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Sun Oct 10, 2004 6:02 am    Post subject: Reply with quote

Nope, only one jack server running. Ardour can connect prefectly.
Back to top
View user's profile Send private message
peleion
n00b
n00b


Joined: 10 Oct 2004
Posts: 2

PostPosted: Sun Oct 10, 2004 6:53 pm    Post subject: Reply with quote

Same thing happened to me. Simple answer:

emerge =jack-audio-connection-kit-0.98.1

Jamin 0.9 then works perfectly. I commented out the jack 0.99 patch in the ebuild file just to be sure. I'll wait until Jamin is written to jack 0.99 or whatever. Jamin itself rules - I get only about 15% CPU usage on my machine!

Also: Ardour works much better for me by changing the compile flags to -O2 and march=athlon-xp. Anybody interested and I'll post my ebuild.

System: Athlon-xp 1600, 512m ram, Delta 44
Useflags: -march=athlon-xp -O2 -mfpmath=sse -mmmxnow -m3dnow
Back to top
View user's profile Send private message
peleion
n00b
n00b


Joined: 10 Oct 2004
Posts: 2

PostPosted: Sun Oct 10, 2004 7:10 pm    Post subject: Reply with quote

Doh!

I meant CFLAGS, not USE flags.
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Tue Oct 12, 2004 6:17 am    Post subject: Reply with quote

Thanks for the tip, emerging 0.98 right now. I'm just wondering, is there even any big improvements compared to the 0.99 version? I tried commenting out the patch but I still get a segmentation fault.
Back to top
View user's profile Send private message
Woody
Guru
Guru


Joined: 30 Nov 2002
Posts: 592
Location: Milwaukee

PostPosted: Tue Oct 12, 2004 6:28 am    Post subject: Reply with quote

Well I think a better solution would be to write a jamin-cvs ebuild to
stay up to date. As for one version of jack being better? Probably not
for us to notice, but until they stablise it at 1.0 we'l have to live with
keeping up to date. Kind of a bummer, but all these jack native apps
have grown so fast and quickly its not a bad price to pay right now.
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Tue Oct 12, 2004 7:14 am    Post subject: Reply with quote

Tried the cvs version of jamin and I'm still getting a seg fault. Myabe its got something to do with my filesystem or something.
Back to top
View user's profile Send private message
Woody
Guru
Guru


Joined: 30 Nov 2002
Posts: 592
Location: Milwaukee

PostPosted: Tue Oct 12, 2004 7:16 am    Post subject: Reply with quote

I can't think of why that might be. I just haven't been productive enough
musically to need jamin in a while. I'll try this week to see if its running. I
think I'm on the devel mailing list so maybe I can make some posts. Oh,
one thing you might try is to build it with no optimisation flags. Perhaps
it something subtle like that.
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Tue Oct 12, 2004 7:19 am    Post subject: Reply with quote

OK, will try with no optimizations. Thanks for the help.
Edit: Nope still get
Code:
jamin 0.9.0
(c) 2003 J. Depner, S. Harris, J. O'Quin, R. Parker and P. Shirkey
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details.
Segmentation fault
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Tue Oct 12, 2004 7:39 am    Post subject: Reply with quote

I just tried the latest cvs version and now I cant get it to compiled so IDK if the cvs version will work. I get
Code:
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: WARNING: output file `libtool' does not exist
grep: libtool: No such file or directory
sed: can't read libtool: No such file or directory
configure: error: unable to update shared_ext.
Back to top
View user's profile Send private message
FishB8
l33t
l33t


Joined: 17 Mar 2003
Posts: 820

PostPosted: Tue Oct 12, 2004 4:36 pm    Post subject: Reply with quote

Maybe this problem isn't from Jamin but rather Jack. Do you build jack from portage? I always build jack myself just because the options in jack make such a huge difference on how it behaves and I want to make sure it is built with the options I want.

Try this (with 0.99), see if you still have problems, and if so tell us what options you used to build Jack.

Also, don't try to build strait from CVS. The autotools setup is a mess. Rather, use the 0.9.0 tar ball and replace any files in that have been changed in CVS since the release of 0.9.0. That's what I've been doing.
_________________
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Tue Oct 12, 2004 5:38 pm    Post subject: Reply with quote

I'm not sure if this depends on jack or not, but when I try jamin -d I dont think it uses jack at all its supposed to be in dummy mode with no connection to jack. Would having a bad version of jack still make jamin crash in dummy mode?
Back to top
View user's profile Send private message
FishB8
l33t
l33t


Joined: 17 Mar 2003
Posts: 820

PostPosted: Wed Oct 13, 2004 6:50 pm    Post subject: Reply with quote

It could. I think when Jamin builds it uses some of the jack headers, so it could very well have an effect on it even when running in dummy mode.
_________________
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Wed Oct 13, 2004 11:17 pm    Post subject: Reply with quote

Ah ok I see now. tried to compile with jack-audio-connection-kit 0.9.8-r1 but it still segfaults. Also removed the 0.99 patch for it but that also didnt work.
Back to top
View user's profile Send private message
FishB8
l33t
l33t


Joined: 17 Mar 2003
Posts: 820

PostPosted: Thu Oct 14, 2004 3:12 am    Post subject: Reply with quote

what options are you using when you build Jack? For instance, when I configure Jack I use:

Code:
./configure --prefix=/usr --enable-posix-shm --enable-mmx --enable-sse --enable-optimize --enable-timestamps --enable-capabilities --disable-oldtrans --disable-portaudio --disable-coreaudio --disable-oss --with-default-tmpdir=/mnt/ramdrive

_________________
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Back to top
View user's profile Send private message
guitarman
Guru
Guru


Joined: 26 Apr 2004
Posts: 307
Location: http://mattsbox.dyndns.org:81/

PostPosted: Thu Oct 14, 2004 8:27 pm    Post subject: Reply with quote

I just use ./configure I never used any options before to compile it. lately if just been using the jack in portage because everything like ardour and hydrogen still works i'm just having trouble with jamin. ill try seomthing like yours and see if it works. my cflags in make.conf are pretty basic:
Code:
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"

Edit: recompiled everything but still get the segfault.
Code:
# jamin -d
jamin 0.9.0
(c) 2003 J. Depner, S. Harris, J. O'Quin, R. Parker and P. Shirkey
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details.
Segmentation fault
Back to top
View user's profile Send private message
FishB8
l33t
l33t


Joined: 17 Mar 2003
Posts: 820

PostPosted: Fri Oct 15, 2004 12:38 am    Post subject: Reply with quote

Ok. This is getting silly. :P
Do you know how to use gdb?

If not do an emerge:

Code:
emerge gdb


Make sure jamin is the latest from portage (i.e. it includes the Jack 0.99 patch) and then open a terminal and run:

Quote:
gdb --args jamin -d


then type the command "run" and it will run jamin within the debugger. It should immediately segfault. After that type the command "bt" and it will do a backtrace and spit out a bunch of garbage about the stack. You can the give it the "quit" command and gdb will exit. Post all the output from gdb here on the forum and I'll make sure it gets to the people who need to see it.

Just out of curiosity: are you perchance using a gtk theme of some sorts? Sometimes badly coded gtk themes causes segfaults in programs like this.
_________________
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum