kas1e / Odyssey

AmigaOS4 version of Odyssey
9 stars 7 forks source link

RC7: Reproducable crash on changing spoofs #24

Open raziel- opened 4 years ago

raziel- commented 4 years ago

Odyssey 1.23 r5_beta07

I get a reproducable crash on adding or removing User-Agents from the Spoofing list. Especially after changing the default (IF one item was added or removed).

Odyssey crashes right away on saving and, what is far worse, continues to crash after a reboot on start (not even the splash window comes up).

I can workaround that issue by loading conf/useragent.prefs into a text editor and change the leading "4" to a "2", save and start Odyssey. It loads up and one has to reset the default spoof from in-app settings.

It seems to corrupts useragent.prefs on save and cannot handle the corrupted file afterwards. Crashlog_Odyssey_2020-06-03_08-27-35.txt

kas1e commented 4 years ago

First bug at least about spoofing :)

Can you write the exact steps on how to reproduce, i.e: 1). run fresh odyssey 2). go to spoofing_settings 3). set xX 4). set xX 5). click xX =>crash

raziel- commented 4 years ago

1) Settings/Preferences/Spoofing 2) Add 3) Type "1" as Name 3) Type "1" as User-Agent 4) Make default 5) Save Instant crash

It doesn't matter what you type, you can also simply copy&paste an already available string.

It seems the "Make default" switch and later on the saving of the prefs file cause the crash, but i'm not sure, of course.