forwarded 457163 Peter Sperl <[EMAIL PROTECTED]>
thanks

Hi Peter,

projectM blindly tries to load fonts which don't exist. This is outlined
in Debian #457163 [1], reported by Alain Kalker.

The proposed solution appears to be to throw an exception if the file
does not exist; will you guys work on this?

Thanks,
William

[1] http://bugs.debian.org/457163

On Thu, 2007-12-20 at 21:01 +0100, Alain Kalker wrote:
> Hello William,
> 
> On Thu, 2007-12-20 at 12:10 -0600, William Pitcock wrote:
> > Hi Alain,
> > 
> > It's because the default location for libprojectM's font search path is
> > different than the one that I have defined. If you delete
> > $HOME/.projectm/config.inp, it should be ok.
> 
> That did the trick, thanks! My apologies for filing a bug report on
> this. It just didn't occur to me that a stale config file could be
> responsible.
> 
> > It is true that we should try to find a patch to make it behave more
> > nicely, though.
> 
> I agree. Maybe you could send this bug upstream, so a more general error
> handling fix can be integrated.
> Thanks for making the menus and song titles work again :-)
> 
> Kind regards,
> 
> Alain
> 
> > On Thu, 2007-12-20 at 10:24 +0100, Alain Kalker wrote:
> > > Package: libprojectm1
> > > Version: 1.01-3
> > > Severity: important
> > > 
> > > 
> > > When using projectM as an audacious plugin, it segfaults after switching 
> > > to full-screen mode.
> > > A stacktrace follows:
> > > ---[cut here]---
> > > Program received signal SIGSEGV, Segmentation fault.
> > > [Switching to Thread 0xb2becb90 (LWP 9208)]
> > > 0xb4deaa89 in FTSize::CharSize () from /usr/lib/libprojectM.so.1
> > > (gdb) bt
> > > #0  0xb4deaa89 in FTSize::CharSize () from /usr/lib/libprojectM.so.1
> > > #1  0xb4dec881 in FTFace::Size () from /usr/lib/libprojectM.so.1
> > > #2  0xb4de818c in FTFont::FaceSize () from /usr/lib/libprojectM.so.1
> > > #3  0xb4dce56c in Renderer (this=0x868fde0, width=512, height=512, gx=32, 
> > > gy=24, texsize=512, beatDetect=0x866f548, 
> > >     [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED])
> > >     at /home/miki/src/libprojectm/libprojectm-1.01/Renderer.cpp:96
> > > #4  0xb4d8c8ee in projectM::projectM_init (this=0x8625ec0, gx=32, gy=24, 
> > > fps=35, texsize=512, width=512, height=512)
> > >     at /home/miki/src/libprojectm/libprojectm-1.01/projectM.cpp:485
> > > #5  0xb4d8e12c in projectM::readConfig (this=0x8625ec0, [EMAIL PROTECTED])
> > >     at /home/miki/src/libprojectm/libprojectm-1.01/projectM.cpp:124
> > > #6  0xb4d8e41a in projectM (this=0x8625ec0, [EMAIL PROTECTED])
> > >     at /home/miki/src/libprojectm/libprojectm-1.01/projectM.cpp:100
> > > #7  0xb4f265be in worker_func () from 
> > > /usr/lib/audacious/Visualization/projectm-1.0.so
> > > #8  0xb4e52f7b in ?? () from /usr/lib/libSDL-1.2.so.0
> > > #9  0x00000000 in ?? ()
> > > ---[cut here]---
> > > 
> > > Could this have something to do with the font path patch from the last 
> > > update?
> > > 
> > > Kind regards, Alain
> > > 
> > > -- System Information:
> > > Debian Release: lenny/sid
> > >   APT prefers unstable
> > >   APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
> > > 'experimental')
> > > Architecture: i386 (i686)
> > > 
> > > Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
> > > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> > > Shell: /bin/sh linked to /bin/bash
> > > 
> > > Versions of packages libprojectm1 depends on:
> > > ii  libc6                        2.7-4       GNU C Library: Shared 
> > > libraries
> > > ii  libfreetype6                 2.3.5-1+b1  FreeType 2 font engine, 
> > > shared lib
> > > ii  libgcc1                      1:4.2.2-4   GCC support library
> > > ii  libglew1.4                   1.4.0dfsg-2 The OpenGL Extension 
> > > Wrangler - ru
> > > ii  libprojectm1-data            1.01-3      Advanced Milkdrop-compatible 
> > > music
> > > ii  libstdc++6                   4.2.2-4     The GNU Standard C++ Library 
> > > v3
> > > ii  ttf-bitstream-vera           1.10-7      The Bitstream Vera family of 
> > > free 
> > > 
> > > libprojectm1 recommends no packages.
> > > 
> > > -- no debconf information
> > > 
> > > 
> > > 
> 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to