Re: Thumbs up for Zinf in Solaris 8 on SPARC architecture

2002-07-25 Thread Anders Nordby

Hello,

On Thu, Jul 25, 2002 at 01:40:17AM -0400, Ed Sweetman wrote:
 I'd just like to clear up something first.   Is this the cvs version of
 zinf or what?

The patches are relative to the Zinf 2.2.0 for Linux tar.gz source
distribution. The packages are also made with this source.

   If it's the cvs version ...heh. well you know.  It's
 likely to change drastically still from the final release that I see
 rapidly approaching.   We're getting the win32 build cleaned up rather
 quickly now and soon we'll have the cdpmo tackled for unix (as soon as i
 get time to really write the thing) and as for cdplayback in other
 OS's.. heh. that's gonna be an adventure.   I just mention this because
 if you're going to make solaris packages of zinf you should know that
 there are serious aspects of zinf that are compilable but not functional
 yet.  

CD playback isn't all that interesting to me, I hope it will be easy to
disable. Anyway, please try to write portable code. :) I hope you are
not intending to turn Zinf over to be a Win32 project mostly?

 Awesome to get some feedback on other OS's though.  :) I'll take a look
 at these patches and merge them in if all checks out.  

Thanks.

Cheers,

-- 
Anders.
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Thumbs up for Zinf in Solaris 8 on SPARC architecture

2002-07-25 Thread Ed Sweetman

On Thu, 2002-07-25 at 03:41, Anders Nordby wrote:
 Hello,
 
 On Thu, Jul 25, 2002 at 01:40:17AM -0400, Ed Sweetman wrote:
  I'd just like to clear up something first.   Is this the cvs version of
  zinf or what?
 
 The patches are relative to the Zinf 2.2.0 for Linux tar.gz source
 distribution. The packages are also made with this source.
 
If it's the cvs version ...heh. well you know.  It's
  likely to change drastically still from the final release that I see
  rapidly approaching.   We're getting the win32 build cleaned up rather
  quickly now and soon we'll have the cdpmo tackled for unix (as soon as i
  get time to really write the thing) and as for cdplayback in other
  OS's.. heh. that's gonna be an adventure.   I just mention this because
  if you're going to make solaris packages of zinf you should know that
  there are serious aspects of zinf that are compilable but not functional
  yet.  
 
 CD playback isn't all that interesting to me, I hope it will be easy to
 disable. Anyway, please try to write portable code. :) I hope you are
 not intending to turn Zinf over to be a Win32 project mostly?

God no.   haha.  But the win32 build is pretty significant since it also
requires the most specific code to the OS.   The point of the CD
playback rewrite is for portability and simply fitting in with the rest
of Zinf.  the zinf cvs has numerous changes over 2.2.0 and most of them
deal with making the code re-usable and less bloated and bugfixes.   
cdplayback is one of the serious non-portable aspects of zinf
...hopefully the new plugin will change that.   

 
  Awesome to get some feedback on other OS's though.  :) I'll take a look
  at these patches and merge them in if all checks out.  
 
 Thanks.
 
 Cheers,
 
 -- 
 Anders.
 ___
 [EMAIL PROTECTED]
 http://www.freeamp.org/mailman/listinfo/freeamp-dev


___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Thumbs up for Zinf in Solaris 8 on SPARC architecture

2002-07-24 Thread Anders Nordby

Hello,

From to time I have played a little with trying to make Freeamp work in
Solaris, as I use Solaris quite much on the desktop. Today I finally had
some success. At least it runs without crashing, and I can stream files
+ play MP3s from disk. With /usr/dt/bin/sdtaudiocontrol, I can select
whether I want to use the internal speaker, the internal sound card, or
both. It seems stable too!

Test setup:

* Sun Blade 100 running Solaris 8 10/01 with GNOME 2 beta 1 from
www.sun.com/software.
* Gcc 3.1, glib 1.2.10, gtk 1.2.10, gdkpixbuf 0.11.0 and freetype 1.3.1
from sunfreeware.com.

Packages made:

* http://anders.fix.no/solaris/pkg/sol8/sparc32-64/zinf-2.2.0-sol8-sparc64-local.gz
* 
http://anders.fix.no/solaris/pkg/sol8/sparc32-64/musicbrainz-1.1.0-sol8-sparc64-local.gz

