DownloadFile() works fine with many URLs, but I now noticed that it crashes, for example, with hollywood-mal.com.
This crashes on my setup:
Code: Select all
@REQUIRE "hurl"
DownloadFile("https://www.hollywood-mal.com/img/title.png", {File = "title.png", Adapter = "hurl"})
Code: Select all
68k Exception 11 <LineF>
Task 0x20509090 <Background CLI [ RAM:downloadcrash.mos ]>
Dn[0] 00000010 00000000 00000007 00000000 00000000 00000000 20e173ba 1e5b3092
An[0] 1fed9450 140c9498 1f7bb12c 1e6c22e8 1e6ca2ae 1e6c7910 14001948 1e572e14
PC 1f82e46e SR 0011
68k StackTrace:
[ 0] 0x20e2297e -> <@libs:amissl/amissl_v111a.library> Hunk 0 Offset 0x6732e
[ 1] 0x20e0a15a -> <@libs:amissl/amissl_v111a.library> Hunk 0 Offset 0x4eb0a
[ 2] 0x20e0a9ae -> <@libs:amissl/amissl_v111a.library> Hunk 0 Offset 0x4f35e
[ 3] 0x1e5b3092 -> <@LIBS:Hollywood/hurl.hwp> Hunk 2 Offset 0x118ba
[ 4] 0x20e0aa10 -> <@libs:amissl/amissl_v111a.library> Hunk 0 Offset 0x4f3c0
[ 5] 0x20e17f5c -> <@libs:amissl/amissl_v111a.library> Hunk 0 Offset 0x5c90c
[ 6] 0x20e18da8 -> <@libs:amissl/amissl_v111a.library> Hunk 0 Offset 0x5d758
[ 7] 0x20e18094 -> <@libs:amissl/amissl_v111a.library> Hunk 0 Offset 0x5ca44
[ 8] 0x20e17ea8 -> <@libs:amissl/amissl_v111a.library> Hunk 0 Offset 0x5c858
[ 9] 0x20e315f8 -> <@libs:amissl/amissl_v111a.library> Hunk 0 Offset 0x75fa8
PPC StackTrace:
[ 0] 0x10115eb8 -> <@exec_of_604e.elf> Hunk 0 Offset 0x15eb8
[ 1] 0x1010e9f4 -> <@exec_of_604e.elf> Hunk 0 Offset 0xe9f4
[ 2] 0x1010e904 -> <@exec_of_604e.elf> Hunk 0 Offset 0xe904
[ 3] 0x10119734 -> <@exec_of_604e.elf> Hunk 0 Offset 0x19734
[ 4] 0x157cacec -> <@MOSSYS:LIBS/trance.library> Hunk 1 Offset 0x494c
[ 5] 0x11007694 -> <@ABox: Emulation> Hunk 0 Offset 0x7694
[ 6] 0x11008df4 -> <@ABox: Emulation> Hunk 0 Offset 0x8df4
[ 7] 0x1f8315c8 -> <@LIBS:Hollywood/hurl.hwp> Hunk 1 Offset 0x55ea8
[ 8] 0x1f8335d8 -> <@LIBS:Hollywood/hurl.hwp> Hunk 1 Offset 0x57eb8
[ 9] 0x1f804d30 -> <@LIBS:Hollywood/hurl.hwp> Hunk 1 Offset 0x29610
[10] 0x1f809b78 -> <@LIBS:Hollywood/hurl.hwp> Hunk 1 Offset 0x2e458
Any idea if this would be a AmiSSL, MorphOS, or Hollywood bug? I'll start reporting here in any case to get it somewhere
I tried to download the same picture with IBrowse 2.5.1, which also uses AmiSSL v4, but it downloaded the file just fine and didn't crash.