This phase II trial studies how well linsitinib works in treating younger and adult patients with gastrointestinal stromal tumors. Linsitinib may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth.