Various iocsh commands cause a segfault with no arguments

Bug #541139 reported by Andrew Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EPICS Base
Fix Released
High
mrk

Bug Description

Increase the robustness of the routines provided as commands thorugh iocsh, which on Linux/Solaris can cause a segfault and hence abort the IOC.

Additional information:
The following commands when run *after* iocInit cause a Linux IOC to segfault when given no arguments:

    astac dba dbap dbb dbc dbd dbgf dbgrep
    dbp dbs dbstat dbtgf dbtpf dbtpn tpn

The following commands cause a segfault on Linux when run with no arguments *before* iocInit:

    dbLockShowLocked dbPvdDump dba dbc
    dbcar dbp dbs dbstat dbtpn tpn

Original Mantis Bug: mantis-59
    http://www.aps.anl.gov/epics/mantis/view_bug_page.php?f_id=59

Tags: 3.14
Revision history for this message
Eric Norum (wenorum) wrote :

I've committed a change. The following now seem o.k.: astac, dba, dbap, dbb, dbd, dbgf, dbtgf, dbtpf, dbPvdDump. That leaves dbc, dbgrep, dbp, dbs, dbstat, dbtpn, tpn and dbLockShowLocked, dbcar.

Revision history for this message
mrk (mrk-aps) wrote :

Fixed in 3.14.6

Revision history for this message
Andrew Johnson (anj) wrote :

R3.14.6 Released.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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