On Aug 16, 2012, at 12:54 PM, Stevan Bajić wrote: > On 16.08.2012 21:23, Terry Barnum wrote: >> Greetings, > Hello Terry, Hi Stevan.
>> <snip> >> Aug 15 15:48:23 mail dspam[1715]: bailing on error -2 >> Aug 15 15:48:23 mail dspam[1715]: dspam(1715,0x1000e7000) malloc: *** error >> for object 0x100803518: pointer being freed was not allocated\n*** set a >> breakpoint in malloc_error_break to debug >> Aug 15 15:48:23 mail org.macports.dspam[1711]: dspam(1715,0x1000e7000) >> malloc: *** error for object 0x100803518: pointer being freed was not >> allocated >> Aug 15 15:48:23 mail org.macports.dspam[1711]: *** set a breakpoint in >> malloc_error_break to debug >> Aug 15 15:48:23 mail dspam[1716]: Client exited with error -5 >> Aug 15 15:48:23 mail com.apple.ReportCrash.Root[1719]: 2012-08-15 >> 15:48:23.102 ReportCrash[1719:2503] Saved crash report for dspam[1715] >> version ??? (???) to >> /Library/Logs/DiagnosticReports/dspam_2012-08-15-154823_localhost.crash > Cool. A real crash. What is in that > dspam_2012-08-15-154823_localhost.crash file? Here you go: Process: dspam [1715] Path: /opt/local/bin/dspam Identifier: dspam Version: ??? (???) Code Type: X86-64 (Native) Parent Process: launchd [1] Date/Time: 2012-08-15 15:48:23.050 -0700 OS Version: Mac OS X 10.6.8 (10K549) Report Version: 6 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 1 Application Specific Information: abort() called Thread 0: Dispatch queue: com.apple.main-thread 0 libSystem.B.dylib 0x00007fff8a347932 select$DARWIN_EXTSN + 10 1 dspam 0x000000010000babd daemon_listen + 765 2 dspam 0x00000001000016d4 daemon_start + 388 3 dspam 0x0000000100008db8 main + 568 4 dspam 0x00000001000011d4 start + 52 Thread 1 Crashed: 0 libSystem.B.dylib 0x00007fff8a3769ce __semwait_signal_nocancel + 10 1 libSystem.B.dylib 0x00007fff8a3768d0 nanosleep$NOCANCEL + 129 2 libSystem.B.dylib 0x00007fff8a3d33ce usleep$NOCANCEL + 57 3 libSystem.B.dylib 0x00007fff8a3f2a00 abort + 93 4 libSystem.B.dylib 0x00007fff8a30a195 free + 128 5 libdspam.7.dylib 0x000000010001c79e _ds_operate + 1182 6 libdspam.7.dylib 0x000000010001ce66 dspam_process + 566 7 dspam 0x00000001000034d5 retrain_message + 421 8 dspam 0x00000001000078e6 process_message + 3174 9 dspam 0x000000010000855e process_users + 1806 10 dspam 0x000000010000a9a3 process_connection + 1379 11 libSystem.B.dylib 0x00007fff8a33cfd6 _pthread_start + 331 12 libSystem.B.dylib 0x00007fff8a33ce89 thread_start + 13 Thread 1 crashed with X86 Thread State (64-bit): rax: 0x000000000000003c rbx: 0x00000001000e50a0 rcx: 0x00000001000e5058 rdx: 0x0000000000000001 rdi: 0x0000000000000803 rsi: 0x0000000000000000 rbp: 0x00000001000e5090 rsp: 0x00000001000e5058 r8: 0x0000000000000000 r9: 0x0000000000989680 r10: 0x0000000000000001 r11: 0x0000000000000246 r12: 0x0000000000000000 r13: 0x0000000100064000 r14: 0x0000000000000000 r15: 0x0000000100803518 rip: 0x00007fff8a3769ce rfl: 0x0000000000000247 cr2: 0x00000001000e8880 Binary Images: 0x100000000 - 0x100012fff +dspam ??? (???) <35F2E1B6-158B-C110-5BB6-B45456683C6C> /opt/local/bin/dspam 0x100018000 - 0x10002bfef +libdspam.7.dylib 8.0.0 (compatibility 8.0.0) <6A17DE40-8445-43C2-4CAF-143440C02F5C> /opt/local/lib/libdspam.7.dylib 0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <69130DA3-7CB3-54C8-ABC5-423DECDD2AF7> /usr/lib/dyld 0x7fff898c3000 - 0x7fff898c7ff7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib 0x7fff8a303000 - 0x7fff8a4c4fef libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib 0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib >> I don't *think* the "Ignoring disallowed preferences" is the cause of the >> crash because these warnings have been happening since installation (I >> posted about this back on July 6), whereas the crashing upon manual move has >> started recently. > The 'Ignoring disallowed preferences' is very unlikely to be the issue. That's what I thought too but figured I should mention it just in case. >> # dpsam_admin li pref default >> signatureLocation=headers >> >> dspam is installed with macports but does not yet have a debug variant so I >> can't enable it for more info. > :( > > This will make bug hunting very, very difficult. I know. Another dspam+macports user you know has submitted a patch to the port. I'm hoping it will be accepted quickly. <snip> >> # grep ^[^#] dspam.conf >> Home /opt/local/var/dspam >> StorageDriver /opt/local/lib/libhash_drv.dylib > AHA! Hash driver! That storage driver really, really needs to be reworked. Well, I did have dspam installed with sqlite3 but you might remember from my posts back in July that even though sqlite3 was set as the StorageDriver, the database dspam created was still hash. In trying to figure out this crashing problem I deactivated dspam+sqlite3 and installed a plain dspam with just hash. The crashing behavior didn't change and to my untrained eye, the crash logs look nearly identical. <snip> >> Anything obviously out of place? Any help or pointers are greatly >> appreciated. I'm happy to provide other info. > I think it is the HASH driver. That css file of yours would probably > result in a crash on another system too. I think the css file is corrupt. I ran cssclean on my .css file and it didn't complain. The filesize didn't change though. >> Thanks, >> -Terry >> > -- > Kind Regards from Switzerland, > > Stevan Bajić ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user