Patches used:

* Attached.

Screenshot of player in use:

* http://anders.fix.no/test/grab_solaris8+gnome2+zinf.png

If there is some interest in Solaris support in the CVS repository, I'll
consider trying to maintain it.

Thanks for making such a nice sound player - the best opensource one
IMHO!

Cheers,

-- 
Anders.


--- lib/http/src/Http.cpp.orig  Thu Jun 20 08:40:07 2002
+++ lib/http/src/Http.cpp   Thu Jul 25 00:19:13 2002
 -42,6 +42,10 
 #include unistd.h
 #endif
 
+#if defined(solaris)
+#define INADDR_NONE 0x
+#endif
+
 #if defined(unix) || defined(__BEOS__) || defined(_BSD_SOURCE)
 #define SOCKET int
 #endif


--- ui/musicbrowser/unix/src/fileselector.cpp.orig  Thu Jun 20 08:41:53 2002
+++ ui/musicbrowser/unix/src/fileselector.cpp   Thu Jul 25 01:23:32 2002
 -34,6 +34,12 
 #include utility.h
 #include preferences.h
 
+#if defined(solaris)
+#include sys/types.h
+#include sys/param.h  /* for MAXPATHLEN */
+#include sys/stat.h
+#endif
+
 char old_path[PATH_MAX]=/\0;
 
 FileSelector::FileSelector(FAContext *context,const char *windowtitle)
 -68,11 +74,19 
 {
 DIR *dir=NULL;
 struct dirent *current=NULL;
+#if defined(solaris)
+struct stat *s;
+#endif
 if ((dir = opendir(subdirs))!=NULL){
 current = readdir(dir);
 current = readdir(dir);
 while((current=readdir(dir))!=NULL){
+#if defined(solaris)
+   stat(subdirs, s);
+if (s-st_mode  S_IFDIR) {
+#else
 if(current-d_type==DT_DIR){
+#endif
char temp_subdir[PATH_MAX];
strncpy(temp_subdir, subdirs,PATH_MAX);
strcat(temp_subdir,/);


--- ui/zinf/unix/src/GTKFileSelector.cpp.orig   Thu Jun 20 08:42:46 2002
+++ ui/zinf/unix/src/GTKFileSelector.cppThu Jul 25 01:37:15 2002
 -25,6 +25,12 
 #include unistd.h
 #include dirent.h
 
+#if defined(solaris)
+#include sys/types.h
+#include sys/param.h  /* for MAXPATHLEN */
+#include sys/stat.h
+#endif
+
 char old_path[PATH_MAX];
 
 GTKFileSelector::GTKFileSelector(FAContext *context,const char *windowtitle)
 -59,11 +65,19 
 {  
 DIR *dir=NULL;
 struct dirent *current=NULL;
+#if defined(solaris)
+struct stat *s;
+#endif
 if ((dir = opendir(subdirs))!=NULL){
 current = readdir(dir);
 current = readdir(dir); 
 while((current=readdir(dir))!=NULL){ 
+#if defined(solaris)
+   stat(subdirs, s);
+   if (s-st_mode  S_IFDIR) {
+#else
 if(current-d_type==DT_DIR){  
+#endif
 char temp_subdir[PATH_MAX];
 strncpy(temp_subdir, subdirs,PATH_MAX);
 strcat(temp_subdir,/);



Re: Thumbs up for Zinf in Solaris 8 on SPARC architecture

2002-07-24 Thread Ed Sweetman

I'd just like to clear up something first.   Is this the cvs version of
zinf or what?   If it's the cvs version ...heh. well you know.  It's
likely to change drastically still from the final release that I see
rapidly approaching.   We're getting the win32 build cleaned up rather
quickly now and soon we'll have the cdpmo tackled for unix (as soon as i
get time to really write the thing) and as for cdplayback in other
OS's.. heh. that's gonna be an adventure.   I just mention this because
if you're going to make solaris packages of zinf you should know that
there are serious aspects of zinf that are compilable but not functional
yet.  


Awesome to get some feedback on other OS's though.  :) I'll take a look
at these patches and merge them in if all checks out.  

On Wed, 2002-07-24 at 20:35, Anders Nordby wrote:
 Hello,
 
 From to time I have played a little with trying to make Freeamp work in
 Solaris, as I use Solaris quite much on the desktop. Today I finally had
 some success. At least it runs without crashing, and I can stream files
 + play MP3s from disk. With /usr/dt/bin/sdtaudiocontrol, I can select
 whether I want to use the internal speaker, the internal sound card, or
 both. It seems stable too!
 
 Test setup:
 
 * Sun Blade 100 running Solaris 8 10/01 with GNOME 2 beta 1 from
 www.sun.com/software.
 * Gcc 3.1, glib 1.2.10, gtk 1.2.10, gdkpixbuf 0.11.0 and freetype 1.3.1
 from sunfreeware.com.
 
 Packages made:
 
 * http://anders.fix.no/solaris/pkg/sol8/sparc32-64/zinf-2.2.0-sol8-sparc64-local.gz
 * 
http://anders.fix.no/solaris/pkg/sol8/sparc32-64/musicbrainz-1.1.0-sol8-sparc64-local.gz
 
 Patches used:
 
 * Attached.
 
 Screenshot of player in use:
 
 * http://anders.fix.no/test/grab_solaris8+gnome2+zinf.png
 
 If there is some interest in Solaris support in the CVS repository, I'll
 consider trying to maintain it.
 
 Thanks for making such a nice sound player - the best opensource one
 IMHO!
 
 Cheers,
 
 -- 
 Anders.
 


___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Error compiling on SOlaris 2.7

2000-10-06 Thread Steve Kennedy

I'm having a problem compiling freeamp on Solaris 2.7.

c++ -I. -I. -I./config -DUNIX_LIBDIR=\"/usr/local/lib\" -Dsolaris -I. -I./lib/gd
bm -I./base/include -I./config -I./io/include -I./ui/include -I./lmc/include -I.
/base/unix/include -I./base/unix/solaris/include -I./io/soundcard/unix/solaris/i
nclude -I./lmc/xingmp3/include -I./lmc/cd/include -I./plm/portable/pmp300/sba -I
./lib/xml/include -I./lib/zlib/include -I./lib/unzip/include -I./io/cd/unix/incl
ude -I./base/aps -I./io/wavout/include -I./ui/lcd/include -I./ui/irman/include -
I./lib/http/include -I./io/signature/include -I./lmc/vorbis/include -O2 -fpermis
sive  -D_REENTRANT-c base/aps/apsinterface.cpp -o base/aps/apsinterface.o
base/aps/apsinterface.cpp:56: musicbrainz/mb_c.h: No such file or directory
gmake: *** [base/aps/apsinterface.o] Error 1

I also had to remove an include (I think fstream.h) from a file
as it caused a confilct in a function (I'm sorry about being vague it was
late night a couple of days ago).

Steve

-- 
NetTek Ltd  tel +44-(0)20 7483 1169  fax +44-(0)20 7483 2455
Flat 2,43 Howitt Road,   Belsize Park,London NW3 4LU
mobile 07775 755503  Epage [EMAIL PROTECTED] [body only]
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: solaris shared library/plugin problem?

2000-10-05 Thread Erik van der Knaap

Isaac Richards wrote:
 
 Can't ask you to upgrade to a newer version of solaris, can I? =)
 
 Isaac
 
No :-, I want to upgrade but the upgrade to a newer solaris version is organised by 
our organisation. And they are
slooow. When do we get a newer version? Unkown.

Bye,
Erik
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Solaris version

2000-08-10 Thread rob

On 10 Aug, Steve Kennedy wrote:
 What the cvs command to get the Solaris version, I downloaded
 the latest beta from the Freeamp site, but this has a few
 problems.

That's because we don't have Solaris support. Unless you're going to fix
some problems or volunteer to maintain the Solaris port, please don't
keep pointing out that FreeAmp has problems on Solaris. We know!


--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Solaris build error (was Re: freeamp UI MouseMove)

2000-07-11 Thread Hiromasa Kato

Steve Kennedy wrote:
 I changed the source files above (only adding the int32 stuff)
snip
 io/soundcard/unix/solaris/src/soundcardpmo.cpp: In function `class PhysicalMedia
 Output * Initialize(FAContext *)':
 io/soundcard/unix/solaris/src/soundcardpmo.cpp:50: cannot allocate an object of
 type `SoundCardPMO'
 io/soundcard/unix/solaris/src/soundcardpmo.cpp:50:   since the following virtual
  functions are abstract:
 io/include/pmo.h:74:void PhysicalMediaOutput::GetVolume(int32 , int32 )
 io/include/pmo.h:75:void PhysicalMediaOutput::SetVolume(int, int)
 io/soundcard/unix/solaris/src/soundcardpmo.cpp: At top level:
 io/soundcard/unix/solaris/src/soundcardpmo.cpp:103: prototype for `void SoundCar
 dPMO::SetVolume(int, int)' does not match any in class `SoundCardPMO'
 io/soundcard/unix/solaris/include/soundcardpmo.h:68: candidate is: void SoundCar
 dPMO::SetVolume(int)
 io/soundcard/unix/solaris/src/soundcardpmo.cpp: In method `void SoundCardPMO::Se
 tVolume(int, int)':
 io/soundcard/unix/solaris/src/soundcardpmo.cpp:108: `v' undeclared (first use th
 is function)
 io/soundcard/unix/solaris/src/soundcardpmo.cpp:108: (Each undeclared identifier
 is reported only once
 io/soundcard/unix/solaris/src/soundcardpmo.cpp:108: for each function it appears
  in.)
 io/soundcard/unix/solaris/src/soundcardpmo.cpp: At top level:
 io/soundcard/unix/solaris/src/soundcardpmo.cpp:115: prototype for `void SoundCar
 dPMO::GetVolume(int32 , int32 )' does not match any in class `SoundCardPMO'
 io/soundcard/unix/solaris/include/soundcardpmo.h:67: candidate is: int32 SoundCa
 rdPMO::GetVolume()
 io/soundcard/unix/solaris/src/soundcardpmo.cpp: In method `void SoundCardPMO::Ge
 tVolume(int32 , int32 )':
 io/soundcard/unix/solaris/src/soundcardpmo.cpp:125: `return' with a value, in fu
 nction returning void
 gmake[1]: *** [io/soundcard/unix/solaris/src/soundcardpmo.o] Error 1
 gmake[1]: Leaving directory `/home/steve/freeamp'
 gmake: *** [plugins-cc] Error 2

You also need to update the header file
io/soundcard/unix/solaris/include/soundcardpmo.h, too.

I don't know how you control stereo balance on solaris.
Completely untested, but what about:

diff -r1.7 soundcardpmo.h
67,68c67,68
   int32  GetVolume(void);
   void   SetVolume(int32);
---
   void   GetVolume(int32 left, int32 right);
   void   SetVolume(int32 left, int32 right);

diff -r1.18 soundcardpmo.cpp
102c102
 void SoundCardPMO::SetPrefInt32(kVolumePref, int32 v)
---
 void SoundCardPMO::SetVolume(int32 left, int32 right)
108c108
 ainfo.play.gain = (v*255)/100;
---
 ainfo.play.gain = ((left + right)/2*255)/100;
114c114
 int32 SoundCardPMO::GetPrefInt32(kVolumePref, )
---
 void SoundCardPMO::GetVolume(int32 left, int32 right)
125c125
   return volume;
---
   left = right = volume;

--
Hiromasa Kato
[EMAIL PROTECTED]
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Compile problem on Solaris

2000-03-17 Thread Steve Kennedy

On Fri, Mar 17, 2000 at 02:13:50AM +0100, Björn Wingman wrote:

  base/src/downloadmanager.cpp:724: passing `const sockaddr *' as argument 2 of `c
  onnect(int, sockaddr *, int)' discards qualifiers
  gmake: *** [base/src/downloadmanager.o] Error 1
 Hmm...it compiles nicely for me, no warnings at all on my:
 SunOS 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-5_10
 with gcc 2.95.2.

I compiled on Sun Sparc20, Solaris 2.6, gcc 2.95.1

Steve

-- 
NetTek Ltd  tel +44-(0)20 7483 1169  fax +44-(0)20 7483 2455
Flat 2,43 Howitt Road,   Belsize Park,London NW3 4LU
mobile 07775 755503  Epage [EMAIL PROTECTED] [body only]
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Solaris!

2000-03-16 Thread Mayhem Chaos Coordinator

 Running a dual P-III 600 with SBLive, work fine with FreeAmp, however
 the system does seem to go unstable after a while, but I've been told
 that this is due to the number of cards I've got in the system (and it
 loses interrupts of something, ps NT4 SP6+).

 Steve

You're a Solaris guy, right? If you (and any Solaris folks) could please try
to check out the solaris-port-branch (cvs co -rsolaris-port-branch) and see
if you can compile/use Freeamp on Solaris? Tom Dilligan just completed the
port and we'd both like some feedback on it.

--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert

___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Compile problem on Solaris

2000-03-16 Thread Steve Kennedy

As requested: -

c++ -I. -I. -I./config -DUNIX_LIBDIR=\"/usr/local/lib\" -Dsolaris -I./lib/gdbm -
I./base/include -Iconfig -I./io/include -I./ui/include -I./lmc/include -I./base/
unix/include -I./base/unix/solaris/include -I./io/soundcard/unix/solaris/include
 -I./ui/lcd/include -I./ui/irman/include -I./lmc/xingmp3/include -I./lmc/cd/incl
ude -I./plm/portable/pmp300/sba -I./lib/xml/include -I./lib/zlib/include -I./io/
cd/include -I./io/cd/unix/include -Wall -Wno-return-type -g -O2 -D_REENTRANT
-c base/src/downloadmanager.cpp -o base/src/downloadmanager.o
base/src/downloadmanager.cpp: In method `enum Error DownloadManager::Download(Do
wnloadItem *)':
base/src/downloadmanager.cpp:724: passing `const sockaddr *' as argument 2 of `c
onnect(int, sockaddr *, int)' discards qualifiers
gmake: *** [base/src/downloadmanager.o] Error 1

Steve

-- 
NetTek Ltd  tel +44-(0)20 7483 1169  fax +44-(0)20 7483 2455
Flat 2,43 Howitt Road,   Belsize Park,London NW3 4LU
mobile 07775 755503  Epage [EMAIL PROTECTED] [body only]
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



Re: Compile problem on Solaris

2000-03-16 Thread Björn Wingman

 base/src/downloadmanager.cpp:724: passing `const sockaddr *' as argument 2 of `c
 onnect(int, sockaddr *, int)' discards qualifiers
 gmake: *** [base/src/downloadmanager.o] Error 1

Hmm...it compiles nicely for me, no warnings at all on my:

SunOS 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-5_10

with gcc 2.95.2.

However, when starting freeamp, I still get this:




FreeAmp has been compiled with mutex debugging enabled.
To dump mutex info: kill -SIGUSR1 620
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/cd.lmc: symbol Clear__10PullBuffer: referenced 
symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/xingmp3.lmc: symbol Clear__10PullBuffer: 
referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/httpinput.pmi: symbol kUseProxyPref: referenced 
symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/localfileinput.pmi: symbol Clear__10PullBuffer: 
referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/obsinput.pmi: symbol kAlternateNICAddressPref: 
referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/cd.pmo: symbol kPreBufferPref: referenced symbol 
not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/soundcard.pmo: symbol kPreBufferPref: referenced 
symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/freeampcmd.ui: symbol 
SetShuffleMode__15PlaylistManagerb: referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/irman.ui: symbol 
SetCurrentIndex__15PlaylistManagerUi: referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/lcd.ui: symbol Release__5Mutex: referenced 
symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/mpg123.ui: symbol 
SetShuffleMode__15PlaylistManagerb: referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/ncurses.ui: symbol 
SetShuffleMode__15PlaylistManagerb: referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/download.ui: symbol 
CancelDownload__15DownloadManagerP12DownloadItemb: referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/freeamp.ui: symbol kALSADevicePref: referenced 
symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/musicbrowser.ui: symbol kWelcomePref: referenced 
symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/m3u.plf: symbol URLToFilePath__FPCcPcPUi: 
referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/pls.plf: symbol URLToFilePath__FPCcPcPUi: 
referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/cddb.mdf: symbol kDatabaseDirPref: referenced 
symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/id3v1.mdf: symbol URLToFilePath__FPCcPcPUi: 
referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/id3v2.mdf: symbol URLToFilePath__FPCcPcPUi: 
referenced symbol not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/misc.mdf: symbol __8Registry: referenced symbol 
not found
ld.so.1: freeamp: fatal: relocation error: file 
/home/bjowi/local/lib/freeamp/plugins/rmp.dlf: symbol URLToFilePath__FPCcPcPUi: 
referenced symbol not found
No UI plugin in '.:~/.freeamp:/home/bjowi/local/lib/freeamp' matched 'plugins/' or 
'plugins/.ui.'
FreeAmp will quit.


/Björn Wingman
___
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev



(solaris) hang in theme.ui playlist editor

1999-10-11 Thread Tom Spindler

This is after opening a playlist. It whirs quite a bit, and then hangs
here in this gigantic backtrace:

Thread 4 (LWP4):
#0  0xff1179b0 in ___lwp_mutex_lock () from /usr/lib/libc.so.1
#1  0xff03c674 in _mutex_lwp_lock () from /usr/lib/libthread.so.1
#2  0xff03c370 in _cmutex_lock () from /usr/lib/libthread.so.1
#3  0xfe3befb4 in gdk_threads_enter () at gdk.c:1415
#4  0xfe5c2544 in MusicBrowserUI::LoadPlaylist (this=0x16ca38,
path=0x16cb90 "/usr/local/src/fa15/biteme.m3u")
at ui/musicbrowser/unix/musicbrowser.cpp:312
#5  0xfe5bfeac in open_list () at ui/musicbrowser/unix/gtkmusicbrowser.cpp:765
#6  0xfe4b4f28 in gtk_item_factory_callback_marshal (widget=0x0,
func_data=0x191d00) at gtkitemfactory.c:258
#7  0xfe4cb200 in gtk_marshal_NONE__NONE (object=0x18fce8,
func=0xfe4b4f00 gtk_item_factory_callback_marshal, func_data=0x191d00,
args=0xfde7ee20) at gtkmarshal.c:312
#8  0xfe50cb30 in gtk_handlers_run (handlers=0x183b10, signal=0xfde7ed68,
object=0x18fce8, params=0xfde7ee20, after=0) at gtksignal.c:1909
#9  0xfe50ba0c in gtk_signal_real_emit (object=0x18fce8, signal_id=71,
params=0xfde7ee20) at gtksignal.c:1469
#10 0xfe508aac in gtk_signal_emit (object=0x18fce8, signal_id=71)
at gtksignal.c:552
#11 0xfe553630 in gtk_widget_activate (widget=0x1) at gtkwidget.c:2869
#12 0xfe4d61c8 in gtk_menu_shell_activate_item (menu_shell=0x191970,
menu_item=0x18fce8, force_deactivate=1) at gtkmenushell.c:839
#13 0xfe4d4cc8 in gtk_menu_shell_button_release (widget=0x191970,
event=0x184a78) at gtkmenushell.c:485
#14 0xfe4caf90 in gtk_marshal_BOOL__POINTER (object=0x191970,
func=0xfe4d4a30 gtk_menu_shell_button_release, func_data=0x0,
args=0xfde7f460) at gtkmarshal.c:28
#15 0xfe50ba54 in gtk_signal_real_emit (object=0x191970, signal_id=21,
params=0xfde7f460) at gtksignal.c:1484
#16 0xfe508aac in gtk_signal_emit (object=0x191970, signal_id=21)
at gtksignal.c:552
#17 0xfe553390 in gtk_widget_event (widget=0x191970, event=0x184a78)
at gtkwidget.c:2843
#18 0xfe4caf1c in gtk_propagate_event (widget=0x191970, event=0x184a78)
at gtkmain.c:1313
#19 0xfe4c9d54 in gtk_main_do_event (event=0x184a78) at gtkmain.c:770
#20 0xfe3ccd7c in gdk_event_dispatch (source_data=0x184a78,
current_time=0xfde7fa30, user_data=0x0) at gdkevents.c:2129
#21 0xfe326fe8 in g_main_dispatch (current_time=0xfde7fa30) at gmain.c:656
#22 0xfe327800 in g_main_iterate (block=-30096544, dispatch=1) at gmain.c:874
#23 0xfe327a10 in g_main_run (loop=0x174b78) at gmain.c:932
#24 0xfe4c9444 in gtk_main () at gtkmain.c:476
#25 0xfe5c1804 in MusicBrowserUI::GTKEventService (this=0x16ca38)
at ui/musicbrowser/unix/musicbrowser.cpp:99
#26 0xfe5c16c4 in MusicBrowserUI::gtkServiceFunction (p=0x16ca38)
at ui/musicbrowser/unix/musicbrowser.cpp:75
#27 0x48e94 in solarisThread::InternalThreadFunction (this=0x0)
at base/unix/solaris/src/solaristhread.cpp:78
#28 0x48e6c in solarisThread::internalThreadFunction (arg=0x9bdf0)
at base/unix/solaris/src/solaristhread.cpp:64

