Bug 101076 - XStoreColors: uninitialised value
Summary: XStoreColors: uninitialised value
Status: RESOLVED DUPLICATE of bug 102011
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xlib (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-17 16:13 UTC by Finn
Modified: 2017-08-07 14:31 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Finn 2017-05-17 16:13:36 UTC
==10547== Memcheck, a memory error detector
==10547== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==10547== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==10547== Command: ./moss bug4
==10547== 
==10547== Syscall param writev(vector[...]) points to uninitialised byte(s)
==10547==    at 0x4399093: __writev_nocancel (syscall-template.S:84)
==10547==    by 0x49FE66D: ??? (in /usr/lib/i386-linux-gnu/libxcb.so.1.1.0)
==10547==    by 0x49FEBA4: ??? (in /usr/lib/i386-linux-gnu/libxcb.so.1.1.0)
==10547==    by 0x49FEC5C: xcb_writev (in /usr/lib/i386-linux-gnu/libxcb.so.1.1.0)
==10547==    by 0x4652A51: _XSend (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==10547==    by 0x4652FE9: _XReply (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==10547==    by 0x463D754: XInternAtom (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==10547==    by 0x424D9A5: ??? (in /usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.4.0)
==10547==    by 0x424E230: ??? (in /usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.4.0)
==10547==    by 0x423F8DD: ??? (in /usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.4.0)
==10547==    by 0x423F6AA: ??? (in /usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.4.0)
==10547==    by 0x4195199: ??? (in /usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.4.0)
==10547==  Address 0x4f7d4bb is 35 bytes inside a block of size 16,384 alloc'd
==10547==    at 0x402F0B8: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==10547==    by 0x464276B: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==10547==    by 0x424CD03: ??? (in /usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.4.0)
==10547==    by 0x423F65C: ??? (in /usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.4.0)
==10547==    by 0x4195199: ??? (in /usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.4.0)
==10547==    by 0x41C59F0: ??? (in /usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.4.0)
==10547==    by 0x41C5D26: SDL_Init (in /usr/lib/i386-linux-gnu/libSDL2-2.0.so.0.4.0)
==10547==    by 0x808D225: gx_new (gx.c:55)
==10547==    by 0x808DA21: mf_gx_new (gx.c:195)
==10547==    by 0x805C02D: mf_vm_eval (vm.c:1288)
==10547==    by 0x805D79F: mf_vm_eval_global (vm.c:1707)
==10547==    by 0x80918AF: eval_file (main.c:328)
==10547==  Uninitialised value was created by a stack allocation
==10547==    at 0x464E06E: XStoreColors (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==10547== 
==10547== 
==10547== HEAP SUMMARY:
==10547==     in use at exit: 25,143,015 bytes in 10,338 blocks
==10547==   total heap usage: 126,976 allocs, 116,638 frees, 82,721,025 bytes allocated
==10547== 
==10547== LEAK SUMMARY:
==10547==    definitely lost: 26,232 bytes in 36 blocks
==10547==    indirectly lost: 2,191,577 bytes in 8,036 blocks
==10547==      possibly lost: 22,821,666 bytes in 1,696 blocks
==10547==    still reachable: 103,540 bytes in 570 blocks
==10547==         suppressed: 0 bytes in 0 blocks
==10547== Rerun with --leak-check=full to see details of leaked memory
==10547== 
==10547== For counts of detected and suppressed errors, rerun with: -v
==10547== ERROR SUMMARY: 4 errors from 1 contexts (suppressed: 0 from 0)
Comment 1 Alan Coopersmith 2017-08-07 14:31:29 UTC

*** This bug has been marked as a duplicate of bug 102011 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.