Index: glib/poppler-action.cc =================================================================== RCS file: /cvs/poppler/poppler/glib/poppler-action.cc,v retrieving revision 1.11 diff -u -u -r1.11 poppler-action.cc --- glib/poppler-action.cc 25 Apr 2007 19:59:10 -0000 1.11 +++ glib/poppler-action.cc 21 May 2007 20:53:55 -0000 @@ -248,7 +248,7 @@ dest->change_top = link_dest->getChangeTop (); dest->change_zoom = link_dest->getChangeZoom (); - if (dest->page_num > 0) { + if (document && dest->page_num > 0) { PopplerPage *page; page = poppler_document_get_page (document, dest->page_num - 1);