/* * Setting available resolutions and xy ranges for sane frontend. */ s->hw->res_list_size =3D 0; s->hw->res_list =3D (SANE_Int *) calloc (s->hw->res_list_size, sizeof (SANE_Int));
if (NULL =3D=3D s->hw->res_list) { DBG (1, "out of memory (line %d)\n", __LINE__); return SANE_STATUS_NO_MEM; } ... Given the fact, that the system has only 32MB RAM, I enabled a 512MB swap. Any idea what=B9s going wrong? Thanks a lot! /bjoern