Gentoo - building and removing Jack from CVS kills Jack from portage

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Gentoo - building and removing Jack from CVS kills Jack from portage

LGTrader
Hi,
   I have a test machine that has had Jack from portage on it for
probably 6 months with no problems. This morning I wanted to try the
CVS version of Jack, so I downloaded, built it and lt it install in
/usr/local/bin. It worked fine. I then did a make uninstall on the CVS
version, saw that it was removed from /usr/local/bin, and then
re-emerged Jack from portage. It no longer runs but rather it dies
with a segfault. Nothing I've been able to do yet fixes it.

mark@dragonfly ~ $ jackd -d alsa -d hw
jackd 0.99.0
Copyright 2001-2003 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

Segmentation fault
mark@dragonfly ~ $

I tried to build Jack from portage with debug info but it doesn't seem
to be working. The executable file gets larger, like the debug info is
in there, but the back trace doesn't show much:

Starting program: /usr/bin/jackd -d alsa -d hw
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1209563472 (LWP 21048)]
jackd: wait for startup process exit failed
jackd 0.99.0
Copyright 2001-2003 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1209563472 (LWP 21048)]
0x0804ed6e in ?? ()
(gdb) bt
#0  0x0804ed6e in ?? ()
#1  0x08066b18 in ?? ()
#2  0x0000a4d8 in ?? ()
#3  0x08066b18 in ?? ()
#4  0x00000000 in ?? ()
#5  0x080485a0 in ?? ()
#6  0x08059618 in ?? ()
#7  0x08066a98 in ?? ()
#8  0x000001f4 in ?? ()
#9  0x000001f4 in ?? ()
#10 0x0805df08 in ?? ()
#11 0x0805df08 in ?? ()
#12 0x00000003 in ?? ()
#13 0xbffff508 in ?? ()
#14 0xb7ff61b0 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#15 0x0804a7a8 in ?? ()
#16 0x00000000 in ?? ()
#17 0x0000000a in ?? ()
#18 0x00000001 in ?? ()
#19 0x00000000 in ?? ()
#20 0x00000000 in ?? ()
#21 0x00000000 in ?? ()
#22 0x000001f4 in ?? ()
---Type <return> to continue, or q <return> to quit---

dragonfly ~ # ldd /usr/bin/jackd
        linux-gate.so.1 =>  (0xffffe000)
        libjack.so.0 => /usr/lib/libjack.so.0 (0xb7fc7000)
        libcap.so.1 => /lib/libcap.so.1 (0xb7fc4000)
        libm.so.6 => /lib/libm.so.6 (0xb7fa2000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7f90000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7f8c000)
        libc.so.6 => /lib/libc.so.6 (0xb7e7a000)
        /lib/ld-linux.so.2 (0xb7feb000)
dragonfly ~ #

The strace log is interesting, but probably only because I've not seen
one before. It's attached.

Can anyone suggest to me how to fix this so that the portage version
will work again?

Thanks,
Mark

