On Thu, 19 Aug 2010 00:01:40 +0200 Sebastian Toepfer <sebastian.toep...@onlinehome.de> wrote:
> On Wed, 18 Aug 2010 23:45:34 +0200, Stevan Bajić <ste...@bajic.ch> wrote: > > On Wed, 18 Aug 2010 23:23:20 +0200 > > Sebastian Toepfer <sebastian.toep...@onlinehome.de> wrote: > > > >> Hi, > >> > > Hello, > > > > > >> On Wed, 18 Aug 2010 00:03:46 +0200, Stevan Bajić <ste...@bajic.ch> > >> wrote: > >> > On Tue, 17 Aug 2010 23:15:16 +0200 > >> > Sebastian Toepfer <sebastian.toep...@onlinehome.de> wrote: > >> > > >> >> Hi, > >> >> > >> > Hello Sebastian, > >> > > >> > > >> >> i've install dspam on debian lenny from kirya.net, almost everything > >> >> works, thank julien! But I've few questions: > >> >> > >> >> 1. Run dspam_stats as www-data doesn't work: > >> >> www-d...@dspam:~$ dspam_stats > >> >> *** glibc detected *** dspam_stats: double free or corruption > (!prev): > >> >> 0x0804e768 *** > >> >> ======= Backtrace: ========= > >> >> /lib/i686/cmov/libc.so.6[0xb7573764] > >> >> /lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7575966] > >> >> dspam_stats(fileread+0x1f9)[0x804acb9] > >> >> dspam_stats(dirread+0xf5)[0x804aa35] > >> >> dspam_stats(fileread+0xf1)[0x804abb1] > >> >> dspam_stats(read_config+0x3b)[0x804ad9b] > >> >> dspam_stats(main+0x4e)[0x8049f3e] > >> >> /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb751b455] > >> >> dspam_stats[0x8049571] > >> >> ======= Memory map: ======== > >> >> 08048000-0804c000 r-xp 00000000 08:03 20649 > /usr/bin/dspam_stats > >> >> 0804c000-0804d000 rw-p 00003000 08:03 20649 > /usr/bin/dspam_stats > >> >> 0804d000-0806e000 rw-p 0804d000 00:00 0 [heap] > >> .... > >> >> b7711000-b7714000 rw-p b7711000 00:00 0 > >> >> b7714000-b7715000 r-xp b7714000 00:00 0 [vdso] > >> >> b7715000-b772f000 r-xp 00000000 08:03 45789 /lib/ld-2.7.so > >> >> b772f000-b7731000 rw-p 0001a000 08:03 45789 /lib/ld-2.7.so > >> >> bffea000-bffff000 rw-p bffeb000 00:00 0 [stack] > >> >> Aborted > >> >> > >> > Not good! Can you run in GDB and post a backtrace? > >> > > >> > >> have found and resolv this issue, www-data can not read the configfile > in > >> dspam.d :(. it is possible to check this case? > >> > > we do that already with the latest GIT version: > > someu...@theia / $ dspam_stats ; echo ${?} > > Unable to read dspam.conf > > 1 > > someu...@theia / $ > > > yes this work (i became this message). But www-data can read dspam.conf > and I only mis give permissions to dspam.d/* too:(. > Aha. I see. I missed that little text "dspam.d" in your message. > I think a error message is better than this stacktrace? > Yes. You are right. Say "thank you" to Debian for that little "include" function. They where the one submitting that patch (I think Sensory Network applied that patch before handing out DSPAM to the community). > Sebastian > -- Kind Regards from Switzerland, Stevan Bajić ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user