We've tried an upgrade to Sybase 16 ( AdSP02 PL02/EBF 25320 SMP)
and we've hit a possible bug with isolation level and insert into temp tables.
This proc
create or replace proc showbug
as
select 1461081 pf_Id into #unwrap
runs ok normally, but when run like this
set transaction isolation level 0
go
showbug
go
We get this
ASE is terminating this process.
and a stack trace.
SQL Text: showbug | |||||
Apr 21 2016 11:21AM | 3090 | 240036 | 0 | 0 | SQL Text: select 1461081 pf_Id into #unwrap |
Apr 21 2016 11:21AM | 3090 | 110041 | 0 | 0 | Current process (0x4f710ca2) infected with signal 11 (SIGSEGV) |
Apr 21 2016 11:21AM | 3090 | 110042 | 0 | 0 | Address 0x0x0000000001c0c3cd (s_mustrecompile+0x5dd), siginfo (code, address) = (1, 0x(nil)) |
Apr 21 2016 11:21AM | 3090 | 0 | 99 | 0 | pc: 0x0000000001310144 kisignal+0x31b() |
Apr 21 2016 11:21AM | 3090 | 0 | 99 | 0 | pc: 0x0000000001c0f2dc execproc+0x76c() |
Apr 21 2016 11:21AM | 3090 | 0 | 99 | 0 | pc: 0x00000000012deabc pcstkwalk+0x46e() |
Apr 21 2016 11:21AM | 3090 | 0 | 99 | 0 | pc: 0x00000000015af0a8 conn_hdlr+0xef8() |