Assert failed
Posted in 2000
Topics: Installation, Setup & Upgrades, Storage & Space Management, Error Codes & Troubleshooting, Logging & Checkpoints
This is a multi-part message in MIME format.
------=_NextPart_000_7097e98a_dabbda2$10de4999
Content-Type: text/plain; format=flowed
Hello friends,
I got an assert fail error and at the same time
I got the SQL Error no 710 :
[710 Table table-name has been dropped, altered, or renamed.]
Though the SQL error says table had been altered, dropped or renamed, but we
have not altered any table in last 10 days.
We also have update statistics medium and update statistics for procedure
running every night through cron.
As Art had written that Altering a table cannot cause Assert Failure, then
what else can cause it? Any clues?
System details are :
Informix 7.24 UC4, HP UX 10.20, RAID 5,
Continuous logical log backup is done.
We are planning to upgrade Informix to 7.30 UC8 next weekend. We have done
the upgradation on the test box and till now everything seems fine.
Applications are yet to be tested.
The error portion from the message log and the AF file are attached.
Thanks in advance for all replies.
Vinod Bhansali
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
------=_NextPart_000_7097e98a_dabbda2$10de4999
Content-Type: text/plain; name="mess-log-af-file.txt"; format=flowed
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="mess-log-af-file.txt"
************** Error in message log start
****************************************
10:07:13 Checkpoint Completed: duration was 1 seconds.
10:07:40 Logical Log 78737 Complete.
10:07:42 Logical Log 78737 - Backup Started
10:07:43 Logical Log 78737 - Backup Completed
10:08:24 Assert Failed: Internal Error - Segmentation Violation
10:08:24 Who: Session(28781, dwilliam@tinamar.win.tpg-sgt.com, -364681,
-2112939936)
Thread(80595, sqlexec, 8cce5a98, 4)
10:08:24 Results: OnLine must abort
10:08:24 Action: Reinitialize shared memory
10:08:24 See Also: /tmp2/af.3ad30d87
10:08:25 rsinit.c, line 10145, thread 80595, proc id 2047, Segmentation
Violation.
10:08:25 Assert Failed: Segmentation Violation
10:08:25 Who: Session(28781, dwilliam@tinamar.win.tpg-sgt.com, -364681, 0)
Thread(80595, sqlexec, 0, 4)
10:08:25 Results: Fatal Internal Error requires system shutdown
10:08:25 Action: Restart OnLine
10:08:25 See Also: /tmp2/af.3ad30d87
10:08:25 rsinit.c, line 10145, thread 80595, proc id 2047, Segmentation
Violation.
10:08:25 PANIC: Attempting to bring system down
10:08:25 mt.c, line 1197, thread 0, proc id 2048, semop: errno = 36
.
10:08:25 mt.c, line 1197, thread 0, proc id 2060, semop: errno = 36
.
10:08:25 mt.c, line 1197, thread 0, proc id 2061, semop: errno = 36
.
10:09:24 shmat: [EINVAL][22]: shared memory base address illegal
10:09:24 using 0xc0000000, needs 0xc26f3000
10:09:24 Could not create single shared memory segment with resident andnon-resident par titions. Proceeding to create 2 shared memory segments
instead.
Thu Jun 15 10:09:42 2000
10:09:42 Event alarms enabled. ALARMPROG = '/opt/in4mx/etc/no_log.sh'
10:09:49 DR: DRAUTO is 0 (Off)
10:09:51 (10) connection rejected - no calls allowed for sqlexec
10:09:51 listener-thread: err = -27002: No connections are allowed inOnLine quiescent mode.
10:09:51 INFORMIX-OnLine Initialized'Shared Memory Initialized.
10:09:51 Physical Recovery Started.
10:09:52 Physical Recovery Complete: 512 Pages Restored.
10:09:52 Logical Recovery Started.
10:09:56 Logical Recovery Complete.14 Committed, 2 Rolled Back, 0 Open, 0 Bad Locks
10:09:56 Dataskip is now OFF for all dbspaces 10:09:57 CheckpointCompleted: duration was 1 seconds. 10:09:57 Dropping temporary TBLspace
1000a0, recovering 22096 pages.
10:09:57 Dropping temporary TBLspace 1000a1, recovering 1632 pages.
10:09:57 Dropping temporary TBLspace 1000a7, recovering 336 pages.
10:09:57 On-Line Mode
10:15:00 Checkpoint Completed: duration was 0 seconds.
************** Error in message log end
****************************************
************** AF file start ****************************************
10:08:24 Assert Failed: Internal Error - Segmentation Violation
10:08:24 Who: Session(28781, dwilliam@tinamar.win.tpg-sgt.com, -364681,
-2112939936)
Thread(80595, sqlexec, 8cce5a98, 4)
10:08:24 Results: OnLine must abort
10:08:24 Action: Reinitialize shared memory
10:08:24 See Also: /tmp2/af.3ad30d87
10:08:24 Stack for thread: 80595 sqlexecbase: 0x8b3fc018
len: 36864
pc: 0x00000000
tos: 0x8b3ff020
( 0) 0x003078bc afstack + 0x104 [/opt/in4mx/bin/oninit]
( 1) 0x00307060 mt_affail + 0x310 [/opt/in4mx/bin/oninit]
( 2) 0x001e9ab0 rsam_affail + 0x18 [/opt/in4mx/bin/oninit]
( 3) 0x0002acf8 hang_thread + 0xe8 [/opt/in4mx/bin/oninit]
( 4) 0x0002ab20 afsig_segv + 0x50 [/opt/in4mx/bin/oninit]
( 5) 0xc013dce0 _sigreturn [/usr/lib/libc.1]
( 6) 0x00034eb4 ddhash + 0x14 [/opt/in4mx/bin/oninit]
( 7) 0x00033fe4 getshdicptr + 0x24 [/opt/in4mx/bin/oninit]
( 8) 0x00033df0 decrrefcount + 0x50 [/opt/in4mx/bin/oninit]
( 9) 0x001256cc rmdiclink + 0x8c [/opt/in4mx/bin/oninit]
(10) 0x001254d4 closerel + 0x12c [/opt/in4mx/bin/oninit]
(11) 0x00124e20 closecb + 0x1e8 [/opt/in4mx/bin/oninit]
(12) 0x00124ba8 close_cb_subtree + 0x80 [/opt/in4mx/bin/oninit]
(13) 0x00124ac4 closesdb + 0x6c [/opt/in4mx/bin/oninit]
(14) 0x00124948 releasesdb + 0xc0 [/opt/in4mx/bin/oninit]
(15) 0x0006f408 drpcurlist + 0x70 [/opt/in4mx/bin/oninit]
(16) 0x00070824 clean_proc + 0x2c [/opt/in4mx/bin/oninit]
(17) 0x0007048c check_slot + 0x6c [/opt/in4mx/bin/oninit]
(18) 0x0006f588 retrieve_proc + 0xd8 [/opt/in4mx/bin/oninit]
(19) 0x00064788 proc2expr + 0x358 [/opt/in4mx/bin/oninit]
(20) 0x000625f8 expr2expr + 0xf0 [/opt/in4mx/bin/oninit]
(21) 0x0012c138 exec2cb + 0x28 [/opt/in4mx/bin/oninit]
(22) 0x001259e0 stmt2cb + 0x150 [/opt/in4mx/bin/oninit]
(23) 0x0012579c p_sp2cb + 0x9c [/opt/in4mx/bin/oninit]
(24) 0x00152f54 dotrstmts + 0xbc [/opt/in4mx/bin/oninit]
(25) 0x00152cbc dotrigs + 0x20c [/opt/in4mx/bin/oninit]
(26) 0x00152934 ferafttrig + 0xdc [/opt/in4mx/bin/oninit]
(27) 0x000ba234 dodmlrow + 0x264 [/opt/in4mx/bin/oninit]
(28) 0x000b9c50 dodelupd + 0x288 [/opt/in4mx/bin/oninit]
(29) 0x00030dd8 aud_dodelupd + 0x10 [/opt/in4mx/bin/oninit]
(30) 0x000518b0 excommand + 0x780 [/opt/in4mx/bin/oninit]
(31) 0x0006ada4 ip_evalsql + 0x254 [/opt/in4mx/bin/oninit]
(32) 0x00069208 runproc + 0x3e8 [/opt/in4mx/bin/oninit]
(33) 0x000a6d6c evalproc + 0x22c [/opt/in4mx/bin/oninit]
(34) 0x00052fb4 execproc + 0x24 [/opt/in4mx/bin/oninit]
(35) 0x0002e6e8 aud_execproc + 0x10 [/opt/in4mx/bin/oninit]
(36) 0x00051ad4 excommand + 0x9a4 [/opt/in4mx/bin/oninit]
(37) 0x00152f70 dotrstmts + 0xd8 [/opt/in4mx/bin/oninit]
(38) 0x00152cbc dotrigs + 0x20c [/opt/in4mx/bin/oninit]
(39) 0x00152934 ferafttrig + 0xdc [/opt/in4mx/bin/oninit]
(40) 0x0014a244 addone + 0x1a4 [/opt/in4mx/bin/oninit]
(41) 0x001499d4 insone_next + 0x2ec [/opt/in4mx/bin/oninit]
(42) 0x000b8b0c doi
-710 error can come to an app that has a prepared statement on a table or
procedure which has had stats updated after the prepare but before opening
it if the new stats cause the old query plan to become invalid (almost
always for stored procedures since the update stats on underlying tables
will force the procedure to be recompiled if stats were not updated on it
afterward.
The assert failure would be a bug worth reporting.
Art S. Kagel
Vinod Bhansali wrote:
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_7097e98a_dabbda2$10de4999
> Content-Type: text/plain; format=flowed
>
> Hello friends,
>
> I got an assert fail error and at the same time
> I got the SQL Error no 710 :
> [710 Table table-name has been dropped, altered, or renamed.]
>
> Though the SQL error says table had been altered, dropped or renamed, but we
> have not altered any table in last 10 days.
> We also have update statistics medium and update statistics for procedure
> running every night through cron.
>
> As Art had written that Altering a table cannot cause Assert Failure, then
> what else can cause it? Any clues?
>
> System details are :
> Informix 7.24 UC4, HP UX 10.20, RAID 5,
> Continuous logical log backup is done.
>
> We are planning to upgrade Informix to 7.30 UC8 next weekend. We have done
> the upgradation on the test box and till now everything seems fine.
> Applications are yet to be tested.
>
> The error portion from the message log and the AF file are attached.
>
> Thanks in advance for all replies.
> Vinod Bhansali
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> ------=_NextPart_000_7097e98a_dabbda2$10de4999
> Content-Type: text/plain; name="mess-log-af-file.txt"; format=flowed
> Content-Transfer-Encoding: 8bit
> Content-Disposition: attachment; filename="mess-log-af-file.txt"
>
> ************** Error in message log start
> ****************************************
>
> 10:07:13 Checkpoint Completed: duration was 1 seconds.
> 10:07:40 Logical Log 78737 Complete.
> 10:07:42 Logical Log 78737 - Backup Started
> 10:07:43 Logical Log 78737 - Backup Completed
> 10:08:24 Assert Failed: Internal Error - Segmentation Violation
> 10:08:24 Who: Session(28781, dwilliam@tinamar.win.tpg-sgt.com, -364681,
> -2112939936)
> Thread(80595, sqlexec, 8cce5a98, 4)
> 10:08:24 Results: OnLine must abort
> 10:08:24 Action: Reinitialize shared memory
> 10:08:24 See Also: /tmp2/af.3ad30d87
> 10:08:25 rsinit.c, line 10145, thread 80595, proc id 2047, Segmentation
> Violation.
> 10:08:25 Assert Failed: Segmentation Violation
> 10:08:25 Who: Session(28781, dwilliam@tinamar.win.tpg-sgt.com, -364681, 0)
> Thread(80595, sqlexec, 0, 4)
> 10:08:25 Results: Fatal Internal Error requires system shutdown
> 10:08:25 Action: Restart OnLine
> 10:08:25 See Also: /tmp2/af.3ad30d87
> 10:08:25 rsinit.c, line 10145, thread 80595, proc id 2047, Segmentation
> Violation.
> 10:08:25 PANIC: Attempting to bring system down
> 10:08:25 mt.c, line 1197, thread 0, proc id 2048, semop: errno = 36
> .
> 10:08:25 mt.c, line 1197, thread 0, proc id 2060, semop: errno = 36
> .
> 10:08:25 mt.c, line 1197, thread 0, proc id 2061, semop: errno = 36
> .
> 10:09:24 shmat: [EINVAL][22]: shared memory base address illegal
> 10:09:24 using 0xc0000000, needs 0xc26f3000
> 10:09:24 Could not create single shared memory segment with resident and> non-resident par titions. Proceeding to create 2 shared memory segments
> instead.
> Thu Jun 15 10:09:42 2000
> 10:09:42 Event alarms enabled. ALARMPROG = /opt/in4mx/etc/no_log.sh
> 10:09:49 DR: DRAUTO is 0 (Off)
> 10:09:51 (10) connection rejected - no calls allowed for sqlexec
> 10:09:51 listener-thread: err = -27002: No connections are allowed in> OnLine quiescent mode.
> 10:09:51 INFORMIX-OnLine InitializedShared Memory Initialized.
> 10:09:51 Physical Recovery Started.
> 10:09:52 Physical Recovery Complete: 512 Pages Restored.
> 10:09:52 Logical Recovery Started.
> 10:09:56 Logical Recovery Complete.> 14 Committed, 2 Rolled Back, 0 Open, 0 Bad Locks
> 10:09:56 Dataskip is now OFF for all dbspaces 10:09:57 Checkpoint> Completed: duration was 1 seconds. 10:09:57 Dropping temporary TBLspace
> 1000a0, recovering 22096 pages.
> 10:09:57 Dropping temporary TBLspace 1000a1, recovering 1632 pages.
> 10:09:57 Dropping temporary TBLspace 1000a7, recovering 336 pages.
> 10:09:57 On-Line Mode
> 10:15:00 Checkpoint Completed: duration was 0 seconds.>
> ************** Error in message log end
> ****************************************
>
> ************** AF file start ****************************************
>
> 10:08:24 Assert Failed: Internal Error - Segmentation Violation
> 10:08:24 Who: Session(28781, dwilliam@tinamar.win.tpg-sgt.com, -364681,
> -2112939936)
> Thread(80595, sqlexec, 8cce5a98, 4)
> 10:08:24 Results: OnLine must abort
> 10:08:24 Action: Reinitialize shared memory
> 10:08:24 See Also: /tmp2/af.3ad30d87
> 10:08:24 Stack for thread: 80595 sqlexec> base: 0x8b3fc018
> len: 36864
> pc: 0x00000000
> tos: 0x8b3ff020
> ( 0) 0x003078bc afstack + 0x104 [/opt/in4mx/bin/oninit]
> ( 1) 0x00307060 mt_affail + 0x310 [/opt/in4mx/bin/oninit]
> ( 2) 0x001e9ab0 rsam_affail + 0x18 [/opt/in4mx/bin/oninit]
> ( 3) 0x0002acf8 hang_thread + 0xe8 [/opt/in4mx/bin/oninit]
> ( 4) 0x0002ab20 afsig_segv + 0x50 [/opt/in4mx/bin/oninit]
> ( 5) 0xc013dce0 _sigreturn [/usr/lib/libc.1]
> ( 6) 0x00034eb4 ddhash + 0x14 [/opt/in4mx/bin/oninit]
> ( 7) 0x00033fe4 getshdicptr + 0x24 [/opt/in4mx/bin/oninit]
> ( 8) 0x00033df0 decrrefcount + 0x50 [/opt/in4mx/bin/oninit]
> ( 9) 0x001256cc rmdiclink + 0x8c [/opt/in4mx/bin/oninit]
> (10) 0x001254d4 closerel + 0x12c [/opt/in4mx/bin/oninit]
> (11) 0x00124e20 closecb + 0x1e8 [/opt/in4mx/bin/oninit]
> (12) 0x00124ba8 close_cb_subtree + 0x80 [/opt/in4mx/bin/oninit]
> (13) 0x00124ac4 closesdb + 0x6c [/opt/in4mx/bin/oninit]
> (14) 0x00124948 releasesdb + 0xc0 [/opt/in4mx/bin/oninit]
> (15) 0x0006f408 drpcurlist + 0x70 [/opt/in4mx/bin/oninit]
> (16) 0x00070824 clean_proc + 0x2c [/opt/in4mx/bin/oninit]
> (17) 0x0007048c check_slot + 0x6c [/opt/in4mx/bin/oninit]
> (18) 0x0006f588 retrieve_proc + 0xd8 [/opt/in4mx/bin/oninit]
> (19) 0x00064788 proc2expr + 0x358 [/opt/in4mx/bin/oninit]
> (20) 0x000625f8 expr2expr + 0xf0 [/opt/in4mx/bin/oninit]
> (21) 0x0012c138 exec2cb + 0x28 [/opt/in4mx/bin/oninit]
> (22) 0x001259e0 stmt2cb + 0x150 [/opt/in4mx/bin/oninit]
> (23) 0x0012579c p_sp2cb + 0x9c [/opt/in4mx/bin/oninit]
> (24) 0x00152f54 dotrstmts + 0xbc [/opt/in4mx/bin/oninit]
> (25) 0x00152cbc dotrigs + 0x20c [/opt/in4mx/bin/oninit]
> (26) 0x00152934 ferafttrig + 0xdc [/opt/in4mx/bin/oninit]
> (27) 0x000ba234 dodmlrow + 0x264 [/opt/in4mx/bin/oninit]
> (28) 0x000b9c50 dodelupd + 0x288 [/opt/in4mx/bin/oninit]
> (29) 0x00030dd8 aud_dodelupd + 0x10 [/op