gecko valgrind errors show up better now

Dan Kegel dank at kegel.com
Mon Feb 11 20:15:10 CST 2008


The new version of valgrind shows better stack
dumps for gecko valgrind errors.  For instance,

 Invalid read of size 4
    at  (within 0.1.0/wine_gecko/components/xppref32.dll)
    by  (within 0.1.0/wine_gecko/components/xppref32.dll)
    by  (within 0.1.0/wine_gecko/components/xppref32.dll)
    by  (within 0.1.0/wine_gecko/components/xppref32.dll)
    by  (within 0.1.0/wine_gecko/components/xppref32.dll)
    by  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/components/necko.dll)
    by  (within 0.1.0/wine_gecko/components/necko.dll)
    by  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/components/necko.dll)
    by  (within 0.1.0/wine_gecko/components/necko.dll)
    by  load_gecko (nsembed.c:396)
    by  NSContainer_Create (nsembed.c:1574)
    by  HTMLDocument_Create (htmldoc.c:1232)
    by  ClassFactory_CreateInstance (main.c:206)
    by  CoCreateInstance (compobj.c:2411)
    by  report_data (binding.c:444)
    by  report_data_proc (binding.c:1262)
  Address 0x7f22e1e0 is not stack'd, malloc'd or (recently) free'd

 Invalid read of size 4
    at  (within 0.1.0/wine_gecko/components/rdf.dll)
    by  (within 0.1.0/wine_gecko/components/rdf.dll)
    by  (within 0.1.0/wine_gecko/components/chrome.dll)
    by  (within 0.1.0/wine_gecko/components/chrome.dll)
    by  (within 0.1.0/wine_gecko/components/chrome.dll)
    by  (within 0.1.0/wine_gecko/components/chrome.dll)
    by  (within 0.1.0/wine_gecko/components/chrome.dll)
    by  (within 0.1.0/wine_gecko/components/chrome.dll)
    by  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/components/profile.dll)
    by  (within 0.1.0/wine_gecko/components/profile.dll)
    by  load_gecko (nsembed.c:338)
    by  NSContainer_Create (nsembed.c:1574)
    by  HTMLDocument_Create (htmldoc.c:1232)
    by  ClassFactory_CreateInstance (main.c:206)
    by  CoCreateInstance (compobj.c:2411)
    by  report_data (binding.c:444)
    by  report_data_proc (binding.c:1262)
    by  notif_wnd_proc (binding.c:184)
  Address 0x7f22e108 is not stack'd, malloc'd or (recently) free'd

 Conditional jump or move depends on uninitialised value(s)
    at  (within 0.1.0/wine_gecko/components/necko.dll)
    by  nsURI_QueryInterface (nsio.c:1181)
    by  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/components/necko.dll)
    by  (within 0.1.0/wine_gecko/components/necko.dll)
    by  nsIOService_NewChannelFromURI (nsio.c:2111)
    by  (within 0.1.0/wine_gecko/components/rdf.dll)
    by  (within 0.1.0/wine_gecko/components/rdf.dll)
    by  (within 0.1.0/wine_gecko/components/rdf.dll)
    by  (within 0.1.0/wine_gecko/components/chrome.dll)
    by  (within 0.1.0/wine_gecko/components/chrome.dll)
    by  (within 0.1.0/wine_gecko/components/chrome.dll)
    by  (within 0.1.0/wine_gecko/components/chrome.dll)
    by  (within 0.1.0/wine_gecko/components/chrome.dll)
    by  (within 0.1.0/wine_gecko/components/chrome.dll)
    by  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/components/profile.dll)
    by  (within 0.1.0/wine_gecko/components/profile.dll)
    by  load_gecko (nsembed.c:338)

 Invalid read of size 4
    at  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/components/xpc3250.dll)
    by  (within 0.1.0/wine_gecko/components/xpc3250.dll)
    by  (within 0.1.0/wine_gecko/components/xpc3250.dll)
    by  (within 0.1.0/wine_gecko/components/xpc3250.dll)
    by  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/xpcom_core.dll)
    by  (within 0.1.0/wine_gecko/components/profile.dll)
    by  load_gecko (nsembed.c:338)
    by  NSContainer_Create (nsembed.c:1574)
    by  HTMLDocument_Create (htmldoc.c:1232)
    by  ClassFactory_CreateInstance (main.c:206)
    by  CoCreateInstance (compobj.c:2411)
    by  report_data (binding.c:444)
    by  report_data_proc (binding.c:1262)
    by  notif_wnd_proc (binding.c:184)
    by  (within /home/dank/wine-git/dlls/user32/user32.dll.so)
  Address 0x7f22d1a8 is not stack'd, malloc'd or (recently) free'd

etc., etc.  Jacek, if you can give me a debug build of gecko,
I can probably give you even better info.  Interested?
- Dan



More information about the wine-devel mailing list