Artifact
c825f94d5300e6ca785918dee34e606ecf8757c1:
Ticket change
[c825f94d53]
- New ticket [e08eee2b1efb1fac|e08eee2b1e] <i>RL2_ImportSectionRawPixels fails on arm64</i>.
by
anonymous
2022-12-05 15:23:19.
0000: 44 20 32 30 32 32 2d 31 32 2d 30 35 54 31 35 3a D 2022-12-05T15:
0010: 32 33 3a 31 39 2e 30 38 32 0a 4a 20 66 6f 75 6e 23:19.082.J foun
0020: 64 69 6e 20 32 2e 31 2e 31 0a 4a 20 69 63 6f 6d din 2.1.1.J icom
0030: 6d 65 6e 74 20 5b 43 6f 6e 74 65 78 74 5d 5c 72 ment [Context]\r
0040: 5c 6e 49 5c 73 61 6d 5c 73 63 75 72 72 65 6e 74 \nI\sam\scurrent
0050: 6c 79 5c 73 77 6f 72 6b 69 6e 67 5c 73 6f 6e 5c ly\sworking\son\
0060: 73 61 5c 73 70 72 6f 6a 65 63 74 5c 73 61 6e 64 sa\sproject\sand
0070: 5c 73 75 73 69 6e 67 5c 73 73 70 61 74 69 61 6c \susing\sspatial
0080: 69 74 65 5c 73 28 35 2e 30 2e 31 29 5c 73 61 6e ite\s(5.0.1)\san
0090: 64 5c 73 72 61 73 74 65 72 6c 69 74 65 32 5c 73 d\srasterlite2\s
00a0: 28 32 2e 31 2e 31 29 5c 73 6f 6e 5c 73 75 62 75 (2.1.1)\son\subu
00b0: 6e 74 75 5c 73 32 30 5c 73 66 6f 72 5c 73 61 5c ntu\s20\sfor\sa\
00c0: 73 66 65 77 5c 73 6d 6f 6e 74 68 73 5c 73 6e 6f sfew\smonths\sno
00d0: 77 2e 5c 72 5c 6e 50 72 65 76 69 6f 75 73 6c 79 w.\r\nPreviously
00e0: 2c 5c 73 49 5c 73 77 61 73 5c 73 77 6f 72 6b 69 ,\sI\swas\sworki
00f0: 6e 67 5c 73 6f 6e 5c 73 72 65 67 75 6c 61 72 5c ng\son\sregular\
0100: 73 78 38 36 5c 73 61 72 63 68 69 74 65 63 74 75 sx86\sarchitectu
0110: 72 65 5c 73 6f 6e 5c 73 6d 79 5c 73 6c 61 70 74 re\son\smy\slapt
0120: 6f 70 2e 5c 73 49 5c 73 61 6d 5c 73 6e 6f 77 5c op.\sI\sam\snow\
0130: 73 74 72 79 69 6e 67 5c 73 74 6f 5c 73 68 61 76 strying\sto\shav
0140: 65 5c 73 74 68 65 5c 73 73 61 6d 65 5c 73 70 72 e\sthe\ssame\spr
0150: 6f 6a 65 63 74 5c 73 72 75 6e 6e 69 6e 67 5c 73 oject\srunning\s
0160: 6f 6e 5c 73 61 5c 73 6e 76 69 64 69 61 5c 73 6a on\sa\snvidia\sj
0170: 65 74 73 6f 6e 5c 73 6e 78 2c 5c 73 77 68 69 63 etson\snx,\swhic
0180: 68 5c 73 69 73 5c 73 61 72 6d 36 34 5c 73 61 72 h\sis\sarm64\sar
0190: 63 68 69 74 65 63 74 75 72 65 2e 5c 72 5c 6e 5c chitecture.\r\n\
01a0: 72 5c 6e 5b 50 72 6f 62 6c 65 6d 5d 5c 72 5c 6e r\n[Problem]\r\n
01b0: 54 68 65 5c 73 63 6f 64 65 5c 73 69 73 5c 73 72 The\scode\sis\sr
01c0: 75 6e 6e 69 6e 67 5c 73 77 65 6c 6c 5c 73 6f 6e unning\swell\son
01d0: 5c 73 6d 79 5c 73 6c 61 70 74 6f 70 5c 73 28 78 \smy\slaptop\s(x
01e0: 38 36 5c 73 61 72 63 68 69 74 65 63 74 75 72 65 86\sarchitecture
01f0: 29 2c 5c 73 62 75 74 5c 73 74 68 65 5c 73 52 4c ),\sbut\sthe\sRL
0200: 32 5f 49 6d 70 6f 72 74 53 65 63 74 69 6f 6e 52 2_ImportSectionR
0210: 61 77 50 69 78 65 6c 73 5c 73 69 73 5c 73 72 65 awPixels\sis\sre
0220: 74 75 72 6e 69 6e 67 5c 73 61 5c 73 66 61 69 6c turning\sa\sfail
0230: 75 72 65 5c 73 28 4e 55 4c 4c 29 5c 73 77 68 65 ure\s(NULL)\swhe
0240: 6e 5c 73 49 5c 73 77 61 6e 74 5c 73 74 6f 5c 73 n\sI\swant\sto\s
0250: 69 6d 70 6f 72 74 5c 73 61 5c 73 72 61 73 74 65 import\sa\sraste
0260: 72 5c 73 69 6e 74 6f 5c 73 61 5c 73 63 6f 76 65 r\sinto\sa\scove
0270: 72 61 67 65 5c 73 6f 6e 5c 73 74 68 65 5c 73 6e rage\son\sthe\sn
0280: 76 69 64 69 61 5c 73 6a 65 74 73 6f 6e 5c 73 28 vidia\sjetson\s(
0290: 61 72 6d 36 34 5c 73 61 72 63 68 69 74 65 63 74 arm64\sarchitect
02a0: 75 72 65 29 2e 5c 72 5c 6e 49 5c 73 70 72 69 6e ure).\r\nI\sprin
02b0: 74 65 64 5c 73 6f 75 74 5c 73 74 68 65 5c 73 53 ted\sout\sthe\sS
02c0: 51 4c 5c 73 73 74 61 74 65 6d 65 6e 74 73 5c 73 QL\sstatements\s
02d0: 77 68 69 63 68 5c 73 61 72 65 5c 73 65 78 61 63 which\sare\sexac
02e0: 74 6c 79 5c 73 74 68 65 5c 73 73 61 6d 65 5c 73 tly\sthe\ssame\s
02f0: 6f 6e 5c 73 62 6f 74 68 5c 73 64 65 76 69 63 65 on\sboth\sdevice
0300: 73 2e 5c 72 5c 6e 5c 72 5c 6e 46 69 72 73 74 5c s.\r\n\r\nFirst\
0310: 73 49 5c 73 63 72 65 61 74 65 5c 73 61 5c 73 63 sI\screate\sa\sc
0320: 6f 76 65 72 61 67 65 5c 73 6c 69 6b 65 5c 73 74 overage\slike\st
0330: 68 69 73 5c 73 28 63 6f 72 72 65 63 74 5c 73 6f his\s(correct\so
0340: 6e 5c 73 62 6f 74 68 5c 73 61 72 63 68 69 74 65 n\sboth\sarchite
0350: 63 74 75 72 65 29 3a 5c 73 5c 72 5c 6e 5c 72 5c cture):\s\r\n\r\
0360: 6e 53 45 4c 45 43 54 5c 73 52 4c 32 5f 43 72 65 nSELECT\sRL2_Cre
0370: 61 74 65 52 61 73 74 65 72 43 6f 76 65 72 61 67 ateRasterCoverag
0380: 65 28 27 72 61 73 74 5f 63 6f 76 27 2c 5c 73 27 e('rast_cov',\s'
0390: 55 49 4e 54 38 27 2c 5c 73 27 47 72 61 79 73 63 UINT8',\s'Graysc
03a0: 61 6c 65 27 2c 5c 73 31 2c 5c 73 27 4e 4f 4e 45 ale',\s1,\s'NONE
03b0: 27 2c 5c 73 31 30 30 2c 5c 73 32 35 36 2c 5c 73 ',\s100,\s256,\s
03c0: 32 35 36 2c 5c 73 34 33 32 36 2c 5c 73 30 2e 30 256,\s4326,\s0.0
03d0: 30 30 30 30 36 37 32 34 36 2c 5c 73 30 2e 30 30 000067246,\s0.00
03e0: 30 30 30 34 35 35 31 31 2c 5c 73 52 4c 32 5f 53 00045511,\sRL2_S
03f0: 65 74 50 69 78 65 6c 56 61 6c 75 65 28 52 4c 32 etPixelValue(RL2
0400: 5f 43 72 65 61 74 65 50 69 78 65 6c 28 27 55 49 _CreatePixel('UI
0410: 4e 54 38 27 2c 5c 73 27 47 72 61 79 73 63 61 6c NT8',\s'Grayscal
0420: 65 27 2c 5c 73 31 29 2c 5c 73 30 2c 5c 73 35 29 e',\s1),\s0,\s5)
0430: 2c 5c 73 30 2c 5c 73 30 2c 5c 73 30 2c 5c 73 30 ,\s0,\s0,\s0,\s0
0440: 2c 5c 73 30 2c 5c 73 31 29 3b 5c 72 5c 6e 5c 72 ,\s0,\s1);\r\n\r
0450: 5c 6e 54 68 65 6e 5c 73 49 5c 73 69 6e 73 65 72 \nThen\sI\sinser
0460: 74 5c 73 74 68 65 5c 73 72 61 73 74 65 72 5c 73 t\sthe\sraster\s
0470: 6c 69 6b 65 5c 73 74 68 69 73 5c 73 28 66 61 69 like\sthis\s(fai
0480: 6c 73 5c 73 6f 6e 5c 73 61 72 6d 36 34 29 3a 5c ls\son\sarm64):\
0490: 72 5c 6e 5c 72 5c 6e 53 45 4c 45 43 54 5c 73 52 r\n\r\nSELECT\sR
04a0: 4c 32 5f 49 6d 70 6f 72 74 53 65 63 74 69 6f 6e L2_ImportSection
04b0: 52 61 77 50 69 78 65 6c 73 28 27 72 61 73 74 5f RawPixels('rast_
04c0: 63 6f 76 27 2c 5c 73 27 73 69 6e 67 6c 65 5f 70 cov',\s'single_p
04d0: 78 27 2c 5c 73 31 2c 5c 73 31 2c 5c 73 78 27 30 x',\s1,\s1,\sx'0
04e0: 30 27 2c 5c 73 47 65 6f 6d 46 72 6f 6d 54 65 78 0',\sGeomFromTex
04f0: 74 28 27 4c 49 4e 45 53 54 52 49 4e 47 28 32 2e t('LINESTRING(2.
0500: 31 32 30 33 34 32 38 30 38 38 5c 73 34 38 2e 38 1203428088\s48.8
0510: 30 34 39 30 34 36 34 33 39 2c 5c 73 32 2e 31 32 049046439,\s2.12
0520: 30 33 34 39 35 33 33 34 5c 73 34 38 2e 38 30 34 03495334\s48.804
0530: 39 30 39 31 39 35 29 27 2c 5c 73 34 33 32 36 29 909195)',\s4326)
0540: 2c 5c 73 31 2c 5c 73 31 29 3b 0a 4a 20 6c 6f 67 ,\s1,\s1);.J log
0550: 69 6e 20 61 6e 6f 6e 79 6d 6f 75 73 0a 4a 20 6d in anonymous.J m
0560: 69 6d 65 74 79 70 65 20 74 65 78 74 2f 70 6c 61 imetype text/pla
0570: 69 6e 0a 4a 20 70 72 69 76 61 74 65 5f 63 6f 6e in.J private_con
0580: 74 61 63 74 20 63 38 32 62 65 61 37 62 39 30 61 tact c82bea7b90a
0590: 35 35 39 32 33 32 65 30 34 65 33 34 38 61 36 62 559232e04e348a6b
05a0: 36 32 38 63 62 63 31 37 62 37 64 33 62 0a 4a 20 628cbc17b7d3b.J
05b0: 73 65 76 65 72 69 74 79 20 53 65 76 65 72 65 0a severity Severe.
05c0: 4a 20 73 74 61 74 75 73 20 4f 70 65 6e 0a 4a 20 J status Open.J
05d0: 74 69 74 6c 65 20 52 4c 32 5f 49 6d 70 6f 72 74 title RL2_Import
05e0: 53 65 63 74 69 6f 6e 52 61 77 50 69 78 65 6c 73 SectionRawPixels
05f0: 5c 73 66 61 69 6c 73 5c 73 6f 6e 5c 73 61 72 6d \sfails\son\sarm
0600: 36 34 0a 4a 20 74 79 70 65 20 43 6f 64 65 5f 44 64.J type Code_D
0610: 65 66 65 63 74 0a 4b 20 65 30 38 65 65 65 32 62 efect.K e08eee2b
0620: 31 65 66 62 31 66 61 63 34 66 65 36 33 39 63 61 1efb1fac4fe639ca
0630: 33 31 36 61 37 31 34 35 30 37 33 61 30 34 35 32 316a7145073a0452
0640: 0a 55 20 61 6e 6f 6e 79 6d 6f 75 73 0a 5a 20 34 .U anonymous.Z 4
0650: 31 63 62 39 36 30 36 36 66 63 31 35 32 62 66 34 1cb96066fc152bf4
0660: 37 62 36 35 33 33 38 38 37 63 61 65 63 36 32 0a 7b6533887caec62.