strace.log.bz2 (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Gentoo - building and removing Jack from CVS kills Jack from portage

Tim Blechmann
> I tried to build Jack from portage with debug info but it doesn't seem
> to be working. The executable file gets larger, like the debug info is
> in there, but the back trace doesn't show much:
possibly you'll have to emerge jack with FEATURES="nostrip" to prevent
portage from stripping the symbols from the binaries ...

cheers ... tim

--
mailto:[hidden email]    ICQ: 96771783
http://www.mokabar.tk

latest mp3: kMW.mp3
http://mattin.org/mp3.html

latest cd: Goh Lee Kwang & Tim Blechmann: Drone
http://www.geocities.com/gohleekwangtimblechmannduo/

After one look at this planet any visitor from outer space
would say "I want to see the manager."
                                      William S. Burroughs


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gentoo - building and removing Jack from CVS kills Jack from portage

LGTrader
Tim,
   I used FEATURE="nostrip" while building it and had debug in
/etc/portage/package.use and added -ggdb3 in /etc/make.conf. Still I
got nothing more than shown.

Thanks,
Mark

On 7/16/05, Tim Blechmann <[hidden email]> wrote:

> > I tried to build Jack from portage with debug info but it doesn't seem
> > to be working. The executable file gets larger, like the debug info is
> > in there, but the back trace doesn't show much:
> possibly you'll have to emerge jack with FEATURES="nostrip" to prevent
> portage from stripping the symbols from the binaries ...
>
> cheers ... tim
>
> --
> mailto:[hidden email]    ICQ: 96771783
> http://www.mokabar.tk
>
> latest mp3: kMW.mp3
> http://mattin.org/mp3.html
>
> latest cd: Goh Lee Kwang & Tim Blechmann: Drone
> http://www.geocities.com/gohleekwangtimblechmannduo/
>
> After one look at this planet any visitor from outer space
> would say "I want to see the manager."
>                                       William S. Burroughs
>


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. <a href="http://ads.osdn.com/?ad_idt77&alloc_id492&op=click">http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gentoo - building and removing Jack from CVS kills Jack from portage

Tim Blechmann
>    I used FEATURE="nostrip" while building it and had debug in
> /etc/portage/package.use and added -ggdb3 in /etc/make.conf. Still I
> got nothing more than shown.
after having a look at the strace log:
is tmpfs mounted to /dev/shm?
have you been emerging jack with USE=jack-tmpfs?

cheers ... tim

--
mailto:[hidden email]    ICQ: 96771783
http://www.mokabar.tk

latest mp3: kMW.mp3
http://mattin.org/mp3.html

latest cd: Goh Lee Kwang & Tim Blechmann: Drone
http://www.geocities.com/gohleekwangtimblechmannduo/

After one look at this planet any visitor from outer space
would say "I want to see the manager."
                                      William S. Burroughs


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gentoo - building and removing Jack from CVS kills Jack from portage

LGTrader
Tim,
   Yes, I believe so. Here's the emerge instruction:

dragonfly ~ # FEATURES="nostrip" emerge -pv jack-audio-connection-kit

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-sound/jack-audio-connection-kit-0.99.0-r3  +alsa
(-altivec) +caps +debug -doc +jack-tmpfs +oss -portaudio 0 kB

Total size of downloads: 0 kB
dragonfly ~ #

Note that for this build I also removed the -fomit-frame-pointer when
I added the -ggdb3 flag. The first line is my normal CFLAGS, while the
second is what I used to try and get a good backtrace, but it didn't
work.

#CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CFLAGS="-O2 -march=pentium4 -pipe -ggdb3"

Here's the entry in /etc/fstab

none                    /dev/shm        tmpfs           defaults      
        0 0

and the current state of things:

dragonfly ~ # df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda8              9621848   3089572   6043500  34% /
udev                    249728      2796    246932   2% /dev
/dev/hda2             50394996  46306272   1528768  97% /Musiclib
/dev/hda3             30233928   2097676  26600440   8% /home
/dev/hda9              9621848   2184176   6948896  24% /usr/portage
/dev/hda10             2893628   1697884   1048752  62% /var
/dev/hda11            36827144  26375604   8580776  76% /TVstorage
none                    249728         0    249728   0% /dev/shm
dragonfly ~ #

Cheers,
Mark

Thanks,
Mark


On 7/16/05, Tim Blechmann <[hidden email]> wrote:

> >    I used FEATURE="nostrip" while building it and had debug in
> > /etc/portage/package.use and added -ggdb3 in /etc/make.conf. Still I
> > got nothing more than shown.
> after having a look at the strace log:
> is tmpfs mounted to /dev/shm?
> have you been emerging jack with USE=jack-tmpfs?
>
> cheers ... tim
>
> --
> mailto:[hidden email]    ICQ: 96771783
> http://www.mokabar.tk
>
> latest mp3: kMW.mp3
> http://mattin.org/mp3.html
>
> latest cd: Goh Lee Kwang & Tim Blechmann: Drone
> http://www.geocities.com/gohleekwangtimblechmannduo/
>
> After one look at this planet any visitor from outer space
> would say "I want to see the manager."
>                                       William S. Burroughs
>


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. <a href="http://ads.osdn.com/?ad_idt77&alloc_id492&op=click">http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gentoo - building and removing Jack from CVS kills Jack from portage

Tim Blechmann
hi mark ...

> Calculating dependencies ...done!
> [ebuild   R   ] media-sound/jack-audio-connection-kit-0.99.0-r3  +alsa
> (-altivec) +caps +debug -doc +jack-tmpfs +oss -portaudio 0 kB
>
> Total size of downloads: 0 kB
> dragonfly ~ #
>

well, for the backtrace ... caps implies stripped-jackd ... so no
debugging symbols ... :-/

for the crash ... don't have the 0.99.0-r3 ebuild on my machine, but i'm
not sure, but maybe the gentoo guys messed with the ebuild lately ...
could you try the latest stable ebuild? (about a week ago it was -r1)

hope this helps ... tim

--
mailto:[hidden email]    ICQ: 96771783
http://www.mokabar.tk

latest mp3: kMW.mp3
http://mattin.org/mp3.html

latest cd: Goh Lee Kwang & Tim Blechmann: Drone
http://www.geocities.com/gohleekwangtimblechmannduo/

After one look at this planet any visitor from outer space
would say "I want to see the manager."
                                      William S. Burroughs


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gentoo - building and removing Jack from CVS kills Jack from portage

LGTrader
Tim,
   I'll try anything! ;-)

   Do you want me to drop the +caps? This is what I get if I choose
non-~x86 and -caps:


dragonfly ~ # FEATURES="nostrip" emerge -pv jack-audio-connection-kit

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     UD] media-sound/jack-audio-connection-kit-0.99.0-r1
[0.99.0-r3] +alsa (-altivec) -caps* +debug -doc +jack-tmpfs +oss
-portaudio 0 kB

