ae987dc53dd066b7f856b506bf1c933cc51c7046 markd Tue Jun 18 14:07:04 2024 -0700 errAbort instead of SEGV when bigPsl alignment table is not found. Unsure why this happened, but at least this removes the white screen of death diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index 451b013..7f96d17 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -7957,30 +7957,32 @@ struct psl *psl; char *aliTable; int start; unsigned int cdsStart = 0, cdsEnd = 0; struct sqlConnection *conn = NULL; struct trackDb *tdb = NULL; aliTable = cartString(cart, "aliTable"); if (isCustomTrack(aliTable)) { struct customTrack *ct = lookupCt(aliTable); tdb = ct->tdb; } else tdb = hashFindVal(trackHash, aliTable); +if (tdb == NULL) + errAbort("BUG: bigPsl alignment table '%s' not found", aliTable); if (!trackHubDatabase(database)) conn = hAllocConnTrack(database, tdb); char title[1024]; safef(title, sizeof title, "%s vs Genomic [%s]", acc, aliTable); htmlFramesetStart(title); /* Get some environment vars. */ start = cartInt(cart, "l"); int end = cartInt(cart, "r"); char *chrom = cartString(cart, "c"); char *seq, *cdsString = NULL; struct lm *lm = lmInit(0);