none
when i exec select on linux with odbc, hang on "__select_nocancel" RRS feed

  • 问题

  • Loaded symbols for /lib64/libresolv.so.2
    Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libselinux.so.1
    Reading symbols from /lib64/libsepol.so.1...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libsepol.so.1
    Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
    Loaded symbols for /lib64/libnss_files.so.2
    Reading symbols from /usr/lib64/gconv/GBK.so...(no debugging symbols found)...done.
    Loaded symbols for /usr/lib64/gconv/GBK.so

    warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff8740000
    0x0000003baf8ce123 in __select_nocancel () from /lib64/libc.so.6
    (gdb) bt
    #0  0x0000003baf8ce123 in __select_nocancel () from /lib64/libc.so.6
    #1  0x00002ae6adecf63a in ?? () from /dip/depend/odbc/sqlserver/el5/libsqlncli-11-el5.0.so.1790.0
    #2  0x00002ae6aded1b0d in ?? () from /dip/depend/odbc/sqlserver/el5/libsqlncli-11-el5.0.so.1790.0
    #3  0x00002ae6adec22e8 in ?? () from /dip/depend/odbc/sqlserver/el5/libsqlncli-11-el5.0.so.1790.0
    #4  0x00002ae6adebd574 in ?? () from /dip/depend/odbc/sqlserver/el5/libsqlncli-11-el5.0.so.1790.0
    #5  0x00002ae6adeaf041 in ?? () from /dip/depend/odbc/sqlserver/el5/libsqlncli-11-el5.0.so.1790.0
    #6  0x00002ae6adeaf7fd in ?? () from /dip/depend/odbc/sqlserver/el5/libsqlncli-11-el5.0.so.1790.0
    #7  0x00002ae6adeb3533 in ?? () from /dip/depend/odbc/sqlserver/el5/libsqlncli-11-el5.0.so.1790.0
    #8  0x00002ae6ade3052c in ?? () from /dip/depend/odbc/sqlserver/el5/libsqlncli-11-el5.0.so.1790.0
    #9  0x00002ae6ade5a3f0 in ?? () from /dip/depend/odbc/sqlserver/el5/libsqlncli-11-el5.0.so.1790.0
    #10 0x00002ae6ade35c1f in ?? () from /dip/depend/odbc/sqlserver/el5/libsqlncli-11-el5.0.so.1790.0
    #11 0x00002ae6ade36a65 in ?? () from /dip/depend/odbc/sqlserver/el5/libsqlncli-11-el5.0.so.1790.0
    #12 0x00002ae6ade395fe in SQLExecute () from /dip/depend/odbc/sqlserver/el5/libsqlncli-11-el5.0.so.1790.0
    #13 0x00002ae6603900e1 in SQLExecute (statement_handle=<optimized out>) at SQLExec


    when i select from fn_dblog , there's a big transaction; it's hang in the middle. above is the stack
    2017年2月17日 5:29