I apologize up front, I'm sure this isn't the right place to ask, but I'm not sure where I should ask, instead. Hoping for some helpful hints in that regard... I'm using (trying to use...) the -fsanitize=thread feature. Though I'm finding the diagnostics rather cryptic, that isn't my issue here. Suddenly, a few days ago, I started getting this error while running the app i'm testing: [New Thread 0x7fcd41ec1700 (LWP 8142)] [New Thread 0x7fcd41692700 (LWP 8143)] [New Thread 0x7fcd40e63700 (LWP 8144)] [New Thread 0x7fcd3bfff700 (LWP 8145)] [New Thread 0x7fcd3b7fe700 (LWP 8146)] [New Thread 0x7fcd3affd700 (LWP 8147)] [New Thread 0x7fcd3a7fc700 (LWP 8148)] [New Thread 0x7fcd39ffb700 (LWP 8149)] [New Thread 0x7fcd397fa700 (LWP 8150)] [New Thread 0x7fcd38ff9700 (LWP 8151)] [New Thread 0x7fcd2f9ea700 (LWP 8152)] [New Thread 0x7fcd2f1e9700 (LWP 8153)] ThreadSanitizer: longjmp() is not supported [Thread 0x7fcd2f1e9700 (LWP 8153) exited] [Thread 0x7fcd2f9ea700 (LWP 8152) exited] [Thread 0x7fcd38ff9700 (LWP 8151) exited] [Thread 0x7fcd397fa700 (LWP 8150) exited] [Thread 0x7fcd39ffb700 (LWP 8149) exited] [Thread 0x7fcd3a7fc700 (LWP 8148) exited] [Thread 0x7fcd3affd700 (LWP 8147) exited] [Thread 0x7fcd3b7fe700 (LWP 8146) exited] [Thread 0x7fcd3bfff700 (LWP 8145) exited] [Thread 0x7fcd40e63700 (LWP 8144) exited] [Thread 0x7fcd41ec1700 (LWP 8142) exited] [Thread 0x7fcd47858700 (LWP 8141) exited] The message about longjmp() is the issue. This app doesn't use longjmp or siglongjump or any other of its cousins. It's possible that some 3rd-party lib (Oracle??) might, but I don't know why it has been working for several weeks and suddenly starts giving me this error... Clues welcome, thanks! -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ---------------------------- Do you not know? Have you not heard? The LORD is the everlasting God, the Creator of the ends of the earth. He will not grow tired or weary, and his understanding no one can fathom. ----------------------------- Isaiah 40:28 (niv) -----------------------------
Fred Smith wrote:> I apologize up front, I'm sure this isn't the right place to ask, but > I'm not sure where I should ask, instead. Hoping for some helpful hints > in that regard... > > I'm using (trying to use...) the -fsanitize=thread feature. Though I'm > finding the diagnostics rather cryptic, that isn't my issue here. > Suddenly, a few days ago, I started getting this error while running the > app i'm testing:<snip>> [New Thread 0x7fcd2f9ea700 (LWP 8152)] > [New Thread 0x7fcd2f1e9700 (LWP 8153)] > ThreadSanitizer: longjmp() is not supported<snip>> [Thread 0x7fcd47858700 (LWP 8141) exited] > > The message about longjmp() is the issue. This app doesn't use longjmp > or siglongjump or any other of its cousins. It's possible that some > 3rd-party lib (Oracle??) might, but I don't know why it has been workingfor several> weeks and suddenly starts giving me this error... > > Clues welcome, thanks!Many years ago, a couple young consultants came to me where we were working (I was the "senior technical resource"), and told me the program kept crashing in a library. We ran it under the debugger, and we saw the library call. We reran it, with me at the keyboard, and I did something they had no idea about: I stepped *into* the call, (the old Sun debugger, stepi, rather than step, or stepn). I continued to step, working my way down, finding the calls it crashed in. Finally, I found the function that was crashing, stepped into it - turned out to be a BEA Tuxedo call - and then I, who had the authority, could call them, and even though it was stripped... I could tell them the function it failed in, and more-or-less what it seemed to be doing. 'Bout a day later, I got a message back from the developers what the issue was. You might try finding your problem that way; then you might have a clue as to how to resolve it. Oh, and if it's Oracle, don't forget to set TWO_TASK, I think it was called (haven't used Pro*C more than a dozen years....) mark
On Tue, May 26, 2015 at 12:41:19PM -0400, m.roth at 5-cent.us wrote:> Fred Smith wrote: > > I apologize up front, I'm sure this isn't the right place to ask, but > > I'm not sure where I should ask, instead. Hoping for some helpful hints > > in that regard... > > > > I'm using (trying to use...) the -fsanitize=thread feature. Though I'm > > finding the diagnostics rather cryptic, that isn't my issue here. > > Suddenly, a few days ago, I started getting this error while running the > > app i'm testing: > <snip> > > [New Thread 0x7fcd2f9ea700 (LWP 8152)] > > [New Thread 0x7fcd2f1e9700 (LWP 8153)] > > ThreadSanitizer: longjmp() is not supported > <snip> > > [Thread 0x7fcd47858700 (LWP 8141) exited] > > > > The message about longjmp() is the issue. This app doesn't use longjmp > > or siglongjump or any other of its cousins. It's possible that some > > 3rd-party lib (Oracle??) might, but I don't know why it has been working > for several > > weeks and suddenly starts giving me this error... > > > > Clues welcome, thanks! > > Many years ago, a couple young consultants came to me where we were > working (I was the "senior technical resource"), and told me the program > kept crashing in a library. We ran it under the debugger, and we saw the > library call. We reran it, with me at the keyboard, and I did something > they had no idea about: I stepped *into* the call, (the old Sun debugger, > stepi, rather than step, or stepn). I continued to step, working my way > down, finding the calls it crashed in. Finally, I found the function that > was crashing, stepped into it - turned out to be a BEA Tuxedo call - and > then I, who had the authority, could call them, and even though it was > stripped... I could tell them the function it failed in, and more-or-less > what it seemed to be doing. 'Bout a day later, I got a message back from > the developers what the issue was. > > You might try finding your problem that way; then you might have a clue as > to how to resolve it. > > Oh, and if it's Oracle, don't forget to set TWO_TASK, I think it was > called (haven't used Pro*C more than a dozen years....)I'm not using Pro*C either. I recall reading about TWO_TASK some years ago but never did figure out how to use it in a non-PRO*C environment, or even if it would be of value. Figured out, with a LOT of pain, how to use OCI to do what I needed. -- ---- Fred Smith -- fredex at fcshome.stoneham.ma.us ----------------------------- "For the word of God is living and active. Sharper than any double-edged sword, it penetrates even to dividing soul and spirit, joints and marrow; it judges the thoughts and attitudes of the heart." ---------------------------- Hebrews 4:12 (niv) ------------------------------