sqlci cores when started if Trafodion is down

Bug #1352419 reported by Marvin Anderson
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Trafodion
Fix Committed
Medium
Marvin Anderson

Bug Description

If the user attempts to start sqlci and Trafodion is down, sqlci crashes and core dumps.

[trafodion@node1 scripts]$ sqlci

 sqlci ($<unkwn>-6783-6783): msmon.cpp:4768 int msg_mon_process_startup_ph1(bool): Assertion 'gp_local_mon_io != NULL' '(0 != 0)' failed.

 Aborted (core dumped)

It should instead produce an error message letting the user know that Trafodion is down and that the user should start it with sqstart command.

The workaround for the above core dump is to start Trafodion with sqstart command.

Tags: foundation
tags: added: foundation
removed: sql-general
Changed in trafodion:
assignee: nobody → Dave George (d-george-b)
milestone: none → r1.0
Revision history for this message
Sandhya Sundaresan (sandhya-sundaresan) wrote :

After some dicussion decided to add a message to the sqlci-emitted message to make it more 'user friendly'.

Changed in trafodion:
importance: High → Medium
assignee: Dave George (d-george-b) → Sandhya Sundaresan (sandhya-sundaresan)
Revision history for this message
Sandhya Sundaresan (sandhya-sundaresan) wrote :

Also the bug reports a core being created. But no core is created anymore so it's more of a Medium priority issue.

Revision history for this message
Sandhya Sundaresan (sandhya-sundaresan) wrote :

Foundation needs to rework an assertion.

Changed in trafodion:
assignee: Sandhya Sundaresan (sandhya-sundaresan) → Dave George (d-george-b)
Revision history for this message
Marvin Anderson (marvin-anderson) wrote :

The behavior has changed, the latest Trafodion daily build (141023) now produces this output

[trafodion@n018 scripts]$ sqlci
Fatal error ($<unkwn>-20210-20210): msg-init: init-attach failed, fserr=11
Error while initializing messaging system. Exiting...

Suggest adding "Please make sure Trafodion is started and up." to the output like this:

[trafodion@n018 scripts]$ sqlci
Fatal error ($<unkwn>-20210-20210): msg-init: init-attach failed, fserr=11
Error while initializing messaging system. Please make sure Trafodion is started and up. Exiting...

Changed in trafodion:
milestone: r1.0 → r1.1
Revision history for this message
Atanu Mishra (atanu-mishra) wrote :

The addendum to the error message was checked in on April 9th. Closing.

Changed in trafodion:
status: New → Fix Committed
assignee: Dave George (d-george-b) → Marvin Anderson (marvin-anderson)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.