SAP Knowledge Base Article - Preview

3379555 - Full database backup crashed IQ server with signal 11 -SAP IQ

Symptom

Backup triggered from Networker after IQ start cause IQ abort on Signal 11.

The backup crash is happening in the Networker library 'libnsriqbr.so'.
IQ crashes because libnsriqbr.so is not a separate process: it is loaded as a DLL and executed in-process in IQ.

 

830/stktrc-20230830-204944_1.iq:

Note the address ranges for the 'libnsriqbr.so' backup library, as this information shows the crash occurred within 'libnsriqbr.so'.

31125 7fa906ade000-7fa906f6f000 r-xp 00000000 fd:02 8410813                    /usr/lib/libnsriqbr.so
31126 7fa906f6f000-7fa90716f000 ---p 00491000 fd:02 8410813                    /usr/lib/libnsriqbr.so
31127 7fa90716f000-7fa9071ab000 rw-p 00491000 fd:02 8410813                    /usr/lib/libnsriqbr.so

34533 7fb6959a7000-7fb6959c2000 r-xp 00000000 fd:02 4216755                    /usr/lib64/libpthread-2.28.so
34534 7fb6959c2000-7fb695bc1000 ---p 0001b000 fd:02 4216755                    /usr/lib64/libpthread-2.28.so
34535 7fb695bc1000-7fb695bc2000 r--p 0001a000 fd:02 4216755                    /usr/lib64/libpthread-2.28.so
34536 7fb695bc2000-7fb695bc3000 rw-p 0001b000 fd:02 4216755                    /usr/lib64/libpthread-2.28.so

 

830/Strace

Below is the IQ Stacktrace for the backup thread, indicating that execution entered 'libnsriqbr.so' and crashed while making a call to the 'libpthread' library.

194717 3854  20:55:02.764892 rt_sigprocmask(SIG_BLOCK, ~[ILL BUS FPE KILL SEGV STOP RTMIN RT_1], [HUP INT QUIT USR1 TERM], 8) = 0
194718 3854  20:55:02.765065 mmap(NULL, 262144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa8facc1000
194719 3854  20:55:02.765799 rt_sigprocmask(SIG_SETMASK, [HUP INT QUIT USR1 TERM], NULL, 8) = 0
194720 3854  20:55:02.766012 fstat(83, {st_mode=S_IFREG|0644, st_size=298589, ...}) = 0
194721 3854  20:55:02.766207 write(83, "pc: 0x400e81 <unknown>\n", 23) = 23
194722 3854  20:55:02.766429 fstat(83, {st_mode=S_IFREG|0644, st_size=298612, ...}) = 0
194723 3854  20:55:02.766611 write(83, "pc: 0x7fb37ffa0ef4 pcstkwalk(stk"..., 67) = 67
194724 3854  20:55:02.766781 fstat(83, {st_mode=S_IFREG|0644, st_size=298679, ...}) = 0
194725 3854  20:55:02.766945 write(83, "pc: 0x7fb37ffa1620 ucstkgentrace"..., 47) = 47
194726 3854  20:55:02.767217 fstat(83, {st_mode=S_IFREG|0644, st_size=298726, ...}) = 0
194727 3854  20:55:02.767404 write(83, "pc: 0x7fb6959b9ce0 <unknown>\n", 29) = 29
194728 3854  20:55:02.767685 fstat(83, {st_mode=S_IFREG|0644, st_size=298755, ...}) = 0
194729 3854  20:55:02.767858 write(83, "pc: 0x7fb6959b7d96 <unknown>\n", 29) = 29
194730 3854  20:55:02.768114 fstat(83, {st_mode=S_IFREG|0644, st_size=298784, ...}) = 0
194731 3854  20:55:02.768291 write(83, "pc: 0x7fb6959b7e88 <unknown>\n", 29) = 29
194732 3854  20:55:02.768509 fstat(83, {st_mode=S_IFREG|0644, st_size=298813, ...}) = 0
194733 3854  20:55:02.768683 write(83, "pc: 0x7fa906e4cd69 <unknown>\n", 29) = 29
194734 3854  20:55:02.768853 fstat(83, {st_mode=S_IFREG|0644, st_size=298842, ...}) = 0
194735 3854  20:55:02.769021 write(83, "pc: 0x7fa906bb6d8c <unknown>\n", 29) = 29
194736 3854  20:55:02.769186 fstat(83, {st_mode=S_IFREG|0644, st_size=298871, ...}) = 0
194737 3854  20:55:02.769352 write(83, "pc: 0x7fa906bb761a <unknown>\n", 29) = 29 à The PC address 0x7fa906bb761a corresponds to 'libnsriqbr.so,' indicating that the crash occurred within the 'libnsriqbr.so' library.

194738 3854  20:55:02.769634 fstat(83, {st_mode=S_IFREG|0644, st_size=298900, ...}) = 0
194739 3854  20:55:02.769811 write(83, "pc: 0x7fb696130d41 InitializeHan"..., 65) = 65 à The SQLA frame subsequently calls the Open API in the 'libnsriqbr.so' backup library.

194740 3854  20:55:02.770110 fstat(83, {st_mode=S_IFREG|0644, st_size=298965, ...}) = 0
194741 3854  20:55:02.770282 write(83, "pc: 0x7fb696139ed5 ArchiveBackup"..., 54) = 54
194742 3854  20:55:02.770559 fstat(83, {st_mode=S_IFREG|0644, st_size=299019, ...}) = 0
194743 3854  20:55:02.770733 write(83, "pc: 0x7fb69613b4bd dbi_backup_da"..., 70) = 70


Read more...

Environment

SAP IQ 16.1 

Product

SAP IQ 16.1

Keywords

CR 828140, CR828140, 828140, libnsriqbr.so , KBA , BC-SYB-IQ , Sybase IQ , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.