Subject: Opera6 throws segfault on 1.5.4_ALPHA but not on 1.6
To: None <>
From: Klaus Heinz <>
List: tech-pkg
Date: 12/19/2002 03:03:42

yesterday, I encountered a bug with Opera6 on NetBSD/i386 1.5.4_ALPHA.
Out of the blue Opera crashed while starting. I traced the cause of this
and found the culprit: the file ~/.opera/adprefs.ini.
When Opera6 finds this

  Opera Preferences version 2.0

at the first line of ~/.opera/adprefs.ini it crashes with a segmentation
Strangely enough, when you install Opera6 for the first time it creates
some files and among them adprefs.ini with exactly this line.

Because I had used version 5 of Opera before (which doesn't put such a
line into adprefs.ini) Opera6 didn't change the file and ran happily
until yesterday. I don't know why adprefs.ini changed the way it did,
but anyway, Opera6 crashed from then on (Opera 6.03, 6.10 and 6.11 were

I fixed this bad behaviour by commenting the offending line with a ';'
and notified the package maintainer Matthias Scheler who agreed with my

Now I wanted to see whether this also happens with NetBSD 1.6 and with
Linux. It doesn't. Suse 7.3 uses the same rpm without a problem and a
new test installation of NetBSD 1.6_STABLE does as well, both with
suse_* and suse64_* compatibility packages.

I would like to know whether anyone can verify this behaviour: just
rename your directory ~/.opera/ temporarily to a different name and try
to start opera6 twice on NetBSD 1.5.4 or 1.5.x. It should crash the
second time.
Maybe I have just a bad installation of 1.5.4_ALPHA...