Previously Florian Ragwitz wrote:
> On Wed, May 02, 2007 at 10:37:06PM +0200, Wichert Akkerman wrote:
> > Previously Florian Ragwitz wrote:
> > > On Thu, Apr 19, 2007 at 12:56:43PM +0200, Wichert Akkerman wrote:
> > > > [snow;~]-6> xmms2d        
> > > >  INFO: src/xmms/log.c:35: Initialized logging system :)
> > > >  INFO: src/xmms/ipc.c:868: IPC listening on 
> > > > 'unix:///tmp/xmms-ipc-wichert'.
> > > > 
> > > > ** ERROR **: src/xmms/sqlite.c:252: Remote filesystem detected!
> > > > * It looks like you are putting your database: 
> > > > /home/wichert/.config/xmms2/medialib.db
> > > > * on a remote filesystem, this is a bad idea since there are many known 
> > > > bugs
> > > > * with SQLite on some remote filesystems. We recomend that you put the 
> > > > db
> > > > * somewhere else. You can do this by editing the xmms2.conf and find the
> > > > * property for medialib.path. If you however still want to try to run 
> > > > the
> > > > * db on a remote filesystem please set medialib.allow_remote_fs=1 in 
> > > > your
> > > > * config and restart xmms2d.
> > > > aborting...
> > > > zsh: abort (core dumped)  xmms2d
> > > 
> > > I'm not sure what this bug is about.
> > > 
> > > Did you read the full error message? Do you want xmms2 to ignore the
> > > fact that sqlite doesn't work well on remote filesystems? Do you want
> > > sqlite to work on remote filesystems? Or do you just want it to not dump
> > > its core when dispaying the above error message?
> > 
> > Dumping core is never acceptable and should certainly be fixed. A
> 
> xmms2 just calls g_error (a glib function) which purpose is to log a
> fatal error and terminate the application by calling abort(). Should
> glib be fixed?

Or perhaps g_error should not be used. I'm guessing g_error is meant to
be used when something so bad happend the code can no longer even expect
to show an error message to the user using its normal user interface.
For example when catching a SIGSEGV or SIGBUS.

That is not the case here; a normal error message to stdout and a
non-zero exit code work fine.

Wichert.

-- 
Wichert Akkerman <[EMAIL PROTECTED]>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to