<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: debugging software that connects to SAP ASE in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14426764#M4944703</link>
    <description>&lt;P&gt;Is your test program starting a transaction? When you "quit the gdb" (exit your program) the corresponding process in the ASE server should disappear.&amp;nbsp; Does it?&amp;nbsp; &amp;nbsp;Specifically, if you run sp_who in the ASE server do you:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;see your gdb process when it's running and&lt;/LI&gt;&lt;LI&gt;see the process go away when you exit gdb?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;When you say "No query can be executed" on the 2nd run, not even something like "select @@servername" ?&lt;/P&gt;&lt;P&gt;You can also use sp_lock to see if there's a blocking lock.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jun 2026 19:33:46 GMT</pubDate>
    <dc:creator>sladebe</dc:creator>
    <dc:date>2026-06-24T19:33:46Z</dc:date>
    <item>
      <title>debugging software that connects to SAP ASE</title>
      <link>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaq-p/14400497</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to run gdb on my software that should connect to SAP ASE.&lt;/P&gt;&lt;P&gt;Both the server (version 16.1) and my software located on Linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So this is my scenario:&lt;/P&gt;&lt;P&gt;1. Laptop booted up.&lt;/P&gt;&lt;P&gt;2. Server starts up.&lt;/P&gt;&lt;P&gt;3. I ran gdb on my program.&lt;/P&gt;&lt;P&gt;4.. I am able to run it successfully until I find the problem.&lt;/P&gt;&lt;P&gt;5.. When I hit the problem I quit the gdb immediately and go to fix the issue.&lt;/P&gt;&lt;P&gt;6. After that I recompile and start gdb again.&lt;/P&gt;&lt;P&gt;7. At that point the only thing I can do is connect to the server. No query can be executed. The program just stuck somewhere inside the server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this sounds familiar to anybody?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The server is started with the following script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[code]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ulimit -s unlimited&lt;BR /&gt;cd /opt/sap&lt;BR /&gt;su&lt;BR /&gt;source SYBASE.sh&lt;BR /&gt;. /opt/sap/SYBASE.sh&lt;BR /&gt;cd ASE-16_1/install&lt;BR /&gt;startserver -f RUN_REINCLOUD&lt;/P&gt;&lt;P&gt;[/code]&lt;/P&gt;&lt;P&gt;Is there any way to continue debugging on the second run of my program?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I interrupted the second gdb session I get the following gdb backtrace:&lt;/P&gt;&lt;P&gt;[code]&lt;/P&gt;&lt;PRE&gt;[Thread 0x7fffeaa7e640 (LWP 11506) exited]
^C
Thread 1 "dbhandler" received signal SIGINT, Interrupt.
&lt;FONT color="#12488B"&gt;0x00007ffff5ac4f6f&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;poll&lt;/FONT&gt; () from &lt;FONT color="#26A269"&gt;/lib64/libc.so.6&lt;/FONT&gt;
(gdb) bt
#0  &lt;FONT color="#12488B"&gt;0x00007ffff5ac4f6f&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;poll&lt;/FONT&gt; () from &lt;FONT color="#26A269"&gt;/lib64/libc.so.6&lt;/FONT&gt;
#1  &lt;FONT color="#12488B"&gt;0x00007ffff76230c0&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;__interceptor_poll&lt;/FONT&gt; (&lt;FONT color="#2AA1B3"&gt;fds&lt;/FONT&gt;=0x7fffffff79f8, &lt;FONT color="#2AA1B3"&gt;nfds&lt;/FONT&gt;=1, &lt;FONT color="#2AA1B3"&gt;timeout&lt;/FONT&gt;=-1)
    at &lt;FONT color="#26A269"&gt;/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc&lt;/FONT&gt;:3961
#2  &lt;FONT color="#12488B"&gt;0x00007fffe777252b&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;SybaseTds::TCPSocket::Receive(SybaseTds::TdsBaseContext*, unsigned char*, int, bool, bool)&lt;/FONT&gt; ()
   from &lt;FONT color="#26A269"&gt;/opt/sap/DataAccess64/ODBC/lib/libsybdrvodb.so&lt;/FONT&gt;
#3  &lt;FONT color="#12488B"&gt;0x00007fffe776461f&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;SybaseTds::SocketManager::ReadResponse(SybaseTds::TdsBaseContext*)&lt;/FONT&gt; ()
   from &lt;FONT color="#26A269"&gt;/opt/sap/DataAccess64/ODBC/lib/libsybdrvodb.so&lt;/FONT&gt;
