Half of all children in Chicago live in single-parent homes, and the poverty rate for families headed by a single mother are around 40%: http://articles.chicagotribune.com/2013-11-03/news/ct-edit-x.... That percentage is almost certainly much higher within the Chicago public school system, which skews poorer than the city as a whole.
You can't have functional schools with students who have to worry more about gang violence in their neighborhood than their grades. More money, better curricula, better teachers, none of that matters when the social structure outside the school is crumbling.
I imagine much of the dysfunction endemic to urban school systems is related to the Sisyphean nature of the task we give them. We focus almost single-mindedly on schools and education to solve all the ills of urban society. If only our schools were functional and our teachers competent, we say, these kids would be able to rise out of their condition and better themselves. But teachers who teach in these systems realize the absurdity of that charge. Stuck between a student population that needs help in ways that are not within their power to give, and a society that fails to realize the actual needs of these young people, teachers shift to a mode focused on self-preservation. Hence the dysfunction present in urban school systems.
Of course the new mayor of New York wants to stop their growth, but that's another complaint.
[1] http://www.successacademies.org/
[2] http://projects.nytimes.com/new-york-schools-test-scores/cou...
and
http://perdidostreetschool.blogspot.com/2013/08/bronx-succes...
Teacher salaries are often higher in urban districts than suburban ones (and often still result in teacher shortages) because the conditions in urban districts are often less attractive to qualified teachers. (Policies which equalize per student spending across states means this also results in lower non-teacher-salary spending in those districts, which results in worse working conditions and more pressure for teachers to reach into their own pockets to meet classroom needs, which makes teaching in those districts even less attractive.)
Americans spend more on public schools than pretty much anyone else, by almost any measure you choose: http://www.huffingtonpost.com/2013/06/25/oecd-education-repo....
Chicago spends about the same per student as the wealthy suburb where I grew up. Teachers' salaries are also higher in Chicago than where I grew up, despite having comparable if not lower cost of living.