Skip to Content.
Sympa Menu

freetds - [freetds] PHP page loading infinitely...

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: foo <janhouse00 AT gmail.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] PHP page loading infinitely...
  • Date: Thu, 6 Aug 2009 16:53:19 +0800

Hi all, I have been trying to get php to talk to MSSQL serverm, but
executing a php page that has query like select * from table simply
makes the page loads forever, it just never comes back.


strace shows that the table columns are processed properly, somehow
the script always hangs right before it process the table records

sendto(4, "\3\1\0\205\0\0\1\0\r\0s\0p\0_\0c\0u\0r\0s\0o\0r\0o\0p\0e"...,
133, MSG_NOSIGNAL, NULL, 0) = 133
write(3, "util.c:162:Changed query state fr"..., 56) = 56
write(3, "token.c:495:tds_process_tokens(0x"..., 81) = 81
write(3, "util.c:162:Changed query state fr"..., 55) = 55
poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
recvfrom(4, "\4\1\0\364\0=\1\0"..., 8, MSG_NOSIGNAL, NULL, NULL) = 8
write(3, "net.c:592:Received header\n0000 04"..., 91) = 91
poll([{fd=4, events=POLLIN}], 1, -1) = 1 ([{fd=4, revents=POLLIN}])
recvfrom(4,
"\201\5\0\0\0\20\0008\5a\0c\0_\0i\0d\0\0\0\t\0\347\204\3\7a\0c\0_\0"...,
236, MSG_NOSIGNAL, NULL, NULL) = 236
write(3, "net.c:671:Received packet\n0000 81"..., 1118) = 1118
write(3, "token.c:510:processing result tok"..., 66) = 66
write(3, "token.c:1520:processing TDS7 resu"..., 46) = 46
write(3, "mem.c:563:tds_free_all_results()\n"..., 33) = 33
write(3, "token.c:1541:set current_results "..., 53) = 53
write(3, "token.c:1555:setting up column 0\n"..., 33) = 33
write(3, "token.c:1490:tds7_get_data_info: "..., 159) = 159
write(3, "token.c:1555:setting up column 1\n"..., 33) = 33
write(3, "token.c:3294:adjust_character_col"..., 142) = 142
write(3, "token.c:1490:tds7_get_data_info: "..., 183) = 183
write(3, "token.c:1555:setting up column 2\n"..., 33) = 33
write(3, "token.c:1490:tds7_get_data_info: "..., 180) = 180
write(3, "token.c:1555:setting up column 3\n"..., 33) = 33
write(3, "token.c:1490:tds7_get_data_info: "..., 162) = 162
write(3, "token.c:1555:setting up column 4\n"..., 33) = 33
write(3, "token.c:1490:tds7_get_data_info: "..., 161) = 161
poll([{fd=4, events=POLLIN}], 1, -1
..... script starts hanging here...........


Thanks in advance for any help......


Cheers,
Foo




Archive powered by MHonArc 2.6.24.

Top of Page