@blh64, indeed!!
I found the issue on Sunday. I misunderstood the datasheet and was enabling the comparator interrupt as well, when what I wanted was just to enable the Analog Comparator Input Capture (ACIC bit on ACSR). It was jumping to the (undefined) comparator interrupt vector.
Thank you!