Total size of downloads: 0 kB
dragonfly ~ #
Cheers,
Mark

On 7/16/05, Tim Blechmann <[hidden email]> wrote:

> hi mark ...
>
> > Calculating dependencies ...done!
> > [ebuild   R   ] media-sound/jack-audio-connection-kit-0.99.0-r3  +alsa
> > (-altivec) +caps +debug -doc +jack-tmpfs +oss -portaudio 0 kB
> >
> > Total size of downloads: 0 kB
> > dragonfly ~ #
> >
>
> well, for the backtrace ... caps implies stripped-jackd ... so no
> debugging symbols ... :-/
>
> for the crash ... don't have the 0.99.0-r3 ebuild on my machine, but i'm
> not sure, but maybe the gentoo guys messed with the ebuild lately ...
> could you try the latest stable ebuild? (about a week ago it was -r1)
>
> hope this helps ... tim
>
> --
> mailto:[hidden email]    ICQ: 96771783
> http://www.mokabar.tk
>
> latest mp3: kMW.mp3
> http://mattin.org/mp3.html
>
> latest cd: Goh Lee Kwang & Tim Blechmann: Drone
> http://www.geocities.com/gohleekwangtimblechmannduo/
>
> After one look at this planet any visitor from outer space
> would say "I want to see the manager."
>                                       William S. Burroughs
>


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. <a href="http://ads.osdn.com/?ad_idt77&alloc_id492&op=click">http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gentoo - building and removing Jack from CVS kills Jack from portage

Tim Blechmann
>    I'll try anything! ;-)
>
>    Do you want me to drop the +caps? This is what I get if I choose
> non-~x86 and -caps:
i'd give it a try ...

first with -caps and ~x86 to get a backtrace, though ...

cheers ... tim

--
mailto:[hidden email]    ICQ: 96771783
http://www.mokabar.tk

latest mp3: kMW.mp3
http://mattin.org/mp3.html

latest cd: Goh Lee Kwang & Tim Blechmann: Drone
http://www.geocities.com/gohleekwangtimblechmannduo/

After one look at this planet any visitor from outer space
would say "I want to see the manager."
                                      William S. Burroughs


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Jackit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jackit-devel