#4  &lt;FONT color="#12488B"&gt;0x00007fffe7792e60&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;SybaseTds::TdsContext::GetChunk(SynchronizedManagedQueue&amp;lt;SybaseTds::BufferInterval, LoggedSyncronizer&amp;lt;SpinLock&amp;gt; &amp;gt;::Node**)&lt;/FONT&gt; () from &lt;FONT color="#26A269"&gt;/opt/sap/DataAccess64/ODBC/lib/libsybdrvodb.so&lt;/FONT&gt;
#5  &lt;FONT color="#12488B"&gt;0x00007fffe7744a88&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;SybaseTds::TdsDataInputStream::ReadByte(unsigned char*)&lt;/FONT&gt; ()
   from &lt;FONT color="#26A269"&gt;/opt/sap/DataAccess64/ODBC/lib/libsybdrvodb.so&lt;/FONT&gt;
#6  &lt;FONT color="#12488B"&gt;0x00007fffe77b8a70&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;SybaseTds::Tokenizer::ProcessNextToken(SybaseTds::TdsBaseDataInputStream*, SybaseTds::TokenHandler*, SybaseTds::TdsBaseContext*, unsigned char*)&lt;/FONT&gt; () from &lt;FONT color="#26A269"&gt;/opt/sap/DataAccess64/ODBC/lib/libsybdrvodb.so&lt;/FONT&gt;
#7  &lt;FONT color="#12488B"&gt;0x00007fffe778a396&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;SybaseTds::TdsCommand::GetNextResult()&lt;/FONT&gt; () from &lt;FONT color="#26A269"&gt;/opt/sap/DataAccess64/ODBC/lib/libsybdrvodb.so&lt;/FONT&gt;
#8  &lt;FONT color="#12488B"&gt;0x00007fffe778d5bd&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;SybaseTds::TdsCommand::ExecuteNonCursor()&lt;/FONT&gt; () from &lt;FONT color="#26A269"&gt;/opt/sap/DataAccess64/ODBC/lib/libsybdrvodb.so&lt;/FONT&gt;
#9  &lt;FONT color="#12488B"&gt;0x00007fffe778d7c2&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;SybaseTds::TdsCommand::ExecParsedCommand(bool)&lt;/FONT&gt; () from &lt;FONT color="#26A269"&gt;/opt/sap/DataAccess64/ODBC/lib/libsybdrvodb.so&lt;/FONT&gt;
#10 &lt;FONT color="#12488B"&gt;0x00007fffe7823aab&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;SybaseOdbc::OdbcStatement::ExecuteParameterSets(bool, bool&amp;amp;, short&amp;amp;, MTResultState&amp;amp;)&lt;/FONT&gt; ()
   from &lt;FONT color="#26A269"&gt;/opt/sap/DataAccess64/ODBC/lib/libsybdrvodb.so&lt;/FONT&gt;
#11 &lt;FONT color="#12488B"&gt;0x00007fffe7827b8e&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;SybaseOdbc::OdbcStatement::ExecStatement()&lt;/FONT&gt; () from &lt;FONT color="#26A269"&gt;/opt/sap/DataAccess64/ODBC/lib/libsybdrvodb.so&lt;/FONT&gt;
#12 &lt;FONT color="#12488B"&gt;0x00007fffe7828669&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;SybaseOdbc::OdbcStatement::ExecDirect(unsigned char const*, int)&lt;/FONT&gt; ()
   from &lt;FONT color="#26A269"&gt;/opt/sap/DataAccess64/ODBC/lib/libsybdrvodb.so&lt;/FONT&gt;
#13 &lt;FONT color="#12488B"&gt;0x00007fffe78104b1&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;SQLExecDirectWWork(void*, wchar_t*, int)&lt;/FONT&gt; () from &lt;FONT color="#26A269"&gt;/opt/sap/DataAccess64/ODBC/lib/libsybdrvodb.so&lt;/FONT&gt;
#14 &lt;FONT color="#12488B"&gt;0x00007fffe97e1ee7&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;SQLExecDirectW&lt;/FONT&gt; () from &lt;FONT color="#26A269"&gt;/usr/lib64/libodbc.so.2&lt;/FONT&gt;
#15 &lt;FONT color="#12488B"&gt;0x00007fffe9c9be2e&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;ODBCDatabase::CreateSystemObjectsAndGetDatabaseInfo&lt;/FONT&gt; (&lt;FONT color="#2AA1B3"&gt;this&lt;/FONT&gt;=0x61600004b680, &lt;FONT color="#2AA1B3"&gt;errorMsg&lt;/FONT&gt;=...)
    at &lt;FONT color="#26A269"&gt;../../libodbc/database_odbc.cpp&lt;/FONT&gt;:2094
#16 &lt;FONT color="#12488B"&gt;0x00007fffe9c84102&lt;/FONT&gt; in &lt;FONT color="#A2734C"&gt;ODBCDatabase::Connect&lt;/FONT&gt; (&lt;FONT color="#2AA1B3"&gt;this&lt;/FONT&gt;=0x61600004b680, &lt;FONT color="#2AA1B3"&gt;selectedDSN&lt;/FONT&gt;=..., &lt;FONT color="#2AA1B3"&gt;dbList&lt;/FONT&gt;=..., &lt;FONT color="#2AA1B3"&gt;errorMsg&lt;/FONT&gt;=...)
    at &lt;FONT color="#26A269"&gt;../../libodbc/database_odbc.cpp&lt;/FONT&gt;:981