Thread 1 (LWP1):
#0  0xff117a74 in _lwp_sema_wait () from /usr/lib/libc.so.1
#1  0xff03b04c in _park () from /usr/lib/libthread.so.1
#2  0xff03ad40 in _swtch () from /usr/lib/libthread.so.1
#3  0xff039654 in cond_timedwait () from /usr/lib/libthread.so.1
#4  0xff049838 in sleep () from /usr/lib/libthread.so.1
#5  0xfe251554 in GTKWindow::Run (this=0x17c220, oPos=@0x400)
at ui/theme/unix/src/GTKWindow.cpp:156
#6  0xfe224e1c in Theme::Run (this=0x17c17c, oWindowPos=@0x17c200)
at ui/theme/src/Theme.cpp:339
#7  0xfe2438c8 in FreeAmpTheme::WorkerThread (this=0x17c178)
at ui/theme/src/FreeAmpTheme.cpp:106
#8  0xfe2439ac in WorkerThreadStart (arg=0x17c178)
at ui/theme/src/FreeAmpTheme.cpp:119
#9  0x48e94 in solarisThread::InternalThreadFunction (this=0x0)
at base/unix/solaris/src/solaristhread.cpp:78
#10 0x48e6c in solarisThread::internalThreadFunction (arg=0x17e6d0)
at base/unix/solaris/src/solaristhread.cpp:64
#0  0xff117a74 in _lwp_sema_wait () from /usr/lib/libc.so.1

(the last line is wacky because I attached with gdb after the fact.
At least, I hope that's the reason.)



Re: extreme solaris wackiness

1999-09-21 Thread robert

On 20 Sep, Tom Spindler wrote:
 Well, I think I'm getting closer to finding what's causing the
 Solaris strangeness; for one, it appears that sometimes the LWP
 or Reader gets stuck, and so WasteTime() gets called an awful
 lot. A side effect seems to be the creation of several hundred
 threads. :)

Wow -- there is some *strange* shit going on over there. Have you taken
a look at the solaris implementation of all the Thread/Mutex/Semaphore
stuff?

--ruaok Freezerburn! All else is only icing. -- Soul Coughing

Robert Kaye -- [EMAIL PROTECTED]  http://moon.eorbit.net/~robert



extreme solaris wackiness

1999-09-20 Thread Tom Spindler

Well, I think I'm getting closer to finding what's causing the
Solaris strangeness; for one, it appears that sometimes the LWP
or Reader gets stuck, and so WasteTime() gets called an awful
lot. A side effect seems to be the creation of several hundred
threads. :)

(gdb) info threads
  640 Thread 511  0xff04b7dc in _restorefsr ()
   from /usr/lib/libthread.so.1
  639 Thread 510  0xff04b7dc in _restorefsr ()
   from /usr/lib/libthread.so.1
and so on.



Re: more solaris errors.

1999-08-31 Thread Mark B. Elrod

try to update again... you might have checked out in the middle of one of my
check ins.

elrod

Timothy Ball wrote:

 Still building on solaris (I'm depermined to get the compile to work...
 If it play's then I'm just extra lucky :)) I get the error that:
 plm/portable/pmp300/pmp300.cpp:695: `kError_FeatureNotSupported'
 undeclared
 I've grepped areound and can't seem to find it... Anyone know what
 happens if I just define it as (-1)?

 --timball