Exited abnormally: Segmentation fault

I see that 'Exited abnormally: Segmentation fault' is very common with Leopard and would be grateful if somebody could explain it and say if this is a Leopard fault which Apple will eventually fix.
I had it earlier and it appeared to crash the OS. I could still move the curser with my mouse but it had disabled the keyboard. The screen retained its pre-crash items. There was a small amount of disk activity but I could only recover with a forced reboot.
The only Console evidence was:
31/01/2009 11:20:36 com.apple.launchd[100] ([0x0-0xe00e].org.mozilla.thunderbird[122]) Exited abnormally: Segmentation fault
Although reports elsewhere indicate that this occurs for a wide range of applications I will include the following file from Crash Reporter for completeness. I apologise for for the length and width caused by my use of pre tags - plese let me know if there is a better way of doing this.
<pre>
Process: thunderbird-bin [122]
Path: /Applications/Thunderbird.app/Contents/MacOS/thunderbird-bin
Identifier: org.mozilla.thunderbird
Version: 2.0.0.19 (2.0.0.19)
Code Type: PPC (Native)
Parent Process: launchd [100]
Date/Time: 2009-01-31 11:20:08.948 +0000
OS Version: Mac OS X 10.5.6 (9G55)
Report Version: 6
Exception Type: EXC_CRASH (SIGSEGV)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 1
Thread 0:
0 libSystem.B.dylib 0x91f29094 strchr + 4
1 talkback.dylib 0x0143bbf0 spEnvCollector::Collect(BlackBox&, spKeyDataStream*, SPIRALTRIGGERCONTEXT*) + 80
2 talkback.dylib 0x014486f8 spCollectionManager::Collect(spKeyDataStream*, SPIRALTRIGGERCONTEXT*) + 96
3 talkback.dylib 0x01437480 spSpiralNubCore::Collect(SPIRALTRIGGERCONTEXT*, unsigned char) + 312
4 talkback.dylib 0x01438cd0 spSpiralNubCore::HandleProgramException(SPIRALTRIGGERCONTEXT*) + 112
5 talkback.dylib 0x0143adf0 FCProcessSignal(int, UNIXEXCEPTIONCONTEXT*) + 136
6 talkback.dylib 0x0143d4f0 fcStackDumpCollectorCreator(unsigned long, char*, int, char**) + 356
7 libSystem.B.dylib 0x91f95998 _sigtramp + 64
Thread 1 Crashed:
0 libSystem.B.dylib 0x91f5efe4 select$DARWIN_EXTSN$NOCANCEL + 8
1 libSystem.B.dylib 0x91fb4c4c select + 68
2 libnspr4.dylib 0x2001f25c poll + 388
3 libnspr4.dylib 0x2001ba84 PR_OpenDir + 940
4 org.mozilla.thunderbird 0x004dbbb0 nsSocketTransportService::Poll(unsigned int*) + 160
5 org.mozilla.thunderbird 0x004dc358 nsSocketTransportService::Run() + 436
6 libxpcom_core.dylib 0x2c04a698 nsThread::Main(void*) + 52
7 libnspr4.dylib 0x2001cf10 PR_Select + 848
8 libSystem.B.dylib 0x91f58024 pthreadstart + 316
Thread 2:
0 libSystem.B.dylib 0x91f161d8 semaphoretimedwait_signaltrap + 8
1 libSystem.B.dylib 0x91f592c8 pthread_condwait + 1320
2 libnspr4.dylib 0x20017df8 PR_Unlock + 296
3 libnspr4.dylib 0x2001805c PR_WaitCondVar + 132
4 libxpcom_core.dylib 0x2c04d288 TimerThread::Run() + 408
5 libxpcom_core.dylib 0x2c04a698 nsThread::Main(void*) + 52
6 libnspr4.dylib 0x2001cf10 PR_Select + 848
7 libSystem.B.dylib 0x91f58024 pthreadstart + 316
Thread 3:
0 libSystem.B.dylib 0x91f161b8 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x91f592d8 pthread_condwait + 1336
2 libnspr4.dylib 0x20018048 PR_WaitCondVar + 112
3 org.mozilla.thunderbird 0x004f5658 nsSSLThread::Run() + 244
4 libnspr4.dylib 0x2001cf10 PR_Select + 848
5 libSystem.B.dylib 0x91f58024 pthreadstart + 316
Thread 4:
0 libSystem.B.dylib 0x91f161b8 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x91f592d8 pthread_condwait + 1336
2 libnspr4.dylib 0x20018048 PR_WaitCondVar + 112
3 org.mozilla.thunderbird 0x004f1160 nsCertVerificationThread::Run() + 92
4 libnspr4.dylib 0x2001cf10 PR_Select + 848
5 libSystem.B.dylib 0x91f58024 pthreadstart + 316
Thread 5:
0 libSystem.B.dylib 0x91f16158 machmsgtrap + 8
1 libSystem.B.dylib 0x91f1d07c mach_msg + 56
2 com.apple.CoreFoundation 0x931fc554 CFRunLoopRunSpecific + 1812
3 com.apple.audio.CoreAudio 0x93d63f84 HALRunLoop::OwnThread(void*) + 212
4 com.apple.audio.CoreAudio 0x93d63dc0 CAPThread::Entry(CAPThread*) + 104
5 libSystem.B.dylib 0x91f58024 pthreadstart + 316
Thread 6:
0 libSystem.B.dylib 0x91f161b8 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x91f592d8 pthread_condwait + 1336
2 libnspr4.dylib 0x20018048 PR_WaitCondVar + 112
3 org.mozilla.thunderbird 0x007a2be0 mozStorageService::FreeLocks() + 4488
4 org.mozilla.thunderbird 0x00ba9898 0x1000 + 12224664
5 libxpcom_core.dylib 0x2c04a698 nsThread::Main(void*) + 52
6 libnspr4.dylib 0x2001cf10 PR_Select + 848
7 libSystem.B.dylib 0x91f58024 pthreadstart + 316
Thread 7:
0 libSystem.B.dylib 0x91f161b8 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x91f592d8 pthread_condwait + 1336
2 libnspr4.dylib 0x20018048 PR_WaitCondVar + 112
3 libnspr4.dylib 0x200183c4 PR_Wait + 44
4 libxpcom_core.dylib 0x2c047b58 PL_WaitForEvent + 52
5 libxpcom_core.dylib 0x2c049390 nsEventQueueImpl::WaitForEvent(PLEvent**) + 52
6 org.mozilla.thunderbird 0x004726e4 nsUrlClassifierDBService::Shutdown() + 524
7 libnspr4.dylib 0x2001cf10 PR_Select + 848
8 libSystem.B.dylib 0x91f58024 pthreadstart + 316
Thread 8:
0 libSystem.B.dylib 0x91f161d8 semaphoretimedwait_signaltrap + 8
1 libSystem.B.dylib 0x91f592c8 pthread_condwait + 1320
2 com.apple.audio.CoreAudio 0x93d759cc HP_IOThread::WorkLoop() + 488
3 com.apple.audio.CoreAudio 0x93d757cc HPIOThread::ThreadEntry(HPIOThread*) + 12
4 com.apple.audio.CoreAudio 0x93d63dc0 CAPThread::Entry(CAPThread*) + 104
5 libSystem.B.dylib 0x91f58024 pthreadstart + 316
Thread 9:
0 libSystem.B.dylib 0x91f161a8 semaphorewaittrap + 8
1 ...ickTimeComponents.component 0x948ea530 QTThreadWaitSignal + 96
2 ...ickTimeComponents.component 0x9444ae50 audioprepThreadEntry + 128
3 ...ickTimeComponents.component 0x948ea1f0 start_thread + 80
4 libSystem.B.dylib 0x91f58024 pthreadstart + 316
Thread 1 crashed with PPC Thread State 32:
srr0: 0x91f5efe4 srr1: 0x0000f030 dar: 0x070e3000 dsisr: 0x42000000
r0: 0x00000197 r1: 0xf0080820 r2: 0x00000000 r3: 0x00000004
r4: 0xf00808c0 r5: 0xf0080940 r6: 0xf00809c0 r7: 0x00000000
r8: 0x00000001 r9: 0x00000010 r10: 0x00000001 r11: 0x20033bd0
r12: 0x91fb4c08 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0x00000001 r21: 0xffffffff r22: 0xf0080ab0 r23: 0x0183b4e8
r24: 0x00000000 r25: 0xf0080940 r26: 0x00000001 r27: 0xf0080ab0
r28: 0xf00809c0 r29: 0xf00808c0 r30: 0x00000001 r31: 0xffffffff
cr: 0x24008244 xer: 0x20000004 lr: 0x91fb4c50 ctr: 0x91fb4c08
vrsave: 0x00000000
Binary Images:
0x1000 - 0xbc98ef +org.mozilla.thunderbird 2.0.0.19 (2.0.0.19) /Applications/Thunderbird.app/Contents/MacOS/thunderbird-bin
0x1092000 - 0x10a0fff +libmyspell.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/components/libmyspell.dylib
0x13a9000 - 0x13b2ffe +libqfaservices.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/extensions/[email protected]/co mponents/libqfaservices.dylib
0x1434000 - 0x145bff9 +talkback.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/extensions/[email protected]/co mponents/talkback/talkback.dylib
0x167b000 - 0x167dffd com.apple.textencoding.unicode 2.2 (2.2) <483d06bdf16bdbbad53efcea4fcfb688> /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x16b1000 - 0x16c3fff +libspellchecker.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/components/libspellchecker.dylib
0x49a9000 - 0x49dcfff +libxpinstall.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/components/libxpinstall.dylib
0x57f3000 - 0x59a5ff7 com.apple.RawCamera.bundle 2.0.10 (2.0.10) <385afe576f8fd60530711a5eab4ed182> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x6ad4000 - 0x6b20023 +libfreebl3.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libfreebl3.dylib
0x6b28000 - 0x6b5aff7 +libnssckbi.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libnssckbi.dylib
0x6d06000 - 0x6d0afff com.apple.audio.AudioIPCPlugIn 1.0.5 (1.0.5) <6d30b26789325677bbd205ccdbe755e7> /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugI n.bundle/Contents/MacOS/AudioIPCPlugIn
0x6d37000 - 0x6d38ffd com.apple.aoa.halplugin 2.5.7 (2.5.7f1) <7f1a60978b668db2fc7b7ee642120335> /System/Library/Extensions/IOAudioFamily.kext/Contents/PlugIns/AOAHALPlugin.bun dle/Contents/MacOS/AOAHALPlugin
0x20000000 - 0x200328bf +libnspr4.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libnspr4.dylib
0x21000000 - 0x2100d71b +libplds4.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libplds4.dylib
0x22000000 - 0x2200eb03 +libplc4.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libplc4.dylib
0x23000000 - 0x23096ff5 +libmozjs.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libmozjs.dylib
0x24000000 - 0x24000fff +libxpcom.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libxpcom.dylib
0x25000000 - 0x25023e4d +libssl3.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libssl3.dylib
0x26000000 - 0x26061997 +libnss3.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libnss3.dylib
0x27000000 - 0x2701d097 +libsmime3.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libsmime3.dylib
0x28000000 - 0x2804b12f +libsoftokn3.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libsoftokn3.dylib
0x29000000 - 0x29018ffd +libxpcom_compat.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libxpcom_compat.dylib
0x2a000000 - 0x2a00dffb +libprldap50.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libprldap50.dylib
0x2b000000 - 0x2b02efff +libldap50.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libldap50.dylib
0x2c000000 - 0x2c087ffb +libxpcom_core.dylib ??? (???) /Applications/Thunderbird.app/Contents/MacOS/libxpcom_core.dylib
0x70000000 - 0x700cdff3 com.apple.audio.units.Components 1.5.2 (1.5.2) /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
0x8fe00000 - 0x8fe30c23 dyld 97.1 (???) <8dc1fc6c74fe1f055be16980dd45001e> /usr/lib/dyld
0x90003000 - 0x9000affb com.apple.print.framework.Print 218.0.2 (220.1) <c7e0e618d5867ae227403ae385aacd82> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x90074000 - 0x9007fff9 com.apple.helpdata 1.0.1 (14.2) /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
0x90094000 - 0x900a2fff libz.1.dylib ??? (???) <1a70dd3594a8c5ad39d785af5da23237> /usr/lib/libz.1.dylib
0x900a3000 - 0x9013dff7 com.apple.ApplicationServices.ATS 3.4 (???) <06af1441f632e171a7f61dca809462ba> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x9013e000 - 0x9020dfff com.apple.ColorSync 4.5.1 (4.5.1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x9020e000 - 0x902d3ffb com.apple.CoreData 100.1 (186) <9cf54cb19b18e53ee22edb7ababa6e6c> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x902d4000 - 0x902d4fff com.apple.Carbon 136 (136) <6a6a209ec9179368db7ead8382b8ee63> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x902d5000 - 0x902d5ffb com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallSer ver
0x90326000 - 0x9032efff libbsm.dylib ??? (???) <c1fca3cbe3b1c21e9b31bc89b920f34c> /usr/lib/libbsm.dylib
0x9032f000 - 0x9034efff libresolv.9.dylib ??? (???) <d4538f370cadea5d74d3ac86c610e570> /usr/lib/libresolv.9.dylib
0x9034f000 - 0x90497ffb libicucore.A.dylib ??? (???) <f49319412f5ee8b5f06fef2baa72916b> /usr/lib/libicucore.A.dylib
0x90498000 - 0x904afffb com.apple.ImageCapture 5.0.1 (5.0.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x905f8000 - 0x90742ffb com.apple.ImageIO.framework 2.0.4 (2.0.4) <cbe744146e1f0e77cca0edce92bea0f7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x90743000 - 0x90743fff com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x90744000 - 0x907f4fff com.apple.QD 3.11.54 (???) <cd7bef6f156b82851cfb164ccd9f3986> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x907f5000 - 0x9082efff com.apple.SystemConfiguration 1.9.2 (1.9.2) <1a39075165bf7447fe8be1e93db49346> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x9082f000 - 0x90c5dffa libGLProgrammability.dylib ??? (???) <2c52a11697da6ede976b56d54e3815ef> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x90c5e000 - 0x90c71fff com.apple.LangAnalysis 1.6.4 (1.6.4) <f12db38b92cbf96b024206698434d14d> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x90c72000 - 0x90c7dffb libgcc_s.1.dylib ??? (???) <ea47fd375407f162c76d14d64ba246cd> /usr/lib/libgcc_s.1.dylib
0x90c7e000 - 0x90d92ffa com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x90e7c000 - 0x90e7cff8 com.apple.Cocoa 6.5 (???) <e9a4f1c636d00893db0494c4040176ba> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x90e7d000 - 0x90e9cfff com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x90e9d000 - 0x90ecefff com.apple.coreui 1.2 (62) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x90f0f000 - 0x90f71ffb com.apple.htmlrendering 68 (1.1.3) <e852db1c007de975fae2f0c2769c88ef> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x90f76000 - 0x91530fff libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x91531000 - 0x91535ffe libGIF.dylib ??? (???) <491b205a6b8bb0c0c6ee6aaeea19a671> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x915a1000 - 0x915c1ff7 libJPEG.dylib ??? (???) <f92878fdf02ffb1474b8bc60c47bb72d> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x915c2000 - 0x915c3fff libffi.dylib ??? (???) <11b77dbce4aa0f0b66d40014230abd1d> /usr/lib/libffi.dylib
0x9163e000 - 0x91967fe7 libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x91968000 - 0x91a3bfff com.apple.CoreServices.OSServices 226.5 (226.5) <e50f547a3d8d316885b424e282bd80fe> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x91a4e000 - 0x91a56ffb libCGATS.A.dylib ??? (???) <0c83819d2d428a8df27c8cc0f13ba1dc> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x91cc8000 - 0x91d17fff com.apple.Metadata 10.5.2 (398.25) <fdad4bda89efd0e2e9ca37493e10ca4c> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x91d18000 - 0x91da7ffb com.apple.DesktopServices 1.4.7 (1.4.7) <5792e9dc03f76544c71dedd802a1fa36> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x91eb7000 - 0x91f14ffb com.apple.HIServices 1.7.0 (???) <5f468086ca01158e12cd07f829132edf> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x91f15000 - 0x920b5fe3 libSystem.B.dylib ??? (???) <3260ab8c558e938c8180b3ba1036aec1> /usr/lib/libSystem.B.dylib
0x921dc000 - 0x92285ffc com.apple.CFNetwork 422.11 (422.11) <189498280742bb4579e91b165301d331> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x9229c000 - 0x922b8ffb com.apple.openscripting 1.2.8 (???) <eb961ce3c1b1e564c2eefe3682ee0555> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x922b9000 - 0x92319fff com.apple.CoreText 2.0.3 (???) <4ce8460abbfca7c9bd655ae0173976df> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x9231a000 - 0x92343ffb com.apple.shortcut 1 (1.0) <032016a45147a2f3f191ce70187587c9> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
0x92344000 - 0x923c9fff libsqlite3.0.dylib ??? (???) <f2a33fe2663eab9c7f4806d2cf05b4ee> /usr/lib/libsqlite3.0.dylib
0x92443000 - 0x9244cfff com.apple.DiskArbitration 2.2.1 (2.2.1) <a389b4c2badce39540f24402f7df35e7> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x9244d000 - 0x924a3fff libGLU.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x924a4000 - 0x924f3fff libGLImage.dylib ??? (???) <1df480344fb6e09ff32ac97bfdda7e50> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x924f4000 - 0x9251cfff libxslt.1.dylib ??? (???) <a628a1484428ce3c87c56cf663faeb54> /usr/lib/libxslt.1.dylib
0x9256d000 - 0x92603fff com.apple.LaunchServices 290.3 (290.3) <a8a738aede278909ff721ce9a754142f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x92604000 - 0x9274bffb com.apple.audio.toolbox.AudioToolbox 1.5.2 (1.5.2) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x9274c000 - 0x9275fffb com.apple.speech.synthesis.framework 3.7.1 (3.7.1) <dc8dac074f4d19175c5613b35aa529b3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x92760000 - 0x9277bffb libPng.dylib ??? (???) <248297ff5b022c274d5dcfa0de3b37b2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x9277c000 - 0x92806fff libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x92823000 - 0x929d5ff4 com.apple.CoreAUC 3.02.0 (3.02.0) <805ca5d2a7bdf7f5450778560f0c711d> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
0x929d6000 - 0x92cd8ffb com.apple.CoreServices.CarbonCore 786.10 (786.10) <3861a1af8d647c75688761d7ef4b5bf3> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x92cd9000 - 0x92d6dff7 com.apple.framework.IOKit 1.5.1 (???) <498f2ba1b47432ee4deebca2655ff932> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x92d6e000 - 0x92db5fff com.apple.NavigationServices 3.5.2 (163) <cb063c95a55ba12994a64c7e47f5706a> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x92db6000 - 0x92db6fff com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x92e2d000 - 0x93192ffe com.apple.QuartzCore 1.5.7 (1.5.7) <75a8ef92c54d1ce016dfe662a6626f04> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x93193000 - 0x932b8ffb com.apple.CoreFoundation 6.5.5 (476.17) <d13dc71c870a82b7d2f721731e584287> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x932b9000 - 0x9349fffb com.apple.security 5.0.4 (34102) <93e74504c60b38418e708caf47342cf5> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x934a0000 - 0x934a0ffa com.apple.CoreServices 32 (32) <42b6dda539f7411606187335d9eae0c5> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x934a4000 - 0x9355efff libcrypto.0.9.7.dylib ??? (???) <335916b82e302fec637432caf7c9e8e5> /usr/lib/libcrypto.0.9.7.dylib
0x936ac000 - 0x936e1fff com.apple.AE 402.2 (402.2) <0b15a08da8ec38b74fb9dd6e579ed25f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x93718000 - 0x93728ffb com.apple.agl 3.0.9 (AGL-3.0.9) <056d952943aac260426645ce6a24eb9e> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x93729000 - 0x937d9fff edu.mit.Kerberos 6.0.12 (6.0.12) <17b514ffed29c890fc8ba8eac9dce56e> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x937da000 - 0x937f4ffb com.apple.CoreVideo 1.6.0 (20.0) <578a8abd9e0f7b3a9c36ae9bc5fd753a> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x937fc000 - 0x9381bfff com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x9381c000 - 0x93883ffb libstdc++.6.dylib ??? (???) <a4e9b10268b3ffac26d0296499b24e8e> /usr/lib/libstdc++.6.dylib
0x93884000 - 0x938aafff libcups.2.dylib ??? (???) <c340096dadbdc8edd534e5aec33a8e85> /usr/lib/libcups.2.dylib
0x93963000 - 0x93ba8ffb com.apple.Foundation 6.5.7 (677.22) <dab423bf20d5c2d78c4536e4e3da9300> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x93ba9000 - 0x93c31fff com.apple.ink.framework 101.3 (86) <66a99ad6bc695390a66dd24789e23dcc> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x93c32000 - 0x93d15fff libobjc.A.dylib ??? (???) <39035ba996e55c617e20595dcd89c063> /usr/lib/libobjc.A.dylib
0x93d16000 - 0x93d41ff7 libauto.dylib ??? (???) <b3a3a4b0f09653bd6d58f1847922b533> /usr/lib/libauto.dylib
0x93d42000 - 0x93dcaffb com.apple.audio.CoreAudio 3.1.1 (3.1.1) <f88caa828a4b54ed1932e1578bf9236a> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x93de8000 - 0x93e69fff com.apple.print.framework.PrintCore 5.5.3 (245.3) <032f772f8169945c1d1b524d96edcef6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x93ec0000 - 0x94b6ffef com.apple.QuickTimeComponents.component 7.6 (1290) /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
0x94b70000 - 0x952e5fff com.apple.AppKit 6.5.6 (949.43) <3afcaa243535d0817efeb978448ef3dc> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x95469000 - 0x959e5ff7 com.apple.CoreGraphics 1.407.2 (???) <6a101d8218dc8d12ca0b901c57aa44b7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x959e6000 - 0x959feffb com.apple.DictionaryServices 1.0.0 (1.0.0) <fe37191e732eeb66189185cd000a210b> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Diction aryServices.framework/Versions/A/DictionaryServices
0x959ff000 - 0x95a01ffd libRadiance.dylib ??? (???) <34cc3c24f4be3a4372275400b6e05b85> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x95a02000 - 0x95a0eff3 com.apple.audio.SoundManager 3.9.2 (3.9.2) <79588842bcaf6c747a95b2120304397a> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x95a0f000 - 0x95d40ffb com.apple.QuickTime 7.6.0 (1290) <664814f4b8b62408c24a74b8a7a51297> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x95e38000 - 0x95e3bfff com.apple.help 1.1 (36) <7106d6e074a3b9835ebf1e6cc6c822ce> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x95e3c000 - 0x95eb7fff com.apple.SearchKit 1.2.1 (1.2.1) <23c2c93a7ec832505d5c7b67fee89a6d> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x95fcb000 - 0x9606cff7 com.apple.QuickTimeImporters.component 7.6 (1290) /System/Library/QuickTime/QuickTimeImporters.component/Contents/MacOS/QuickTime Importers
0x9609c000 - 0x960a7fff com.apple.speech.recognition.framework 3.7.24 (3.7.24) <ae3dc890a43a9269388301f6b59d3091> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x96326000 - 0x96353fff libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x96354000 - 0x9635bfff com.apple.CommonPanels 1.2.4 (85) <0d1256175c5512c911ede094d767acfe> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x96a4d000 - 0x96ae6fc3 libvDSP.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x96ae7000 - 0x96ae8ff8 com.apple.ApplicationServices 34 (34) <6aa5ee485bb2e656531b3505932b845f> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x96ae9000 - 0x96af7ff3 com.apple.opengl 1.5.9 (1.5.9) <c3d74d9bd2fa60d9c346db5658e52815> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x96bbb000 - 0x96ca4fff libxml2.2.dylib ??? (???) <dedfda117e78db04f0b86c59923b3794> /usr/lib/libxml2.2.dylib
0x96ca5000 - 0x96cb2fff libCSync.A.dylib ??? (???) <bc19f19cfa6c23f9ca4e4419ea18f43e> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x96cfe000 - 0x97037ffb com.apple.HIToolbox 1.5.4 (???) <9624d2ffaf16019b6301517339df88c9> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x97038000 - 0x9703bffb com.apple.securityhi 3.0 (30817) <e50c0cac9048f8923b95797753d50b5c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x9703c000 - 0x97041ff6 libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x97042000 - 0x9707ffff libRIP.A.dylib ??? (???) <662becbd3173fd67eec7ad523d2d9c56> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x97080000 - 0x970c1ffb libTIFF.dylib ??? (???) <4c1422124af245485d6ceee207f4d735> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0xfffec000 - 0xfffeffff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff8000 - 0xffff9703 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
</pre>

It transpires that there are several ways to achieve reasonable line spacing whilst preserving line length and white space in order to display crash reports etc on Apple discussion pages but one of the simplest is the use of 'pre' tags combined with a line height style. For example use the following:
<pre style="line-height: 0.6">
Copy and
pasted text
from crash reporter etc.
</pre>
to achieve this:
<pre style="line-height: 0.6">
Copy and
pasted text
from crash reporter etc.
</pre>
I am still unclear about the best way to deal with long lines but will give it further thought. A forced wrap with some form of indenting might look OK but it may not be possible to find a general solution.

Similar Messages

  • After dns switch: DirectoryServices Exited abnormally??

    Hello and help
    i´ll just want to change the dns server ip back to the mac server and what happens is that the clients work extremly slow because of this:
    +28.11.08 15:53:25 com.apple.launchd[1] (com.apple.DirectoryServices[419]) Exited abnormally: Segmentation fault+
    +28.11.08 15:53:25 com.apple.launchd[1] (com.apple.DirectoryServices) Throttling respawn: Will start in 9 seconds+
    28.11.08 15:53:36 com.apple.launchd[1] (com.apple.DirectoryServices[421]) Exited abnormally: Segmentation fault
    28.11.08 15:53:36 com.apple.launchd[1] (com.apple.DirectoryServices) Throttling respawn: Will start in 9 seconds
    28.11.08 15:53:46 com.apple.launchd[1] (com.apple.DirectoryServices[425]) Exited abnormally: Segmentation fault
    28.11.08 15:53:46 com.apple.launchd[1] (com.apple.DirectoryServices) Throttling respawn: Will start in 9 seconds
    28.11.08 15:53:56 com.apple.launchd[1] (com.apple.DirectoryServices[427]) Exited abnormally: Bus error
    does anyone know whats going on there?
    thanks

    I was unable to access the laptop last night to create a new user; however my client would perfer not to try a second account since that would make it unusable for him while we test the second profile.
    Also John Sophos was installed after this started to verify that it was not a virus/malware (I know pointless step but it has happened to me before) so I don't think that is the problem

  • Segmentation fault with mod_wl_22.so and Apache 2.2.3

    Hi,
    Every few requests, the proxy plugin seg faults.
    The following backtrace is logged:
    [Sun Sep 26 06:26:16 2010] [notice] child pid 28254 exit signal Segmentation fault (11)
    *** glibc detected *** /usr/sbin/httpd: free(): invalid pointer: 0x00002b285a9882f0 ***
    ======= Backtrace: =========
    /lib64/libc.so.6[0x2b2853f3230f]
    /lib64/libc.so.6(cfree+0x4b)[0x2b2853f3276b]
    /etc/httpd/modules/mod_wl_22.so(_tmf90043+0x2f)[0x2b285d4f9954]
    /etc/httpd/modules/mod_wl_22.so(_tmf90047+0x51)[0x2b285d4e0c2c]
    /etc/httpd/modules/mod_wl_22.so(_tmf90487+0xa3)[0x2b285d4e062d]
    /etc/httpd/modules/mod_wl_22.so(_ZN3URL5closeEv+0x69)[0x2b285d49d353]
    /etc/httpd/modules/mod_wl_22.so(_Z19getPooledConnectionP8ListNodePKctiiP10LogContext+0x1c2)[0x2b285d498ff2]
    /etc/httpd/modules/mod_wl_22.so[0x2b285d490ee4]
    /etc/httpd/modules/mod_wl_22.so(request_handler+0x10b0)[0x2b285d493018]
    /usr/sbin/httpd(ap_run_handler+0x7a)[0x2b2851fc5a4a]
    /usr/sbin/httpd(ap_invoke_handler+0x78)[0x2b2851fc8ed8]
    /usr/sbin/httpd(ap_process_request+0x1a8)[0x2b2851fd3978]
    /usr/sbin/httpd[0x2b2851fd0bb0]
    /usr/sbin/httpd(ap_run_process_connection+0x72)[0x2b2851fcccd2]
    /usr/sbin/httpd[0x2b2851fd77c9]
    /usr/sbin/httpd[0x2b2851fd7a5a]
    /usr/sbin/httpd[0x2b2851fd7b10]
    /usr/sbin/httpd(ap_mpm_run+0xccb)[0x2b2851fd87fb]
    /usr/sbin/httpd(main+0x7e8)[0x2b2851fb2e48]
    /lib64/libc.so.6(__libc_start_main+0xf4)[0x2b2853edd994]
    /usr/sbin/httpd[0x2b2851fb2199]
    I am using the following plugin version:
    Oracle WebLogic plugin build date/time: Apr 20 2009 15:29:36. Change Number: 1211636
    The OS is a stock RHEL 5.4 (64 bit)
    Any ideas?

    I've tried to upgrade to plugin version 1.1, but now it refuses to use SSL between the proxy and the weblogic server.
    All I get from the logs is the following:
    Sun Sep 26 12:03:32 2010 <2450512854954051> mod_weblogic(ssl): Connection mod_wl SSL handshake failed (29024)
    Sun Sep 26 12:03:32 2010 <2450512854954051> mod_weblogic(ssl): SSL Handshake failed
    I've created a wallet, and imported my certificate to it as a trusted certificate.
    It should be noted that I have a wildcard certificate, and the previous plugin version did not support it - I had to use
    RequireSSLHostMatch false
    EnforceBasicConstraints false
    for it to work. These options are no longer supported in 1.1 - Why?

  • Segmentation fault with apache plug-in

    The debug flag is on with apache.Getting the following message and core dump.wl 6.0, jdk 1.3, Solaris 2.6 105181-21, apache 1.3.12, gcc 2.8(FSF), make(3.7.6)os patch 10559-09 installed.[Fri Dec 29 14:57:11 2000] [notice] child pid 27661 exit signal Segmentation Fault (11), possible coredump in /usr/local/apache

    The debug flag is on with apache.Getting the following message and core dump.wl 6.0, jdk 1.3, Solaris 2.6 105181-21, apache 1.3.12, gcc 2.8(FSF), make(3.7.6)os patch 10559-09 installed.[Fri Dec 29 14:57:11 2000] [notice] child pid 27661 exit signal Segmentation Fault (11), possible coredump in /usr/local/apache

  • Apache - Weblogic plug-in - Segmentation fault. Please Help me!

    Hi all,
    Im trying to set up Apache weblogic plug-in, and im having problems with
    that.
    Im running Solaris 9 with Apache/1.3.26 (Unix) and Weblogic 7 with sp2.
    Here is what i did:
    I copied mod_wl_ssl.so from
    /bea/weblogic700/server/lib/solaris/mod_wl_ssl.so to /usr/apache/libexec
    Added entries in httpd.conf as
    LoadModule weblogic_module /usr/apache/libexec/mod_wl_ssl.so
    AddModule mod_weblogic.c
    <LocationMatch "\.jsp$">
    SetHandler weblogic-handler
    StatPath false
    </LocationMatch>
    <LocationMatch "/(service1|service2|service3)/">
    SetHandler weblogic-handler
    StatPath false
    </LocationMatch>
    <IfModule mod_weblogic.c>
    WebLogicHost 127.0.0.1
    WebLogicPort 7001
    HungServerRecoverSecs 300
    ConnectTimeoutSecs 5
    </IfModule>
    When i access the url with out specifying port 7001 it's not working.
    I checked the /var/apache/logs/error_log file. Im getting the error as
    child pid 805 exit signal Segmentation Fault (11)
    Am i missing anything here?
    Thank you
    Raja

    You may want to check the certifications for Solaris 9 and the Apache plug-in at
    http://e-docs.bea.com/wls/certifications/certifications/sun_solaris9.html#40366.
    It looks like you will have to upgrade to at least Apache 2.0.39. We had to do
    this on Solaris 8 as well.
    "Raja Balasubramanian" <[email protected]> wrote:
    Thank you Eric,
    I will do that
    Raja
    "Eric Gross" <[email protected]> wrote in message
    news:[email protected]...
    I believe this is going to require more debugging such as attachinga
    debugger(gdb) to Apache and getting a backtrace.
    I suggest opening up a support case.
    Regards,
    Eric
    "Raja Balasubramanian" <[email protected]> wrote in message
    news:[email protected]...
    Hi Eric,
    Thank you for the replies.
    I tried with the same test as you specified. Still im getting the
    same
    problem.
    [Mon Mar 10 13:57:21 2003] [notice] child pid 1184 exit signal
    Segmentation Fault (11)
    Im running Solaris 9 in SPARC platform. It's a Sun E450 server.
    Im using the default apache package which comes with Solaris 9. Ididn't
    do
    anything with apache.
    Bea website says that Weblogic 7 sp2 is certified for Soalris 9.
    That's
    y
    i
    installed Solaris 9.
    I tested the same on a Linux Machine (Redhat Linux 7.1 on IA). It
    works
    fine
    without any problem.
    How can i make things work?
    Thank you for your kind replies
    Raja
    "Eric Gross" <[email protected]> wrote in message
    news:[email protected]...
    Looks like it should work.
    Let's simplify your test:
    <Location /test>
    WebLogicHost 127.0.0.1
    WebLogicPort 7001
    Debug ALL
    DebugConfigInfo ON
    SetHandler weblogic-handler
    </Location>
    Try with just that.
    Another thing is that I am unsure as to whether we have tested
    with
    Solaris
    9. This is SPARC right? Also, can you outline the steps you took
    when
    building apache? Did you use GCC?
    Thanks,
    Eric
    "Raja Balasubramanian" <[email protected]> wrote
    in
    message
    news:[email protected]...
    Hi,
    Now i changed to mod_wl_ssl.so.
    And i changed the httpd.conf as
    LoadModule weblogic_module libexec/mod_wl_ssl.so
    <IfModule mod_weblogic.c>
    WebLogicHost 127.0.0.1
    WebLogicPort 7001
    Debug ALL
    DebugConfigInfo ON
    StatPath true
    HungServerRecoverSecs 300
    ConnectTimeoutSecs 5
    </IfModule>
    But im getting the same error. NO wlproxy.log file is created
    in my
    server.
    I tried Debug ON also. Still the same.
    Am i doing anything wrong?
    Please help me...
    Thank you
    Raja
    "Eric Gross" <[email protected]> wrote in message
    news:[email protected]...
    That means that your apache instance is compiled with -DEAPI
    and
    should
    use
    the mod_wl_ssl.so.
    Can you please try to set Debug ALL and get the log in
    /tmp/wlproxy.log
    and
    share that?
    Thanks,
    Eric
    "Raja Balasubramanian" <[email protected]> wrote
    in
    message
    news:[email protected]...
    Hi Eric,
    When im using mod_wl.so im getting warning from Apache as
    [Mon Mar 10 12:41:15 2003] [warn] Loaded DSO
    libexec/mod_wl.so
    uses
    plain Apache 1.3 API, this module might crash under
    EAPI!
    (please
    recompile it with -DEAPI)
    Thank you
    Raja
    "Eric Gross" <[email protected]> wrote in message
    news:[email protected]...
    Are you using modssl or any apache with EAPI compiled in?
    Otherwise, you should be using the mod_wl.so.
    As well, please set Debug ALL to see if we can get more
    debug.
    Thanks,
    Eric
    "Raja Balasubramanian" <[email protected]>
    wrote
    in
    message
    news:[email protected]...
    Hi all,
    Im trying to set up Apache weblogic plug-in, and im having
    problems
    with
    that.
    Im running Solaris 9 with Apache/1.3.26 (Unix) and Weblogic
    7
    with
    sp2.
    Here is what i did:
    I copied mod_wl_ssl.so from
    /bea/weblogic700/server/lib/solaris/mod_wl_ssl.so to/usr/apache/libexec
    Added entries in httpd.conf as
    LoadModule weblogic_module/usr/apache/libexec/mod_wl_ssl.so
    AddModule mod_weblogic.c
    <LocationMatch "\.jsp$">
    SetHandler weblogic-handler
    StatPath false
    </LocationMatch>
    <LocationMatch "/(service1|service2|service3)/">
    SetHandler weblogic-handler
    StatPath false
    </LocationMatch>
    <IfModule mod_weblogic.c>
    WebLogicHost 127.0.0.1
    WebLogicPort 7001
    HungServerRecoverSecs 300
    ConnectTimeoutSecs 5
    </IfModule>
    When i access the url with out specifying port 7001 it's
    not
    working.
    I checked the /var/apache/logs/error_log file. Im getting
    the
    error
    as
    child pid 805 exit signal Segmentation Fault
    (11)
    Am i missing anything here?
    Thank you
    Raja

  • Segmentation fault on program start

    everytime i try to start firefox it exits with "Segmentation fault"
    there is no further output
    after an upgrade today matlab does the same

    curmet wrote:
    i just downgraded:
    kernel26-firmware-2.6.31-1-i686.pkg.tar.gz 
    kernel26-2.6.31.6-1-i686.pkg.tar.gz 
    mesa-7.6-2-i686.pkg.tar.gz 
    xorg-server-1.7.3-1-i686.pkg.tar.gz 
    gnupg2-2.0.13-3-i686.pkg.tar.gz
    libgl-7.6-2-i686.pkg.tar.gz 
    hdparm-9.27-1-i686.pkg.tar.gz
    i don't know which ones fault is was, but matlab works again
    firefox isn't that important
    try upgrading one by one... then you would know the one package.  and file a report on it...

  • Apache 2.2.17-2 Segmentation Fault

    Hi,
    I just upgraded apache to the 2.2.17-2 version and now all my php/mysql pages that have a login ($_SESSION)
    crash the server (apache child segfaults):
    [Tue May 10 12:50:54 2011] [notice] child pid 11446 exit signal Segmentation fault (11)
    Anyone encountered the same problem?
    UPDATE: It works with apache 2.2.17-1 if you stop and start the daemon after the downgrade.
    Thanks,
    Adrian.
    Last edited by symtab (2011-05-10 10:14:21)

    There is already a thread regarding this.
    https://bbs.archlinux.org/viewtopic.php?id=118671
    where it says that downgrading apache to 2.2.17-1 resolves this issue.

  • Apache Exit Signal Segmentaiton Fault

    Hi folks.
    Was coding along, then BOOM! I started getting these in my apache logs:
    [notice] child pid 89 exit signal Segmentation fault (11)
    So what's the problem? Why all of a sudden I can't view anything? It is reaching into my coded files and responding with the proper feedback, and now apache won't play.
    I've checked the forums and it seems others have faced the same problem. But I can't figure out what they did to fix it. I don't use iDisk.
    Any help appreciated.
    Cheers

    Fixed it. Was a combination of regex in an apache directive, and my own code.

  • Segmentation fault on program exit

    Hallo to everybody
    To whoever could help me, I wish to describe a big problem I am facing on my SOLARIS 9 server (UltraSparc III+).
    I am porting some C applications (without multithread) from UNIX SCO to Solaris 9 (I am using Sun Studio 10.),
    but all the executables generated end with a Segmentation Fault(coredump).
    For instance, when using dbx with my ua_wait executable, going step by step I can see the program execution without any error
    till the end of the program (the last closing brackets): after that, the program crashes.
    Additionally, when launching dbx with the following command:
    dbx -C -I /usr1/source/UA605/UTOOLS bin/ua_wait
    I get the following output:
    Reading ua_wait
    Reading ld.so.1
    Reading rtcapihook.so
    Reading libma.so
    Reading libm.so.1
    Reading libc.so.1
    Reading libdl.so.1
    Reading libc_psr.so.1
    Reading rtcaudit.so
    Reading libmapmalloc.so.1
    Reading libgen.so.1
    Reading rtcboot.so
    Reading librtc.so
    After setting the RTC features issuing the following command:
    (dbx) check -all
    and launching the execution with:
    (dbx) run
    I get the following output:
    Running: ua_wait
    (process id 10907)
    RTC: Enabling Error Checking...
    signal SEGV (no mapping at the fault address) in evfind at 0xf35148f4
    0xf35148f4: evfind+0x001c: ld &#91;%i1&#93;, %i5
    dbx: Stopped within call to '__rtc_init'. Starting new command interpreter
    Is there anyone who can help me to understand what's going on?
    Please note that all the executables must be 32 bit ones, as they have to link to a 32 bit shared library (libma.so) previously installed by another software.
    The output of the command
    file libma.so
    is:
    libma.so: ELF 32-bit MSB dynamic lib SPARC Version 1, dynamically linked, not stripped
    Additional information about the generation of the executables:
    In order to generate the ua_wait executable, I first compiled the object files in this way:
    cc -g -G -c <source-file> -DSun -xtarget=ultra3 -xarch=v8plus -xcode=pic32 -features=no%extinl
    then I compiled the static libraries this way:
    ar -c -r -u <static library> <object list>
    and then I built the executable through the LD command this way:
    ld -o ua_wait ua_wait.o staticlib1.a staticlib2.a staticlib3.a staticlib4.a libma.so -lm -lc
    The output of the
    file ua_wait
    command is
    ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required, dynamically linked, not stripped
    Thanks in advance,
    Diego Curti

    Wouldn't this be more appropriate in one of the Sun Studio forums?
    http://forum.sun.com/index.jspa
    ... particularly for 32bit programming in a 64bit environment, on 64bit hardware ?
    This is actually a "how do I install my OS from CD media" forum.

  • [SOLVED]Easytag Segmentation fault with kde3 (kdemod)

    (easytag:4811): Gtk-WARNING **: libbonoboui-2.so.0: cannot open shared object file: No such file or directory
    (easytag:4811): Gtk-WARNING **: libbonoboui-2.so.0: cannot open shared object file: No such file or directory
    EasyTAG 2.1.5: Abnormal exit! (PId: 4811).
    Received signal SIGSEGV (11)
    You have probably found a bug in EasyTAG. Please, send a bug report with a gdb backtrace ('gdb easytag core' then 'bt' and 'l') and informations to reproduce it to [email protected]
    Segmentation fault
    If I start up easytag while running KDE3 (kdemod), I get this problem every time. I have tried running it with openbox and it runs without a problem. I have deleted .easytag and reinstalled, but the problem continues.
    EDIT: Installing libbonoboui resolves the problem. It looks like the there is a dependency issue here, I'll file a bug.
    Last edited by alleyoopster (2008-08-02 17:18:06)

    Allan wrote:Do a "pacman -S libbonoboui" an all should be good.  I don't understand why this only occurs in KDEmod though.  Is that on two different computers.   File a bug report about the missing dependancy.
    Yeah thanks Allan, I figured it out. Bug report at http://bugs.archlinux.org/task/11094
    No it is on the same machine
    Last edited by alleyoopster (2008-08-02 17:18:28)

  • Ssh segmentation fault

    After the most recent 10.5.2 security update, it appears something broke ssh. Now each time I launch SSH, I get an immediate segmentation fault (no core dump). However, if I run the command as root (sudo ssh <address>) it appears to work.
    Were any file permissions adjusted in the linked libraries or something? I suspect something is fishy if root can run it okay.
    Has anyone else encountered this?
    Cheers,

    Here is my crash log..
    Mar 21 09:54:42 matthew-mcgowans-macbook com.apple.launchd[102] (org.openbsd.ssh-agent[536]): Exited abnormally: Bus error
    Mar 21 09:54:42 matthew-mcgowans-macbook com.apple.launchd[102] (org.openbsd.ssh-agent): Throttling respawn: Will start in 10 seconds
    open your console window (spotlight it) and tell me if it gives you the same errors
    edit: Repairing permissions didnt work...trying other trouble shooting attempts will post back
    edit: Resetting PRAM, and everything I could think of didnt work....
    Message was edited by: Fayettemat

  • Segment fault (Core dump)

    Hi
    when i run the following Pro*c file in Unix Environment im getting the SEGMENTATION FAULT(CORE DUMP) error. I used DBX to debug the code. I couldnt find out the proper reason for this error form the dbx output.
    This is the output i got from DBX.
    *signal SEGV (no mapping at the fault address) in _doprnt at 0xfb98736c*
    *0xfb98736c: _doprnt+0x2798:     stb     %o0, [%o1]*
    I did the showmemuse and show leaks, the output for this commands :
    (dbx) showmemuse
    Checking for memory use...
    Blocks in use report (blocks in use: 575 total size: 328086 bytes)
    Total % of Num of Avg Allocation call stack
    Size All Blocks Size
    ======= ==== ====== ====== =======================================
    134876 41% 30 4495 kpummapg < kghgex
    18098 5% 1 18098 lxldlbb < lxlinit < kpummpin < kpupin < sqgctx < sqgrct < sqlcmex < sqlcxt
    16552 5% 4 4138 kogmapg < kghgex
    16516 5% 4 4129 kogmapg < kogmasg
    12288 3% 6 2048 nlhtnsl < nlhthnew
    10350 3% 5 2070 calloc < nsbGetBFS
    9688 2% 1 9688 kouogini < kouoini < kpuinit0 < kpuinit < sqgctx < sqgrct < sqlcmex < sqlcxt
    8200 2% 1 8200 findbuf < doprnt < _fprintf < main
    8120 2% 4 2030 sqlrlc < sqlcopydfn
    8080 2% 1 8080 kpuinit0 < kpuinit < sqgctx < sqgrct < sqlcmex < sqlcxt < main
    7168 2% 1 7168 calloc < nsgbliuc < nsgblini < niotns < nigcall < osncon < kpuadef < upiini
    7168 2% 3 2389 lxldlod < lxdlobj
    5976 1% 4 1494 sqlrlc < sqlcopydfn
    4640 1% 1 4640 sqlrlc < sqldrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    4640 1% 1 4640 sqlrlc < sqlbrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    4128 1% 1 4128 calloc < nsgbliuc < nsgblini < niotns < nigcall < osncon < kpuadef < upiini
    4024 1% 1 4024 sqlrlc < sqlbrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    3408 1% 1 3408 sqlrlc < sqldrl < sqlexp < sqlcmex < sqlcxt < get_pub_dates < main
    2452 <1% 8 306 calloc < nsmal
    2156 <1% 7 308 calloc < nlemfins
    (dbx) showleaks
    Checking for memory leaks...
    Actual leaks report (actual leaks: 1 total size: 30 bytes)
    Total Num of Leaked Allocation call stack
    Size Blocks Block
    Address
    ====== ====== ========== =======================================
    30 1 0x9c9c8 getOutFileName < main
    Possible leaks report (possible leaks: 0 total size: 0 bytes)
    i know its because of Pad pointer and something related to Pointer or array overflow. But i couldnt find out where exactly happening....
    Following is my Code, please help me to find out the error and what i need to change in my code:
    #ifndef ORA_PROC
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <time.h>
    #include <ctype.h>
    #include <math.h>
    #else
    typedef struct FILE FILE;
    #endif
    /*** Added by TCS Begins ***/
    char getOutFileName(char );
    char getEnvVar(char );
    void prepare_declare_oracle_cursors();
    void get_calendar_dates();
    void get_issues();
    void get_master_cusip_no();
    void get_run_date_finish();
    void get_payments();
    int get_pub_dates();
    void get_rights();
    void get_s_h_meetings();
    void get_special_codes();
    void get_agents();
    void get_currency();
    void get_payment_codes();
    void get_issue_codes();
    void get_standard_footnotes();
    void get_index_codes();
    void get_exchanges();
    void get_tax_codes();
    void get_tenders();
    int check_if_holiday(int );
    void sql_error(int , int , char *);
    void login_error();
    void no_pub_dates();
    void no_cal_dates();
    void no_finish_date();
    void save_payment_footnote(char , char [3],int , char );
    void save_issue_footnote(char );
    int print_footnotes();
    int print_foreign_tax();
    int get_partial_run_time();
    void save_rght_footnotes();
    int print_supplimental();
    int convert_tender_price(char *);
    void pad_s_h_meetings();
    int strip_out_codes(char *);
    char *getSqlLogonString();
    /**** TCS ADD Ends ****/
    EXEC SQL INCLUDE sqlca;
    EXEC SQL INCLUDE ddr_create_all_tapes.h;
    #define TRUE 1
    #define ORA_NOT_FOUND     ( sqlca.sqlcode == 1403 )
    /* The Definitions of SUCCESS and FAILURE were switched to test the
    idea that SUCCESS should be Zero and FAILURE should be Non-Zero
    #define SUCCESS 1
    #define FAILURE 0
    #define SUCCESS 0
    #define FAILURE -1
    #define SYSOK          0
    #define SYSERR          1
    #define DEBUGGING     0
    #define DEBUG_LEVEL     0
    /*     #define DEBUGGING     1
         #define DEBUG_LEVEL     2
    int          first_cal_date;
    int          footnote_count;
    int          foreign_count;
    int          last_cal_date;
    int          total_records;
    int          which_tape = 0;
    char          cusip_table_name[30];
    char          field_type_code;
    char          final_cusip_number[10];
    /**** char          footnote_text[300][300];
    char          foreign_text[60][100]; **** Commented by TCS as per the change request ****/
    /*** Added by TCS as per the change request ***/
    char          footnote_text[200][300];
    char          foreign_text[200][300];
    /*** TCS Add Ends ***/
    char          freq_type_code;
    char          init_cusip_number[10];
    char          rec_type_code;
    char          payment_where_clause[600];
    char          rights_where_clause[600];
    char          tenders_where_clause[600];
    char          s_h_meet_where_clause[600];
    char          last_run_time[18];
    char          supp_info_buffer[321];
    int          call_flag;
    int          tenders_flag;
    int          rights_flag;
    int          s_h_meet_flag;
    int          rght_foot_pos;
    double          hold_double;
    int          hold_int;
    char          hold_char[100];
    int i=0;
    FILE      *fp;
    FILE     pfp;          / this is used for a report file to correspond to
    the partial tape file */
    int main(int argc, char argv[]) / Modified by TCS */
         char          ddr_tape_name[100];
         char          ddr_partial_rpt[100];
         char          copyright_notice[100];
         long           file_position;
         char           *logname;
         /* READ IN PARAMETERS AND SET UP VARIABLES */
         memset (oracle_uid.arr, 0, sizeof(oracle_uid.arr));
    memset (oracle_pwd.arr, 0, sizeof(oracle_pwd.arr));
    strcpy (oracle_uid.arr, argv[1]);
    oracle_uid.len = strlen(oracle_uid.arr);
    strcpy (oracle_pwd.arr, argv[2]);
    oracle_pwd.len = strlen(oracle_pwd.arr);
    printf("Calling getSqlLogonString");
    logname = getSqlLogonString();
         which_tape = atoi(argv[1]);
         memset (last_run_time, 0, sizeof(last_run_time));
         if ( ( DEBUGGING ) && ( DEBUG_LEVEL > 1 ) )
         printf ("Oracle username: %s\n", oracle_uid.arr);
         printf ("Oracle password: %s\n", oracle_pwd.arr);
         printf ("Oracle username/password@database: %s\n", logname); /** Added by TCS **/
         printf ("Which Tape: %d\n", which_tape);
         hold_double = 0.0;
         hold_int = 0;
         memset (hold_char, ' ', sizeof(hold_char));
         EXEC SQL WHENEVER SQLERROR DO login_error();
    /*      EXEC SQL CONNECT :oracle_uid IDENTIFIED BY :oracle_pwd; */
         EXEC SQL CONNECT :logname ;
         printf ("Connected to ORACLE... \n");
         EXEC SQL WHENEVER SQLERROR continue;
         get_pub_dates();
         memset (ddr_tape_name, 0, sizeof(ddr_tape_name));
         memset (ddr_partial_rpt, 0, sizeof(ddr_partial_rpt));
         memset (cusip_table_name, 0, sizeof(cusip_table_name));
         memset (payment_where_clause, 0, sizeof(payment_where_clause));
         memset (rights_where_clause, 0, sizeof(rights_where_clause));
         memset (tenders_where_clause, 0, sizeof(tenders_where_clause));
         memset (s_h_meet_where_clause, 0, sizeof(s_h_meet_where_clause));
         /* SET UP VARIABLES BASED ON THE DIFFERENT FREQUENCY OF TAPE */
         switch (which_tape)
              case 0:
                   get_partial_run_time();
                   /*sprintf (ddr_tape_name,
                        "idb_tape$out:ddr_partial%1d.asc", p_count); ** Comented by TCS **/
                   sprintf (ddr_tape_name,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_PARTIAL_TAPE_TABLE");
                   /*sprintf (ddr_partial_rpt,
                        "idb_tape$out:ddr_partial%1d.rpt", p_count); ** Commented by TCS **/
                   sprintf (ddr_partial_rpt,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_RPT")); /* Added by TCS */
                   get_calendar_dates();
                   freq_type_code = '0';
                   sprintf (payment_where_clause,
    "AND PYMT_PUB_DATE IS NULL \
    AND ((PYMT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND PYMT_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (PYMT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND PYMT_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   sprintf (rights_where_clause,
    "AND RGHT_PUB_DATE IS NULL \
    AND ((RGHT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND RGHT_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (RGHT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND RGHT_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   sprintf (tenders_where_clause,
    "AND TNDR_PUB_DATE IS NULL \
    AND ((TNDR_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND TNDR_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (TNDR_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND TNDR_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   sprintf (s_h_meet_where_clause,
    "AND SMTG_PUB_DATE IS NULL \
    AND ((SMTG_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND SMTG_ADD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (SMTG_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI') \
    AND SMTG_UPD_DATE_TIME < TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_from.arr, p_to.arr, p_from.arr, p_to.arr);
                   break;
              case 3:
    /*     PARTIAL 5     */
                   get_partial_run_time();
                   p_count = 5;
                   /**sprintf (ddr_tape_name,
                        "idb_tape$out:ddr_partial%1d.asc", p_count); ** Comented by TCS **/
                   sprintf (ddr_tape_name,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_ASC")); /* Added by TCS */
    /* for testing only I am using seperate TABLE     */
                   /**strcpy (cusip_table_name,
                        "IDB.DDR_PARTIAL5_TAPE_TABLE"); ** Commented by TCS **/
                   strcpy (cusip_table_name,
                        "IDB.DDR_PARTIAL_TAPE_TABLE");
                   /*sprintf (ddr_partial_rpt,
                        "idb_tape$out:ddr_partial%1d.rpt", p_count); ** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s%1d.%s",getOutFileName("DDR_PARTIAL"),p_count,getEnvVar("DDR_PARTIAL_EXT_RPT")); /* Added by TCS */
                   get_calendar_dates();
                   freq_type_code = '3';
                   sprintf (payment_where_clause,
    "AND ( (PYMT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (PYMT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   sprintf (rights_where_clause,
    "AND ((RGHT_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (RGHT_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   sprintf (tenders_where_clause,
    "AND ((TNDR_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (TNDR_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   sprintf (s_h_meet_where_clause,
    "AND ((SMTG_ADD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')) \
    OR (SMTG_UPD_DATE_TIME >= TO_DATE('%15.15s', 'DD-MON-RR HH24:MI')))",
    p_to.arr, p_to.arr);
                   break;
              case 1:
                   /**strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_daily_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s",getOutFileName("DDR_DAILY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_DAILY_TAPE_TABLE");
                   get_calendar_dates();
                   freq_type_code = '1';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)", pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)", pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (TNDR_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR TNDR_PUB_DATE IS NULL)", pub_to_date.arr);
                   sprintf (s_h_meet_where_clause, "AND (SMTG_PUB_DATE \
    = TO_DATE('%s','DD-MON-RR') OR SMTG_PUB_DATE IS NULL)", pub_to_date.arr);
                   break;
              case 5:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_weekly_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name, "%s",getOutFileName("DDR_WEEKLY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_WEEKLY_TAPE_TABLE");
                   get_calendar_dates();
                   freq_type_code = '2';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (TNDR_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR TNDR_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   /* ram - 6/28/95 - reverted back to original criteria: */
                   /* include on weekly tape based on pub-date, regardless of */
                   /* whether in calendar or not */
                   sprintf (s_h_meet_where_clause, "AND (SMTG_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR SMTG_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   break;
              case 12:
                   /* ram - 7/13/95          */
                   /* changed monthly "6" to "12" */
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_monthly_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name, "%s", getOutFileName("DDR_MONTHLY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_MONTHLY_TAPE_TABLE");
                   freq_type_code = '3';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (TNDR_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR TNDR_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   break;
              case 8:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_quarterly_tape.asc");** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s",getOutFileName("DDR_QUARTERLY_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_QUARTERLY_TAPE_TABLE");
                   freq_type_code = '3';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (A.TNDR_TENDER_DATE \
    = TO_DATE('%s','DD-MON-RR'))", pub_to_date.arr);               break;
              case 9:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_annual_tape.asc"); ** Comented by TCS **/
                   sprintf (ddr_tape_name,"%s", getOutFileName("DDR_ANNUAL_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_ANNUAL_TAPE_TABLE");
                   freq_type_code = '4';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') \
    OR PYMT_PUB_DATE = TO_DATE('29-OCT-1929','DD-MON-YYYY'))",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (A.TNDR_TENDER_DATE \
    = TO_DATE('%s','DD-MON-RR'))", pub_to_date.arr);               break;
              case 15:
                   /*strcpy (ddr_tape_name,
                        "idb_tape$out:ddr_general_tape.asc"); ** Commented by TCS **/
                   sprintf (ddr_tape_name,"%s", getOutFileName("DDR_GENERAL_TAPE_ASC")); /* Added by TCS */
                   strcpy (cusip_table_name,
                        "IDB.DDR_GENERAL_TAPE_TABLE");
                   freq_type_code = '3';
                   sprintf (payment_where_clause, "AND (PYMT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR PYMT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (rights_where_clause, "AND (RGHT_PUB_DATE \
    BETWEEN to_date('%s','DD-MON-RR') AND to_date('%s','DD-MON-RR') OR RGHT_PUB_DATE IS NULL)",
    pub_from_date.arr, pub_to_date.arr);
                   sprintf (tenders_where_clause, "AND (A.TNDR_TENDER_DATE \
    = TO_DATE('%s','DD-MON-RR'))", pub_to_date.arr);               break;
              default:
                   exit (printf ("Invalid tape option: %d\n", which_tape)); /*** %s changed by TCS to %d ***/
                   break;
         if ((fp = fopen(ddr_tape_name, "w+")) == NULL)
              exit (printf ("Unable to open asc <%s> file for write access\n",
                   ddr_tape_name));
    /*     GR. Partial 5
         if (which_tape == 0 || which_tape == 3 )
              if ((pfp = fopen(ddr_partial_rpt, "w+")) == NULL)
                   exit (printf ("Unable to open asc <%s> file \
    for write access\n", ddr_partial_rpt));
         /* WRITE THE HEADER RECORD ON THE TAPE */
         memset (copyright_notice, 0, sizeof(copyright_notice));
         sprintf (copyright_notice, "COPYRIGHT (c) %.4s STANDARD & POOR'S \
    CORPORATION. ALL RIGHTS RESERVED", year.arr);
         fprintf (fp, "%-80.80sDIVIDEND%8d%17.17s ",
    copyright_notice, control_date, run_date_start.arr);
         file_position = ftell(fp);
         fprintf (fp, "\n");
         total_records = 0;
         /* GET THE SPECIAL CATEGORY RECORDS */
         get_special_codes();
         /* SELECT FROM THE DRIVER TABLE TO GET ALL THE OTHER RECORDS */
         get_master_cusip_no();
         printf("After get_master_cusip_no()");
         get_run_date_finish();
         printf("After get_run_date_finish()");
         if ( DEBUGGING )
              printf ("initial cusip = %s\n", init_cusip_number);
              printf ("final cusip = %s\n", final_cusip_number);
              printf ("record type is %c\n", rec_type_code);
         /* WRITE THE TRAILER RECORD */
         fprintf (fp, "%8d%-17.17s%07d%-9.9s1%-9.9s%c\n", control_date,
    run_date_finish.arr, total_records, init_cusip_number , final_cusip_number,
    rec_type_code);
         /* re-wind and add to the header record ... */
         rewind(fp);
         fseek(fp, file_position - 33, 0);
         fprintf (fp, "%07d%-9.9s1%-9.9s%c", total_records, init_cusip_number,
    final_cusip_number, rec_type_code);
         fclose(fp);
    /*     GR Partial 5
         if (which_tape == 0 || which_tape == 3 )
              fclose(pfp);
         printf ("\nDONE: %07d%-9.9s1%-9.9s%c\n", total_records, init_cusip_number,
    final_cusip_number, rec_type_code);
    return (0); /*** Added by TCS ***/
    void prepare_declare_oracle_cursors() /* Modified by TCS */
         /* We'll us dynamic sql to get the appropriate where clause but use */
         /* a bind variable for the master cusip number. So we prepare and */
         /* declare get_issues, get_payments, get_tenders, get rights, and */
         /* get_s_h_meetings cursors only once, outside the driving loop. */
         EXEC SQL BEGIN DECLARE SECTION;
              /**** TCS Comment begins as per the change request ****
              VARCHAR          sql_stmt1[1500];*/     /* issues */
              /*VARCHAR          sql_stmt2[3000];     *//* payments */
              /*VARCHAR          sql_stmt3[500];          *//* tenders */
              /*VARCHAR          sql_stmt4[500];          *//* rights */
              /*VARCHAR          sql_stmt5[500];          *//* s_h_meetings */
              /**** TCS Add begins as per the change request ****/
              VARCHAR          sql_stmt1[2000];     /* issues */
              VARCHAR          sql_stmt2[4000];     /* payments */
              VARCHAR          sql_stmt3[1000];     /* tenders */
              VARCHAR          sql_stmt4[1000];     /* rights */
              VARCHAR          sql_stmt5[1000];     /* s_h_meetings */
              /**** TCS Add ends ****/
         EXEC SQL END DECLARE SECTION;
         /* prepare and declare the get_issues cursor */
         memset (sql_stmt1.arr, 0, sizeof(sql_stmt1.arr));
         sprintf (sql_stmt1.arr, "SELECT \
    A.ISSU_PAR_VALUE, \
    DECODE (A.ISSU_MARKET_SYMBOL||A.ISSU_NASDAQ,'OTCY','NASD', A.ISSU_MARKET_SYMBOL), \
    A.ISSU_C_RATE, A.ISSU_C_FREQ, A.ISSU_C_NEW_AMOUNT, A.ISSU_C_NEW_Q1, \
    A.ISSU_C_NEW_Q2, A.ISSU_C_NEW_Q3, A.ISSU_C_OLD_AMOUNT, A.ISSU_C_OLD_Q1, \
    A.ISSU_C_OLD_Q2, A.ISSU_C_OLD_Q3, A.ISSU_CURRENCY, \
    A.ISSU_UPD_HIS, A.ISSU_COMMENT, A.TAX_EXEMPT_FLAG,\
    B.SEC_TYPE_CODE, B.ACQ_BY_IND, B.ACQ_ISSUER_NO, \
    rtrim(substr(B.ACQ_ISSUER_DESCR,1,30)), \
    B.INDEX_CODE, B.TRFR_AGT_CODE, B.NY_AGT_CODE, B.TICKER_SYMBOL, \
    B.TICKER_SYMBOL2, \
    rtrim(substr(C.ISSR_DDR_ISSUER_DESCR,1,60)), \
    rtrim(substr(E.ISSUE_DESCR,1,30)), \
    rtrim(substr(D.ISSUER_DESCR1,1,30)), \
    F.TRFR_DAYS \
    FROM IDB.DDR_ISSUES A, IDB.DDR_ISSUES_2 B, IDB.DDR_ISSUERS C, \
    BLIS.CUSIP_ISSUERS D, BLIS.CUSIP_ISSUES E, IDB.DDR_TRANSFER F \
    WHERE A.ISSU_CUSIP_NO = :master_cusip_no \
    AND A.ISSU_CUSIP_NO = B.ISSU_CUSIP_NO(+) \
    AND SUBSTR(A.ISSU_CUSIP_NO, 1, 6) = C.ISSR_ISSUER_NO(+) \
    AND SUBSTR(A.ISSU_CUSIP_NO, 1, 6) = D.ISSUER_NO \
    AND A.ISSU_CUSIP_NO = E.CUSIP_NO \
    AND A.ISSU_TRANSFER_CODE = F.TRFR_TR_CD(+) ");
         sql_stmt1.len = strlen(sql_stmt1.arr);
         EXEC SQL PREPARE ISSUES FROM :sql_stmt1;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing ISSUES");
         EXEC SQL DECLARE ISSUES_C CURSOR FOR ISSUES;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring ISSUES");
         /* now the get_payments cursor */
         memset (sql_stmt2.arr, 0, sizeof(sql_stmt2.arr));
         sprintf (sql_stmt2.arr, "SELECT \
    a.PYMT_RP_DIV, \
    a.PYMT_RP_DEC, \
    a.PYMT_RP_EXD, \
    a.PYMT_RP_REC, \
    a.PYMT_RP_PAY, \
    a.PYMT_RP_DUE, \
    a.PYMT_RP_TAX, \
    a.PYMT_RP_ANN, \
    a.PYMT_PRP_DIV, \
    a.PYMT_PRP_DEC, \
    a.PYMT_PRP_EXD, \
    a.PYMT_PRP_REC, \
    a.PYMT_PRP_PAY, \
    a.PYMT_PRP_DUE, \
    a.PYMT_PRP_TAX, \
    a.PYMT_PRP_ANN, \
    NVL(a.PYMT_SEQ_NO,0), \
    TO_CHAR(a.PYMT_DECLARED, 'YYMMDD'), \
    TO_CHAR(a.PYMT_EX_DATE, 'YYMMDD'), \
    TO_CHAR(a.PYMT_STK_REC, 'YYMMDD'), \
    TO_CHAR(a.PYMT_TRANSFER_DATE, 'YYMMDD'), \
    TO_CHAR(a.PYMT_PAYABLE, 'YYMMDD'), \
    a.PYMT_CODES, \
    NVL(a.PYMT_CASH_DIVD,0.0), \
    NVL(b.ORDINARY_INCOME,0.0), \
    NVL(b.CAP_GAINS,0.0), \
    NVL(b.SHORT_TM_CAP_GAINS,0.0), \
    NVL(b.LONG_TM_CAP_GAINS,0.0), \
    NVL(b.RETURN_OF_CAPITAL,0.0), \
    b.STK_DIVD_IND, \
    NVL(a.PYMT_STK_DIVD,0), \
    b.FRAC_IN_CASH_STK_IND, \
    NVL(b.FRAC_IN_CASH_PRICE,0.0), \
    NVL(a.PYMT_SPLIT_NEW,0), \
    NVL(a.PYMT_SPLIT_OLD,0), \
    TO_CHAR(a.PYMT_DB_DATE, 'YYMMDD'), \
    NVL(b.ARREARS_PAID,0.0), \
    NVL(b.ARREARS_DUE,0.0), \
    b.SPINOFF_IND, \
    b.SPINOFF_ISSUE_NO, \
    b.SPINOFF_ISSUER_DESCR, \
    b.SPINOFF_ISSUE_DESCR, \
    NVL(b.TAX_CODE,0), \
    NVL(b.TAX_CODE_2,0), \
    NVL(b.OLD_SEQ_NO,0), \
    b.ORDINARY_INCOME_CODE, \
    b.CAP_GAINS_CODE, \
    b.SHORT_TM_CAP_GAINS_CODE, \
    b.LONG_TM_CAP_GAINS_CODE, \
    b.RETURN_OF_CAPITAL_CODE, \
    TO_CHAR(b.CALL_DATE, 'YYMMDD'), \
    NVL(b.CALL_PRICE,0.0), \
    b.CALL_PRICE_CURRENCY, \
    b.CALL_AGT_NO, \
    b.ACCRUED_DIVD_IND, \
    TO_CHAR(a.PYMT_DB_DATE, 'YYMMDD'), \
    a.PYMT_DB_TEXT, \
    a.PYMT_DVD_TEXT, \
    a.PYMT_YEAR, \
    TO_CHAR(a.PYMT_STK_REC, 'fmMon dd'), \
    TO_CHAR(a.PYMT_DB_DATE, 'fmMon dd'), \
    b.NY_CALL_AGT_NO, \
    NVL(b.FOREIGN_TAX_RATE, 0.0), \
    NVL(b.NET_RATE, 0.0), \
    NVL(b.FEE, 0.0), \
    NVL(b.COMMISSION, 0.0), \
    a.PYMT_CASH_DIVD_FNS, \
    a.PYMT_STK_DIVD_FNS, \
    a.PYMT_DECLARED_FNS, \
    a.PYMT_EX_DATE_FNS, \
    a.PYMT_STK_REC_FNS, \
    a.PYMT_PAYABLE_FNS, \
    a.PYMT_SPLIT_FNS, \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_PUB_DATE, 'YYYYMMDD')), 0), \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_TRANSFER_DATE, 'YYYYMMDD')), 0), \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_STK_REC, 'YYYYMMDD')), 0), \
    NVL (TO_NUMBER (TO_CHAR(a.PYMT_DB_DATE, 'YYYYMMDD')), 0) \
    FROM IDB.DDR_PAYMENTS A, IDB.DDR_PAYMENTS_2 B \
    WHERE A.PYMT_CUSIP_NO = :master_cusip_no \
    AND A.PYMT_CUSIP_NO = B.PYMT_CUSIP_NO (+) \
    AND A.PYMT_SEQ_NO = B.PYMT_SEQ_NO (+) \
    AND NVL(INSTR(A.PYMT_CODES,'CO'),0) NOT IN (1,3,5,7,9,11) ");
         strcat (sql_stmt2.arr, payment_where_clause);
         sql_stmt2.len = strlen(sql_stmt2.arr);
         EXEC SQL PREPARE PAYMENTS FROM :sql_stmt2;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing PAYMENTS");
         EXEC SQL DECLARE PAYMENTS_C CURSOR FOR PAYMENTS;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring PAYMENTS");
         /* now the get_tenders cursor */
         memset (sql_stmt3.arr, 0, sizeof(sql_stmt3.arr));
    /* FXL ADD SUBSTR to tndr_price_qual: substr(A.TNDR_PRICE_QUAL,1,14), 3/23/99,
    to to_number 3/29/99 */
         sprintf (sql_stmt3.arr, "SELECT \
    B.TNDR_AGT_NO, \
    B.NY_AGT_NO, \
    TO_CHAR(A.TNDR_TENDER_DATE, 'YYMMDD'), \
    A.TNDR_PRICE, \
    to_number(A.TNDR_PRICE_QUAL), \
    A.TNDR_TE_SIZE, \
    TNDR_TE_TEXT_1 \
    FROM IDB.DDR_TENDERS A, IDB.DDR_TENDERS_2 B \
    WHERE TNDR_CUSIP_NO = :master_cusip_no \
    AND TNDR_CUSIP_NO = TNDR_ISSUE_NO(+) \
    AND A.TNDR_TENDER_DATE = B.TNDR_TENDER_DATE(+) ");
         strcat (sql_stmt3.arr, tenders_where_clause);
         sql_stmt3.len = strlen(sql_stmt3.arr);
         EXEC SQL PREPARE TENDERS FROM :sql_stmt3;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing TENDERS");
         EXEC SQL DECLARE TENDERS_C CURSOR FOR TENDERS;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring TENDERS");
         /* now the get_rights cursor */
         memset (sql_stmt4.arr, 0, sizeof(sql_stmt4.arr));
    /* ADD TO_CHAR(A.RGHT_DB_DATE, 'YYMMDD') */
         sprintf (sql_stmt4.arr, "SELECT \
    B.NO_RIGHTS_ISSUED, \
    B.SHS_REQ_FOR_PURCH, \
    B.RGHTS_REQUIRED, \
    B.QTY_SHS_PURCHASED, \
    B.TYPE_SHS_ELIGIBLE, \
    B.NEW_SHS_CUSIP_NO, \
    B.NEW_CO_ISSUER_DESCR, \
    TO_CHAR(A.RGHT_RECORD, 'YYMMDD'), \
    TO_CHAR(A.RGHT_EX_DATE, 'YYMMDD'), \
    TO_CHAR(B.NYC_RECORD_DATE, 'YYMMDD'), \
    TO_CHAR(A.RGHT_EXPIRE, 'YYMMDD'), \
    TO_CHAR(A.RGHT_DB_DATE, 'YYMMDD'), \
    A.RGHT_PRICE, \
    NVL(A.RGHT_RECORD_FNS,' '), \
    NVL(A.RGHT_EXPIRE_FNS,' '), \
    NVL(A.RGHT_EX_DATE_FNS,' '), \
    NVL(A.RGHT_PRICE_FNS,' '), \
    NVL(A.RGHT_BASIS_FNS,' '), \
    A.RGHT_FOOTNOTE, \
    B.US_INELIGIBILITY_IND, \
    B.RGHT_TRFR_IND \
    FROM IDB.DDR_RIGHTS A, IDB.DDR_RIGHTS_2 B \
    WHERE RGHT_CUSIP_NO = :master_cusip_no \
    AND RGHT_CUSIP_NO = RGHT_ISSUE_NO(+) \
    AND A.RGHT_RECORD = B.RGHT_RECORD_DATE(+) ");
         strcat (sql_stmt4.arr, rights_where_clause);
         sql_stmt4.len = strlen(sql_stmt4.arr);
         EXEC SQL PREPARE RIGHTS FROM :sql_stmt4;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in preparing RIGHTS");
         EXEC SQL DECLARE RIGHTS_C CURSOR FOR RIGHTS;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring RIGHTS");
         /* ram - added logic on 7/18/95 */
         /* for the standard footnotes cursor */
         EXEC SQL DECLARE STANDARD_FOOTNOTES_C CURSOR
         FOR
         SELECT SFTN_S_F_TEXT, SFTN_S_F_TYPE
         FROM IDB.DDR_STANDARD_FOOTNOTES
         WHERE SFTN_S_F_TYPE = :standard_footnote_type;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring STANDARD_FOOTNOTES");
         /* now the issue footnotes cursor */
         EXEC SQL DECLARE ISSUE_FOOTNOTES_C CURSOR
         FOR
         SELECT FTNT_F_TEXT, FTNT_F_TYPE
         FROM IDB.DDR_FOOTNOTES
         WHERE FTNT_CUSIP_NO = :master_cusip_no
         AND FTNT_SYMBOL = :footnote_symbol
         AND FTNT_YEAR IS NULL;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring ISSUE_FOOTNOTES");
         /* now the payment footnotes cursor */
         EXEC SQL DECLARE PAYMENT_FOOTNOTES_C CURSOR
         FOR
         SELECT FTNT_F_TEXT, FTNT_F_TYPE
         FROM IDB.DDR_FOOTNOTES
         WHERE FTNT_CUSIP_NO = :master_cusip_no
         AND FTNT_SYMBOL = :footnote_symbol
         AND FTNT_YEAR = :footnote_year;
         if (sqlca.sqlcode)
              sql_error (SYSERR, sqlca.sqlcode,
                   "Error in declaring PAYMENT_FOOTNOTES");
         /* now the get_s_h_meetings cursor */
         /* ONLY for certain tape types. */
    /*     GR PARTial 5
         if (which_tape == 0 || which_tape == 3 || which_tape == 1 || which_tape == 5)
              memset (sql_stmt5.arr, 0, sizeof(sql_stmt5.arr));
              /* ram - 6/15/95 - changed ORigunal to smtg */
              /* TO_CHAR(ORIGINAL_REC_DATE, 'YYMMDD'), \ */
              sprintf (sql_stmt5.arr, "SELECT \
    TO_CHAR(SMTG_MTG_DATE, 'YYMMDD'), \
    TO_CHAR(SMTG_REC_DATE, 'YYMMDD'), \
    SMTG_FOOTNOTE \
    FROM IDB.DDR_S_H_MEETINGS \
    WHERE SMTG_CUSIP_NO = :master_cusip_no ");
              strcat (sql_stmt5.arr, s_h_meet_where_clause);
              sql_stmt5.len = strlen(sql_stmt5.arr);
              EXEC SQL PREPARE S_H_MEET FROM :sql_stmt5;
              if (sqlca.sqlcode)
                   sql_error (SYSERR, sqlca.sqlcode,
                        "Error in preparing S_H_MEET");
              EXEC SQL DECLARE S_H_MEET_C CURSOR FOR S_H_MEET;
              if (sqlca.sqlcode)
                   sql_error (SYSERR, sqlca.sqlcode,
                        "Error in declaring S_H_MEET");
         } /* end of if (which_tape == 0 || which_tape == 1 || which_tape == 5) */
    /* replaced get_calendar_dates function with use of PLSQL - ram - 5/24/95 */
    void get_calendar_dates() /* Modified by TCS */
         /* put first and last calendar dates into global ints */
         /* first_cal_date and last_cal_date (YYYYMMDD) using */
         /* ddr package function get_business_days. */
         /* The package object ddr is owned by idb, so I'll */
         /* specify this, just in case accounts other than idb */
         /* run this code. (EXECUTE priviledge is granted to */
         /* "idb_user" role.) */
    EXEC SQL BEGIN DECLARE SECTION;
              int          cal_start;
              int          cal_end;
              int          return_val;
    EXEC SQL END DECLARE SECTION;
         /* initialize destination globals */

    You actually need to run it with "check -access"; memuse and leaks won't help with the crash, which happens because of illegal memory access. Hopefully, "check -access" will help you to locate the bad guy, but that's not panacea either.
    To be precise:
    - start dbx
    $ dbx <your app>
    - issue
    (dbx) check -access
    (dbx) run
    and wait for dbx to stop and report suspicious memory access.

  • Adobe Reader 9.3 for Linux: Segmentation Fault in PPKLite.api

    Adobe Reader 9.3 cannot open signed pdf files on our system (64-bit Fedora 10 Linux, with 32-bit compatibility libraries installed). It crashes with a segmentation fault any time one tries to open the following file:
    http://www.utoronto.ca/ic/software/forms/matlab_concurrent_renewal2010.pdf
    Running with ACRODEBUG=1 and ACRO_CRASHLOG=1 results in a zero-length crash log file and the only debug messages shown are
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/Annots.api ... [dlopen success for Annots.api, handle = 0xc4548f8]
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api ... [dlopen success for AcroForm.api, handle = 0xd0c3a50]
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api ... [dlopen success for DigSig.api, handle = 0xd0dcc68]
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/EScript.api ... [dlopen success for EScript.api, handle = 0xd126ac8]
    Loading PlugIn /opt/Adobe/Reader9/Reader/intellinux/plug_ins/PPKLite.api ... [dlopen success for PPKLite.api, handle = 0xd7b1ff0]
    If I run the gdb debugger on /opt/Adobe/Reader9/Reader/intellinux/bin/acroread, it shows the segmentation fault occurring inside /opt/Adobe/Reader9/Reader/intellinux/plug_ins/PPKLite.api (but since the file is stripped, all it shows is the binary offset of the segfault). I do have a coredump, though.
    If I remove the PPKLite.api file (or rename it to PPKLite.api.hide -- note that chmod -x does not work, nor does renaming it to something else that still ends in .api, unlike some workarounds I've seen on the web for similar problems in earlier versions of Adobe Reader), then Adobe Reader can open the file without crashing, except that without PPKLite it cannot validate its signature and so it displays the message "This document enabled extended features in Adobe Reader. The document has been changed since it was created and use of extended features is no longer available. Please contact the author for the original version of this document" -- which I assume is because the signature validation failed due to the absence of PPKLite so it things the document has been altered even though it hasn't been.
    So this removing or renaming of PPKLite.api works around the problem of the crash, at the expense of getting this misleading warning message.
    However, obviously there is a problem inside PPKLite.api that needs to be fixed....

    I'm seeing what must be the same issue: acroread foo.pdf exits almost instantly without any message, but with status 1.
    This is: AdobeReader_enu-9.3.1-1.i486 on a Fedora 12 box,  AMD Phenom II 945.
    If I set ACRODEBUG=1 and ACRO_CRASHLOG=1 and ulimit -c unlimited, and rename PPKLite.api,  *then* I get a nonzero crashlog. Which is:
    /usr/bin/acroread [0x84ff125] [@0x8048000]
    (__kernel_sigreturn+0x0) [0xf7786400] [@0xf7786000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf44dc99b] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41e1cf5] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41e436d] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41e57a3] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41f81b2] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf41d4863] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf3c44111] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf3c47268] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf3f7446a] [@0xf3b6d000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/AcroForm.api [0xf3f74e6d] [@0xf3b6d000]
    /usr/bin/acroread [0x892da33] [@0x8048000]
    /usr/bin/acroread [0x873dee9] [@0x8048000]
    /usr/bin/acroread [0x8741530] [@0x8048000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api [0xf361fd53] [@0xf35f5000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api [0xf3628217] [@0xf35f5000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api [0xf36e3f01] [@0xf35f5000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/DigSig.api [0xf36e3f9e] [@0xf35f5000]
    /usr/bin/acroread [0x892f7e7] [@0x8048000]
    /usr/bin/acroread [0x8744a50] [@0x8048000]
    /usr/bin/acroread [0x825bdec] [@0x8048000]
    /usr/bin/acroread [0x826bb11] [@0x8048000]
    /usr/bin/acroread [0x826bd32] [@0x8048000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/Annots.api [0xf4ca1b4a] [@0xf4ba9000]
    /opt/Adobe/Reader9/Reader/intellinux/plug_ins/Annots.api [0xf4ca1bec] [@0xf4ba9000]
    /usr/bin/acroread [0x826c1c4] [@0x8048000]
    /usr/bin/acroread [0x826d0bb] [@0x8048000]
    /usr/bin/acroread [0x850193f] [@0x8048000]
    /usr/bin/acroread [0x85024d2] [@0x8048000]
    /usr/bin/acroread(main+0x87) [0x856686d] [@0x8048000]
    /lib/libc.so.6(__libc_start_main+0xe6) [0x5ddbb6] [@0x5c7000]
    Without renaming the .api, all I got was five 'dlopen success' messages, and "Segmentation fault (core dumped)", but a zero length log.
    Don

  • [SOLVED] Segmentation Fault with Clementine

    When I open the preferences (Ctrl+P) of Clementine it crashes with a segmentation fault.
    This is the backtrace:
    18:53:58.858 WARN unknown libpng warning: iCCP: known incorrect sRGB profile
    18:53:58.900 WARN unknown libpng warning: iCCP: known incorrect sRGB profile
    [Thread 0x7fff9ffff700 (LWP 1566) exited]
    Program received signal SIGSEGV, Segmentation fault.
    0x00007fffec8b9ba1 in ?? () from /usr/lib/libfontconfig.so.1
    (gdb) bt
    #0 0x00007fffec8b9ba1 in ?? () from /usr/lib/libfontconfig.so.1
    #1 0x00007fffec8ba03f in ?? () from /usr/lib/libfontconfig.so.1
    #2 0x00007fffec8b9cd8 in ?? () from /usr/lib/libfontconfig.so.1
    #3 0x00007fffec8ba554 in ?? () from /usr/lib/libfontconfig.so.1
    #4 0x00007fffec8ba77d in FcConfigSubstituteWithPat ()
    from /usr/lib/libfontconfig.so.1
    #5 0x00007fffec8c85cc in FcFontRenderPrepare ()
    from /usr/lib/libfontconfig.so.1
    #6 0x00007ffff32d695e in QFontDatabase::load(QFontPrivate const*, int) ()
    from /usr/lib/libQtGui.so.4
    #7 0x00007ffff32b35e9 in QFontPrivate::engineForScript(int) const ()
    from /usr/lib/libQtGui.so.4
    #8 0x00007ffff32e9252 in QTextEngine::fontEngine(QScriptItem const&, QFixed*, QFixed*, QFixed*) const () from /usr/lib/libQtGui.so.4
    #9 0x00007ffff32e9a03 in QTextEngine::shapeTextWithHarfbuzz(int) const ()
    from /usr/lib/libQtGui.so.4
    #10 0x00007ffff32eab02 in QTextEngine::shapeText(int) const ()
    from /usr/lib/libQtGui.so.4
    #11 0x00007ffff32eae25 in QTextEngine::shape(int) const ()
    from /usr/lib/libQtGui.so.4
    #12 0x00007ffff32f0a30 in QTextEngine::boundingBox(int, int) const ()
    from /usr/lib/libQtGui.so.4
    #13 0x00007ffff32c79f4 in QFontMetrics::boundingRect(QString const&) const ()
    ---Type <return> to continue, or q <return> to quit---
    from /usr/lib/libQtGui.so.4
    #14 0x00007ffff34673dd in ?? () from /usr/lib/libQtGui.so.4
    #15 0x00007ffff3467534 in QComboBox::sizeHint() const ()
    from /usr/lib/libQtGui.so.4
    #16 0x00007ffff30ce65c in QWidgetItemV2::updateCacheIfNecessary() const ()
    from /usr/lib/libQtGui.so.4
    #17 0x00007ffff30ce96d in QWidgetItemV2::maximumSize() const ()
    from /usr/lib/libQtGui.so.4
    #18 0x00007ffff30b0b55 in ?? () from /usr/lib/libQtGui.so.4
    #19 0x00007ffff30b11d6 in QBoxLayout::sizeHint() const ()
    from /usr/lib/libQtGui.so.4
    #20 0x00007ffff30caca4 in QLayout::totalSizeHint() const ()
    from /usr/lib/libQtGui.so.4
    #21 0x00007ffff30dec30 in QWidget::sizeHint() const ()
    from /usr/lib/libQtGui.so.4
    #22 0x00007ffff30ce65c in QWidgetItemV2::updateCacheIfNecessary() const ()
    from /usr/lib/libQtGui.so.4
    #23 0x00007ffff30ce96d in QWidgetItemV2::maximumSize() const ()
    from /usr/lib/libQtGui.so.4
    #24 0x00007ffff30b0b55 in ?? () from /usr/lib/libQtGui.so.4
    #25 0x00007ffff30b1206 in QBoxLayout::minimumSize() const ()
    from /usr/lib/libQtGui.so.4
    #26 0x00007ffff30cac34 in QLayout::totalMinimumSize() const ()
    ---Type <return> to continue, or q <return> to quit---
    from /usr/lib/libQtGui.so.4
    #27 0x00007ffff30dec60 in QWidget::minimumSizeHint() const ()
    from /usr/lib/libQtGui.so.4
    #28 0x00007ffff30cc8c3 in qSmartMinSize(QWidget const*) ()
    from /usr/lib/libQtGui.so.4
    #29 0x00007ffff350e4b9 in ?? () from /usr/lib/libQtGui.so.4
    #30 0x00007ffff350e897 in QScrollArea::setWidget(QWidget*) ()
    from /usr/lib/libQtGui.so.4
    #31 0x0000000000765b18 in SettingsDialog::AddPage(SettingsDialog::Page, SettingsPage*, QTreeWidgetItem*) ()
    #32 0x0000000000765e67 in SettingsDialog::SettingsDialog(Application*, BackgroundStreams*, QWidget*) ()
    #33 0x0000000000745360 in MainWindow::OpenSettingsDialog() ()
    #34 0x000000000080c1ea in ?? ()
    #35 0x00007ffff6cd7b48 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
    #36 0x00007ffff309cf82 in QAction::triggered(bool) ()
    from /usr/lib/libQtGui.so.4
    #37 0x00007ffff309e953 in QAction::activate(QAction::ActionEvent) ()
    from /usr/lib/libQtGui.so.4
    #38 0x00007ffff34c7d79 in ?? () from /usr/lib/libQtGui.so.4
    #39 0x00007ffff34cc2a9 in ?? () from /usr/lib/libQtGui.so.4
    #40 0x00007ffff30f262e in QWidget::event(QEvent*) ()
    ---Type <return> to continue, or q <return> to quit---
    from /usr/lib/libQtGui.so.4
    #41 0x00007ffff34d007b in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
    #42 0x00007ffff30a30dc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib/libQtGui.so.4
    #43 0x00007ffff30a97dd in QApplication::notify(QObject*, QEvent*) ()
    from /usr/lib/libQtGui.so.4
    #44 0x00007ffff6cc3ebd in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib/libQtCore.so.4
    #45 0x00007ffff30a8f93 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
    from /usr/lib/libQtGui.so.4
    #46 0x00007ffff311aedc in ?? () from /usr/lib/libQtGui.so.4
    #47 0x00007ffff311961c in QApplication::x11ProcessEvent(_XEvent*) ()
    from /usr/lib/libQtGui.so.4
    #48 0x00007ffff3140162 in ?? () from /usr/lib/libQtGui.so.4
    #49 0x00007ffff41b3296 in g_main_context_dispatch ()
    from /usr/lib/libglib-2.0.so.0
    #50 0x00007ffff41b35e8 in ?? () from /usr/lib/libglib-2.0.so.0
    #51 0x00007ffff41b368c in g_main_context_iteration ()
    from /usr/lib/libglib-2.0.so.0
    #52 0x00007ffff6cf0b25 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
    #53 0x00007ffff3140216 in ?? () from /usr/lib/libQtGui.so.4
    ---Type <return> to continue, or q <return> to quit---
    #54 0x00007ffff6cc2b1f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
    #55 0x00007ffff6cc2e15 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
    #56 0x00007ffff6cc7f4b in QCoreApplication::exec() ()
    from /usr/lib/libQtCore.so.4
    #57 0x00000000005db094 in main ()
    This happen every time. I searched on internet but I can't find similar issue.
    Thanks.
    Last edited by ryuzy (2014-02-06 11:30:13)

    I tried installing Infinality-bundle+fonts and it fixed the problem.
    So there was a problem with my fonts, I don't know why this happened but I'm happy to have solved.
    Last edited by ryuzy (2014-02-06 11:30:59)

  • Segmentation fault when enabling replication with SQL API

    Hi,
    I've compiled BDB 5.3.21 on Ubuntu 11.04 (x86) with the following configure options:
    ../dist/configure enable-sql enable-sql_compat enable-debug enable-tcl --with-tcl=/usr/lib
    I was able to follow the Replication Usage Examples given in "Getting Started with the SQL APIs" to set up a set of replicated master/client databases.
    However, after I exited out of the dbsql session that started replication on the master database and re-opened the master database with dbsql, executing "pragma replication_initial_master=ON;" followed by "pragma replication=ON;" led to a segmentation fault. gdb showed that the segmentation fault occurred at:
    dbsql> pragma replication=ON;
    Program received signal SIGSEGV, Segmentation fault.
    0x0032d42b in __env_ref_get (dbenv=0x8056ad8, countp=0xbfffd498)
    at ../src/env/env_region.c:772
    772          renv = infop->primary;
    (gdb) list
    767          REGENV *renv;
    768          REGINFO *infop;
    769     
    770          env = dbenv->env;
    771          infop = env->reginfo;
    772          renv = infop->primary;
    773          *countp = renv->refcnt;
    774          return (0);
    775     }
    776     
    (gdb)
    Does anybody know of a solution to this or could this be a bug? Thanks in advance.
    P.S. here's a stack trace:
    (gdb) bt
    #0 0x0032d42b in __env_ref_get (dbenv=0x8056ad8, countp=0xbfffd498)
    at ../src/env/env_region.c:772
    #1 0x001786fc in hasDatabaseConnections (p=0x8056708)
    at ../lang/sql/generated/sqlite3.c:44420
    #2 0x00178a11 in bdbsqlPragmaStartReplication (pParse=0x80648e0,
    pDb=0x80561cc) at ../lang/sql/generated/sqlite3.c:44533
    #3 0x001797f5 in bdbsqlPragma (pParse=0x80648e0,
    zLeft=0x8062e20 "replication", zRight=0x8062dc0 "ON", iDb=0)
    at ../lang/sql/generated/sqlite3.c:44812
    #4 0x001c215d in sqlite3Pragma (pParse=0x80648e0, pId1=0x8064b60,
    pId2=0x8064b70, pValue=0x8064b90, minusFlag=0)
    at ../lang/sql/generated/sqlite3.c:78941
    #5 0x001e5c83 in yy_reduce (yypParser=0x8064b20, yyruleno=256)
    at ../lang/sql/generated/sqlite3.c:96668
    #6 0x001e6761 in sqlite3Parser (yyp=0x8064b20, yymajor=1, yyminor=...,
    pParse=0x80648e0) at ../lang/sql/generated/sqlite3.c:97051
    #7 0x001e7537 in sqlite3RunParser (pParse=0x80648e0,
    zSql=0x80648b8 "pragma replication=ON;", pzErrMsg=0xbfffdba0)
    at ../lang/sql/generated/sqlite3.c:97877
    #8 0x001c730e in sqlite3Prepare (db=0x8056010,
    zSql=0x80648b8 "pragma replication=ON;", nBytes=-1, saveSqlFlag=1,
    ---Type <return> to continue, or q <return> to quit---
    pReprepare=0x0, ppStmt=0xbfffdc8c, pzTail=0xbfffdc88)
    at ../lang/sql/generated/sqlite3.c:80736
    #9 0x001c7739 in sqlite3LockAndPrepare (db=0x8056010,
    zSql=0x80648b8 "pragma replication=ON;", nBytes=-1, saveSqlFlag=1,
    pOld=0x0, ppStmt=0xbfffdc8c, pzTail=0xbfffdc88)
    at ../lang/sql/generated/sqlite3.c:80828
    #10 0x001c7a5e in sqlite3_prepare_v2 (db=0x8056010,
    zSql=0x80648b8 "pragma replication=ON;", nBytes=-1, ppStmt=0xbfffdc8c,
    pzTail=0xbfffdc88) at ../lang/sql/generated/sqlite3.c:80903
    #11 0x0804baf6 in shell_exec (db=0x8056010,
    zSql=0x80648b8 "pragma replication=ON;",
    xCallback=0x804a3c4 <shell_callback>, pArg=0xbfffde14, pzErrMsg=0xbfffdcfc)
    at ../lang/sql/sqlite/src/shell.c:1092
    #12 0x0805030e in process_input (p=0xbfffde14, in=0x0)
    at ../lang/sql/sqlite/src/shell.c:2515
    #13 0x08051453 in main (argc=2, argv=0xbffff3f4)
    at ../lang/sql/sqlite/src/shell.c:2946
    -Irving
    Edited by: snowcrash on Jan 15, 2013 2:16 PM

    Thank you for reporting this. I have been able to reproduce this crash in-house.
    You need to specify the replication_initial_master and replication pragmas as part of initially creating your SQL database. The replication_initial_master pragma is not used or needed after the initial database creation at the initial master site. The replication=on pragma is a persistent setting that we remember internally the first time you specify it. This means that after specifying replication=on for the first time on a site, we will automatically restart replication for you in future dbsql sessions when we open the underlying Berkeley DB environment.
    This gives you a very simple workaround: don't respecify replication=on when you reenter dbsql.
    Of course, we shouldn't be crashing on an unnecessary pragma. I have added this to our list of fixes to consider for the future.
    Thanks,
    Paula Bingham
    Oracle

Maybe you are looking for