Ticket #14872: gdb-indy3-mac-hq3x.txt

File gdb-indy3-mac-hq3x.txt, 11.9 KB (added by dwatteau, 10 months ago)

GDB backtrace when the crash occurs

Line 
1(gdb) run
2Thread 1 "scummvm" received signal SIGSEGV, Segmentation fault.
30x0000555556504494 in HQ3x_implementation<Graphics::ColorMasks<888> > (srcPtr=0x616000292904 "\003\003\003\003\003\003",
4 srcPitch=24, dstPtr=0x61d00046e6a0 "\202\202\002", dstPitch=48, width=15, height=13, RGBtoYUV=0x7fffdd239800)
5 at graphics/scaler/hq.cpp:2143
62143 w1 = *(p - 1 - nextlineSrc);
7
8(gdb) bt
9#0 0x0000555556504494 in HQ3x_implementation<Graphics::ColorMasks<888> > (srcPtr=0x616000292904 "\003\003\003\003\003\003",
10 srcPitch=24, dstPtr=0x61d00046e6a0 "\202\202\002", dstPitch=48, width=15, height=13, RGBtoYUV=0x7fffdd239800)
11 at graphics/scaler/hq.cpp:2143
12#1 0x000055555652ee07 in HQScaler::HQ3x32 (this=0x6030000f14e0, srcPtr=0x616000292904 "\003\003\003\003\003\003", srcPitch=24,
13 dstPtr=0x61d00046e6a0 "\202\202\002", dstPitch=48, width=15, height=15) at graphics/scaler/hq.cpp:5033
14#2 0x00005555563e0528 in HQScaler::scaleIntern (this=0x6030000f14e0, srcPtr=0x616000292904 "\003\003\003\003\003\003",
15 srcPitch=24, dstPtr=0x61d00046e6a0 "\202\202\002", dstPitch=48, width=15, height=15, x=0, y=0) at graphics/scaler/hq.cpp:5055
16#3 0x00005555562f31aa in Scaler::scale (this=0x6030000f14e0, srcPtr=0x616000292904 "\003\003\003\003\003\003", srcPitch=24,
17 dstPtr=0x61d00046e6a0 "\202\202\002", dstPitch=48, width=15, height=15, x=0, y=0) at graphics/scalerplugin.cpp:56
18#4 0x0000555556094fa7 in SurfaceSdlGraphicsManager::blitCursor (this=0x622000054100)
19 at backends/graphics/surfacesdl/surfacesdl-graphics.cpp:2318
20#5 0x0000555556082cf5 in SurfaceSdlGraphicsManager::setGraphicsModeIntern (this=0x622000054100)
21 at backends/graphics/surfacesdl/surfacesdl-graphics.cpp:702
22#6 0x000055555607d334 in SurfaceSdlGraphicsManager::endGFXTransaction (this=0x622000054100)
23 at backends/graphics/surfacesdl/surfacesdl-graphics.cpp:428
24#7 0x0000555556021d28 in ModularGraphicsBackend::endGFXTransaction (this=0x614000000050) at backends/modular-backend.cpp:145
25#8 0x000055555587ceef in setupGraphics (system=...) at base/main.cpp:381
26#9 0x0000555555881be5 in scummvm_main (argc=1, argv=0x7fffffffdd48) at base/main.cpp:884
27#10 0x000055555587510e in main (argc=1, argv=0x7fffffffdd48) at backends/platform/sdl/posix/posix-main.cpp:44
28
29(gdb) bt full
30#0 0x0000555556504494 in HQ3x_implementation<Graphics::ColorMasks<888> > (srcPtr=0x616000292904 "\003\003\003\003\003\003",
31 srcPitch=24, dstPtr=0x61d00046e6a0 "\202\202\002", dstPitch=48, width=15, height=13, RGBtoYUV=0x7fffdd239800)
32 at graphics/scaler/hq.cpp:2143
33 tmpWidth = -1
34 w1 = 50529024
35 w2 = 50529027
36 w3 = 50529027
37 w4 = 50529024
38 w5 = 50529027
39 w6 = 50529027
40 w7 = 50529024
41 w8 = 50529027
42 w9 = 50529027
43 nextlineSrc = 6
44 p = 0x61640029291c
45 nextlineDst = 12
46 nextlineDst2 = 24
47 q = 0x61d40046e730
48#1 0x000055555652ee07 in HQScaler::HQ3x32 (this=0x6030000f14e0, srcPtr=0x616000292904 "\003\003\003\003\003\003", srcPitch=24,
49 dstPtr=0x61d00046e6a0 "\202\202\002", dstPitch=48, width=15, height=15) at graphics/scaler/hq.cpp:5033
50 __PRETTY_FUNCTION__ = "void HQScaler::HQ3x32(const uint8*, uint32, uint8*, uint32, int, int)"
51#2 0x00005555563e0528 in HQScaler::scaleIntern (this=0x6030000f14e0, srcPtr=0x616000292904 "\003\003\003\003\003\003",
52 srcPitch=24, dstPtr=0x61d00046e6a0 "\202\202\002", dstPitch=48, width=15, height=15, x=0, y=0) at graphics/scaler/hq.cpp:5055
53No locals.
54#3 0x00005555562f31aa in Scaler::scale (this=0x6030000f14e0, srcPtr=0x616000292904 "\003\003\003\003\003\003", srcPitch=24,
55 dstPtr=0x61d00046e6a0 "\202\202\002", dstPitch=48, width=15, height=15, x=0, y=0) at graphics/scalerplugin.cpp:56
56No locals.
57#4 0x0000555556094fa7 in SurfaceSdlGraphicsManager::blitCursor (this=0x622000054100)
58 at backends/graphics/surfacesdl/surfacesdl-graphics.cpp:2318
59 w = 15
60 h = 15
61 cursorScale = 3
62 rW = 45
63 rH = 45
64 rH1 = 45
65 sizeChanged = true
66#5 0x0000555556082cf5 in SurfaceSdlGraphicsManager::setGraphicsModeIntern (this=0x622000054100)
67 at backends/graphics/surfacesdl/surfacesdl-graphics.cpp:702
68 lock = {
69 _mutex = 0x6020000b0830,
70 _mutexName = 0x0
71 }
72#6 0x000055555607d334 in SurfaceSdlGraphicsManager::endGFXTransaction (this=0x622000054100)
73 at backends/graphics/surfacesdl/surfacesdl-graphics.cpp:428
74 errors = 0
75 __PRETTY_FUNCTION__ = "virtual OSystem::TransactionError SurfaceSdlGraphicsManager::endGFXTransaction()"
76#7 0x0000555556021d28 in ModularGraphicsBackend::endGFXTransaction (this=0x614000000050) at backends/modular-backend.cpp:145
77No locals.
78#8 0x000055555587ceef in setupGraphics (system=...) at base/main.cpp:381
79No locals.
80#9 0x0000555555881be5 in scummvm_main (argc=1, argv=0x7fffffffdd48) at base/main.cpp:884
81 plugin = 0x6030000069d0
82 enginePlugin = 0x6030000069a0
83 specialDebug = {
84 <Common::BaseString<char>> = {
85 static npos = 4294967295,
86 static _builtinCapacity = 20,
87 _size = 0,
88 _str = 0x7fffffffb6f0 "",
89 {
90 _storage = '\000' <repeats 19 times>,
91 _extern = {
92 _refCount = 0x0,
93 _capacity = 0
94 }
95 }
96 }, <No data fields>}
97 command = {
98 <Common::BaseString<char>> = {
99 static npos = 4294967295,
100 static _builtinCapacity = 20,
101 _size = 0,
102 _str = 0x7fffffffb740 "",
103 {
104 _storage = '\000' <repeats 19 times>,
105 _extern = {
106 _refCount = 0x0,
107 _capacity = 0
108 }
109 }
110 }, <No data fields>}
111 __PRETTY_FUNCTION__ = "int scummvm_main(int, const char* const*)"
112 system = @0x614000000110: {
113 <Common::NonCopyable> = {<No data fields>},
114 members of OSystem:
115 _vptr.OSystem = 0x555556c733c0 <vtable for OSystem_POSIX+1704>,
116 _audiocdManager = 0x607000077bf0,
117 _eventManager = 0x60d0000b5680,
118 _timerManager = 0x6160000b1c80,
119 _savefileManager = 0x618000000480,
120 _textToSpeechManager = 0x0,
121 _fsFactory = 0x602000000010,
122 _dlcStore = 0x0,
123 _clipboard = {
124 <Common::BaseString<char32_t>> = {
125 static npos = 4294967295,
126 static _builtinCapacity = 29,
127 _size = 0,
128 _str = 0x614000000160 U"",
129 {
130 _storage = U'\000' <repeats 28 times>,
131 _extern = {
132 _refCount = 0x0,
133 _capacity = 0
134 }
135 }
136 }, <No data fields>},
137 _dummyUnused = false,
138 _backendInitialized = true
139 }
140 settings = {
141 _nodePool = {
142 <Common::FixedSizeMemoryPool<80, 10>> = {
143 <Common::MemoryPool> = {
144 _chunkSize = 80,
145 _pages = {
146 _capacity = 0,
147 _size = 0,
148 _storage = 0x0
149 },
150 _next = 0x7fffffffd3c8,
151 _chunksPerPage = 8
152 },
153 members of Common::FixedSizeMemoryPool<80, 10>:
154 _storage = "\030\324\377\377\377\177\000\0008x128/animations`\332&\367\377\177\000\000!f*\224\000\000\000\0000\264$\367\377\177\000\000H\264$\367\377\177\000\000\264\324\377\377\377\177\000\000J?\375\367\377\177\000\000u\000\000\000\000\000\000\000h\324\377\377\377\177\000\000`\332&\367\377\177\000\000\270\324\377\377\377\177\000\000\264\324\377\377\377\177\000\000s,128x128/devicej\306$\367\377\177\000\000@\277$\367\377\177\000\000\200\325\377\377\377\177\000\000x\325\377\377\377\177\000\000\270\324\377\377\377\1--Type <RET> for more, q to quit, c to continue without paging--
15577\000\000\370a`\366\377\177\000\000>", '\000' <repeats 11 times>, "8/emotes,128"...
156 }, <No data fields>},
157 _defaultVal = {
158 <Common::BaseString<char>> = {
159 static npos = 4294967295,
160 static _builtinCapacity = 20,
161 _size = 0,
162 _str = 0x7fffffffd6f8 "",
163 {
164 _storage = '\000' <repeats 19 times>,
165 _extern = {
166 _refCount = 0x0,
167 _capacity = 0
168 }
169 }
170 }, <No data fields>},
171 _storage = 0x60c000001e40,
172 _mask = 15,
173 _size = 0,
174 _deleted = 0,
175 _hash = {<No data fields>},
176 _equal = {<No data fields>}
177 }
178 executable = {
179 <Common::BaseString<char>> = {
180 static npos = 4294967295,
181 static _builtinCapacity = 20,
182 _size = 7,
183 _str = 0x7fffffffb830 "scummvm",
184 {
185 _storage = "scummvm", '\000' <repeats 12 times>,
186 _extern = {
187 _refCount = 0x6d766d6d756373,
188 _capacity = 0
189 }
190 }
191 }, <No data fields>}
192 additionalArgs = {
193 _capacity = 0,
194 _size = 0,
195 _storage = 0x0
196 }
197 initConfigFilename = {
198 static _shownSeparatorCollisionWarning = false,
199 static SEPARATOR = 47 '/',
200 static ESCAPE = 124 '|',
201 static ESCAPED_ESCAPE = 124 '|',
202 static ESCAPED_SEPARATOR = 92 '\\',
203 _str = {
204 <Common::BaseString<char>> = {
205 static npos = 4294967295,
206 static _builtinCapacity = 20,
207 _size = 0,
208 _str = 0x7fffffffb8d0 "",
209 {
210 _storage = '\000' <repeats 19 times>,
211 _extern = {
212 _refCount = 0x0,
213 _capacity = 0
214 }
215 }
216 }, <No data fields>},
217 static kNoSeparator = 0 '\000',
218 static kNativeSeparator = 47 '/'
219 }
220 configLoadStatus = true
221 tokenizer = {
222 _str = {
223 <Common::BaseString<char>> = {
224 static npos = 4294967295,
225 static _builtinCapacity = 20,
226 _size = 0,
227 _str = 0x7fffffffcc30 "",
228 {
229 _storage = '\000' <repeats 19 times>,
230 _extern = {
231 _refCount = 0x0,
232 _capacity = 0
233 }
234 }
235 }, <No data fields>},
236 _delimiters = {
237 <Common::BaseString<char>> = {
238 static npos = 4294967295,
239 static _builtinCapacity = 20,
240 _size = 2,
241 _str = 0x7fffffffcc58 " ,",
242 {
243 _storage = " ,\000metypes,512x512/p",
244 _extern = {
245 _refCount = 0x707974656d002c20,
246 _capacity = 892105573
247 }
248 }
249 }, <No data fields>},
250 _tokenBegin = 0,
251 _tokenEnd = 0
252 }
253 res = {
254 _code = Common::kNoError,
255 _desc = {
256 <Common::BaseString<char>> = {
257 static npos = 4294967295,
258 static _builtinCapacity = 20,
259 _size = 0,
260 _str = 0x7fffffffcb98 "",
261 {
262 _storage = '\000' <repeats 19 times>,
263 _extern = {
264 _refCount = 0x0,
265 _capacity = 0
266 }
267 }
268 }, <No data fields>}
269 }
270 gfxModeSetting = {
271 <Common::BaseString<char>> = {
272 static npos = 4294967295,
273 static _builtinCapacity = 20,
274 _size = 0,
275 _str = 0x7fffffffc500 "",
276 {
277 _storage = '\000' <repeats 19 times>,
278 _extern = {
279 _refCount = 0x0,
280 _capacity = 0
281 }
282 }
283 }, <No data fields>}
284#10 0x000055555587510e in main (argc=1, argv=0x7fffffffdd48) at backends/platform/sdl/posix/posix-main.cpp:44
285 __PRETTY_FUNCTION__ = "int main(int, char**)"
286 res = 0