--Type &amp;lt;RET&amp;gt; for more, q to quit, c to continue without paging--&lt;/PRE&gt;&lt;P&gt;[/code]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 03:00:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaq-p/14400497</guid>
      <dc:creator>oneeyeman1</dc:creator>
      <dc:date>2026-05-21T03:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: debugging software that connects to SAP ASE</title>
      <link>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14400996#M4942611</link>
      <description>&lt;P&gt;The trace appears to be in the ODBC driver, not ASE, IMHO.&amp;nbsp; I would suggest opening a support incident with SAP instead of attempting to fix yourself.&amp;nbsp; Possible issues can then be tracked and resolved through a case, especially if it touches other components of the product, or requires engineering support.&lt;/P&gt;&lt;P&gt;There is also a possibility that any issue could be known and already being worked on or fixed.&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 11:51:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14400996#M4942611</guid>
      <dc:creator>ChrisBaker</dc:creator>
      <dc:date>2026-05-21T11:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: debugging software that connects to SAP ASE</title>
      <link>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14401192#M4942636</link>
      <description>&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/189912"&gt;@ChrisBaker&lt;/a&gt;, where do I report it? Thank you.</description>
      <pubDate>Thu, 21 May 2026 15:30:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14401192#M4942636</guid>
      <dc:creator>oneeyeman1</dc:creator>
      <dc:date>2026-05-21T15:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: debugging software that connects to SAP ASE</title>
      <link>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14401203#M4942638</link>
      <description>Start with the link here - &lt;A href="https://support.sap.com/en/index.html" target="_blank"&gt;https://support.sap.com/en/index.html&lt;/A&gt;</description>
      <pubDate>Thu, 21 May 2026 15:41:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14401203#M4942638</guid>
      <dc:creator>ChrisBaker</dc:creator>
      <dc:date>2026-05-21T15:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: debugging software that connects to SAP ASE</title>
      <link>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14401280#M4942644</link>
      <description>&lt;P&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/189912"&gt;@ChrisBaker&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;And then I should click "Get Support", right?&lt;/P&gt;&lt;P&gt;Do I need a paid account to file an issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S.: I think that when I interrupt the debugging session some resources are not cleaned up properly and so the server thinks there is still a connection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2026 17:58:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14401280#M4942644</guid>
      <dc:creator>oneeyeman1</dc:creator>
      <dc:date>2026-05-21T17:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: debugging software that connects to SAP ASE</title>
      <link>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14401469#M4942656</link>
      <description>&lt;P&gt;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/189912"&gt;@ChrisBaker&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;It looks like there is an open transaction somewhere because the loop starts on "BEGIN TRANSACTION" execution...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2026 04:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14401469#M4942656</guid>
      <dc:creator>oneeyeman1</dc:creator>
      <dc:date>2026-05-22T04:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: debugging software that connects to SAP ASE</title>
      <link>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14405897#M4943020</link>
      <description>You must be current on support to submit cases. Is this a trial version of ASE?</description>
      <pubDate>Thu, 28 May 2026 12:00:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14405897#M4943020</guid>
      <dc:creator>ChrisBaker</dc:creator>
      <dc:date>2026-05-28T12:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: debugging software that connects to SAP ASE</title>
      <link>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14406179#M4943052</link>
      <description>&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/189912"&gt;@ChrisBaker&lt;/a&gt;, yes it is a trial version.</description>
      <pubDate>Thu, 28 May 2026 18:49:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14406179#M4943052</guid>
      <dc:creator>oneeyeman1</dc:creator>
      <dc:date>2026-05-28T18:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: debugging software that connects to SAP ASE</title>
      <link>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14426764#M4944703</link>
      <description>&lt;P&gt;Is your test program starting a transaction? When you "quit the gdb" (exit your program) the corresponding process in the ASE server should disappear.&amp;nbsp; Does it?&amp;nbsp; &amp;nbsp;Specifically, if you run sp_who in the ASE server do you:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;see your gdb process when it's running and&lt;/LI&gt;&lt;LI&gt;see the process go away when you exit gdb?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;When you say "No query can be executed" on the 2nd run, not even something like "select @@servername" ?&lt;/P&gt;&lt;P&gt;You can also use sp_lock to see if there's a blocking lock.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 19:33:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/debugging-software-that-connects-to-sap-ase/qaa-p/14426764#M4944703</guid>
      <dc:creator>sladebe</dc:creator>
      <dc:date>2026-06-24T19:33:46Z</dc:date>
    </item>
  </channel>
</rss>

