[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#661522: marked as done (xxxterm crashes when run via valgrind: Address 0x0 is not stack'd, malloc'd or (recently) free'd)



Your message dated Thu, 03 Aug 2017 17:37:05 +0000
with message-id <[🔎] E1ddK3V-0009k0-Qp@fasolo.debian.org>
and subject line Bug#868984: Removed package(s) from unstable
has caused the Debian Bug report #661522,
regarding xxxterm crashes when run via valgrind: Address 0x0 is not stack'd, malloc'd or (recently) free'd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
661522: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661522
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xxxterm
Version: 1:1.10.0-1
Severity: normal

Hi,

I wanted to track down some memory issues I seemed to have with xxxterm
and tried using valgrind for that. However, xxxterm gets killed
with the following message as soon as I enter a website and
hit enter:
"[...]"
"Address 0x0 is not stack'd, malloc'd or (recently) free'd"
"Process terminating with default action of signal 11 (SIGSEGV)"
"Access not within mapped region at address 0x0"
"[...]"

I also tried setting a larger main stacksize of 115MB with
(can't set it any higher than 115MB) as valgrind suggested:
$ valgrind --main-stacksize=$((1024 * 1024 * 120)) xxxterm

But that does not seem to help either. I also tried the latest git
version (bfc73f8bbb339716392a3a85fb4c03ba2b1f984a) of xxxterm, as
well as removing the ulimits fiddling section in main(), but still the
same issue with valgrind.

Running xxxterm without valgrind does not crash though.

See the attached valgrind log output for details.


Cheers, Linus


valgrind: 1:3.7.0-2

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.4 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xxxterm depends on:
ii  libatk1.0-0                 2.2.0-2
ii  libbsd0                     0.3.0-2
ii  libc6                       2.13-27
ii  libcairo2                   1.10.2-6.2
ii  libfontconfig1              2.8.0-3.1
ii  libfreetype6                2.4.8-1
ii  libgcrypt11                 1.5.0-3
ii  libgdk-pixbuf2.0-0          2.24.1-1
ii  libglib2.0-0                2.30.2-6
ii  libgnutls26                 2.12.16-1
ii  libgtk2.0-0                 2.24.10-1
ii  libjavascriptcoregtk-1.0-0  1.6.3-1
ii  libpango1.0-0               1.29.4-2
ii  libsoup2.4-1                2.36.1-1
ii  libwebkitgtk-1.0-0          1.6.3-1

xxxterm recommends no packages.

xxxterm suggests no packages.

-- no debconf information
==20729== Memcheck, a memory error detector
==20729== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==20729== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==20729== Command: xxxterm
==20729== 
xxxterm: config_parse: cannot open /home/linus/.xxxterm.conf: No such file or directory
==20729== Invalid read of size 4
==20729==    at 0x7519C1E: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x751C339: FcConfigFilename (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x753059B: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x7525505: FcInitLoadConfig (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x7525628: FcInitLoadConfigAndFonts (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x752589C: FcInit (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x751A494: FcConfigGetCurrent (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x751C0AF: FcConfigSubstituteWithPat (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x751C0F6: FcConfigSubstitute (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x7399479: ??? (in /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0.2904.0)
==20729==    by 0x73666D7: ??? (in /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.2904.0)
==20729==    by 0x7367E86: ??? (in /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.2904.0)
==20729==  Address 0xeac7dac is 20 bytes inside a block of size 22 alloc'd
==20729==    at 0x48D0E2C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==20729==    by 0x7519B87: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x751C339: FcConfigFilename (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x753059B: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x7525505: FcInitLoadConfig (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x7525628: FcInitLoadConfigAndFonts (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x752589C: FcInit (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x751A494: FcConfigGetCurrent (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x751C0AF: FcConfigSubstituteWithPat (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x751C0F6: FcConfigSubstitute (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x7399479: ??? (in /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0.2904.0)
==20729==    by 0x73666D7: ??? (in /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0.2904.0)
==20729== 
==20729== Invalid read of size 4
==20729==    at 0x7519C32: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x900642D: ??? (in /usr/lib/libwebkitgtk-1.0.so.0.11.2)
==20729==  Address 0xeacd428 is 16 bytes inside a block of size 18 alloc'd
==20729==    at 0x48D0E2C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==20729==    by 0x7519B87: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x900642D: ??? (in /usr/lib/libwebkitgtk-1.0.so.0.11.2)
==20729== 
==20729== Invalid read of size 4
==20729==    at 0x7519C32: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x753059B: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x7530A40: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x7530DF3: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==  Address 0xeae737c is 44 bytes inside a block of size 46 alloc'd
==20729==    at 0x48D0E2C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==20729==    by 0x7519B87: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x753059B: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x7530A40: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x7530DF3: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729== 
==20729== Invalid read of size 4
==20729==    at 0x7519C1E: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x753059B: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x7530A40: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x7530DF3: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==  Address 0xeaf68fc is 36 bytes inside a block of size 38 alloc'd
==20729==    at 0x48D0E2C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==20729==    by 0x7519B87: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x753059B: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x7530A40: FcConfigParseAndLoad (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x7530DF3: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729== 
==20729== Invalid read of size 4
==20729==    at 0x7519C32: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x2E73746D: ???
==20729==  Address 0xeb50380 is 24 bytes inside a block of size 27 alloc'd
==20729==    at 0x48D0E2C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==20729==    by 0x7519B87: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x2E73746D: ???
==20729== 
==20729== Invalid read of size 4
==20729==    at 0x7519C1E: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x6F632E6B: ???
==20729==  Address 0xeb57b2c is 20 bytes inside a block of size 22 alloc'd
==20729==    at 0x48D0E2C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==20729==    by 0x7519B87: ??? (in /usr/lib/i386-linux-gnu/libfontconfig.so.1.4.4)
==20729==    by 0x6F632E6B: ???
==20729== 
==20729== Syscall param writev(vector[...]) points to uninitialised byte(s)
==20729==    at 0xA50B596: writev (writev.c:56)
==20729==    by 0xDFD37C5: ??? (in /usr/lib/i386-linux-gnu/libxcb.so.1.1.0)
==20729==    by 0xCB33D0D: ??? (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==20729==    by 0x81: ???
==20729==  Address 0xe7ef7a7 is 1,255 bytes inside a block of size 16,384 alloc'd
==20729==    at 0x48CF8E2: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==20729==    by 0xCB21994: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==20729==    by 0x72F5C65: gdk_display_open (in /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.10)
==20729==    by 0xA459E45: (below main) (libc-start.c:228)
==20729== 
==20729== Syscall param writev(vector[...]) points to uninitialised byte(s)
==20729==    at 0xA50B596: writev (writev.c:56)
==20729==    by 0xDFD37C5: ??? (in /usr/lib/i386-linux-gnu/libxcb.so.1.1.0)
==20729==  Address 0xe7ef82f is 1,391 bytes inside a block of size 16,384 alloc'd
==20729==    at 0x48CF8E2: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==20729==    by 0xCB21994: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==20729==    by 0x72F5C65: gdk_display_open (in /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.10)
==20729==    by 0xA459E45: (below main) (libc-start.c:228)
==20729== 
==20729== Syscall param writev(vector[...]) points to uninitialised byte(s)
==20729==    at 0xA50B596: writev (writev.c:56)
==20729==    by 0xDFD37C5: ??? (in /usr/lib/i386-linux-gnu/libxcb.so.1.1.0)
==20729==    by 0x9FEC2A0: pthread_getspecific (pthread_getspecific.c:27)
==20729==  Address 0xe7ef367 is 167 bytes inside a block of size 16,384 alloc'd
==20729==    at 0x48CF8E2: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==20729==    by 0xCB21994: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==20729==    by 0x72F5C65: gdk_display_open (in /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.10)
==20729==    by 0xA459E45: (below main) (libc-start.c:228)
==20729== 
==20729== Syscall param writev(vector[...]) points to uninitialised byte(s)
==20729==    at 0xA50B596: writev (writev.c:56)
==20729==    by 0xDFD37C5: ??? (in /usr/lib/i386-linux-gnu/libxcb.so.1.1.0)
==20729==    by 0x50: ???
==20729==  Address 0xe7ef3bb is 251 bytes inside a block of size 16,384 alloc'd
==20729==    at 0x48CF8E2: calloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==20729==    by 0xCB21994: XOpenDisplay (in /usr/lib/i386-linux-gnu/libX11.so.6.3.0)
==20729==    by 0x72F5C65: gdk_display_open (in /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0.2400.10)
==20729==    by 0xA459E45: (below main) (libc-start.c:228)
==20729== 
==20729== Invalid write of size 4
==20729==    at 0x706392D: JSC::CodeBlock::~CodeBlock() (in /usr/lib/libjavascriptcoregtk-1.0.so.0.11.2)
==20729==    by 0x7064A7D: JSC::FunctionCodeBlock::~FunctionCodeBlock() (in /usr/lib/libjavascriptcoregtk-1.0.so.0.11.2)
==20729==    by 0x7161B68: JSC::FunctionExecutable::clearCode() (in /usr/lib/libjavascriptcoregtk-1.0.so.0.11.2)
==20729==    by 0x716270C: JSC::FunctionExecutable::discardCode() (in /usr/lib/libjavascriptcoregtk-1.0.so.0.11.2)
==20729==    by 0x71799AC: JSC::JSGlobalData::recompileAllJSFunctions() (in /usr/lib/libjavascriptcoregtk-1.0.so.0.11.2)
==20729==    by 0x7094D57: JSC::Heap::collectAllGarbage() (in /usr/lib/libjavascriptcoregtk-1.0.so.0.11.2)
==20729==    by 0x8B373C0: ??? (in /usr/lib/libwebkitgtk-1.0.so.0.11.2)
==20729==    by 0x8B375E4: ??? (in /usr/lib/libwebkitgtk-1.0.so.0.11.2)
==20729==    by 0x90FBE61: ??? (in /usr/lib/libwebkitgtk-1.0.so.0.11.2)
==20729==    by 0x90FBED4: ??? (in /usr/lib/libwebkitgtk-1.0.so.0.11.2)
==20729==    by 0x999318A: ??? (in /usr/lib/libwebkitgtk-1.0.so.0.11.2)
==20729==    by 0x9F2D12E: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3000.2)
==20729==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==20729== 
==20729== 
==20729== Process terminating with default action of signal 11 (SIGSEGV)
==20729==  Access not within mapped region at address 0x0
==20729==    at 0x706392D: JSC::CodeBlock::~CodeBlock() (in /usr/lib/libjavascriptcoregtk-1.0.so.0.11.2)
==20729==    by 0x7064A7D: JSC::FunctionCodeBlock::~FunctionCodeBlock() (in /usr/lib/libjavascriptcoregtk-1.0.so.0.11.2)
==20729==    by 0x7161B68: JSC::FunctionExecutable::clearCode() (in /usr/lib/libjavascriptcoregtk-1.0.so.0.11.2)
==20729==    by 0x716270C: JSC::FunctionExecutable::discardCode() (in /usr/lib/libjavascriptcoregtk-1.0.so.0.11.2)
==20729==    by 0x71799AC: JSC::JSGlobalData::recompileAllJSFunctions() (in /usr/lib/libjavascriptcoregtk-1.0.so.0.11.2)
==20729==    by 0x7094D57: JSC::Heap::collectAllGarbage() (in /usr/lib/libjavascriptcoregtk-1.0.so.0.11.2)
==20729==    by 0x8B373C0: ??? (in /usr/lib/libwebkitgtk-1.0.so.0.11.2)
==20729==    by 0x8B375E4: ??? (in /usr/lib/libwebkitgtk-1.0.so.0.11.2)
==20729==    by 0x90FBE61: ??? (in /usr/lib/libwebkitgtk-1.0.so.0.11.2)
==20729==    by 0x90FBED4: ??? (in /usr/lib/libwebkitgtk-1.0.so.0.11.2)
==20729==    by 0x999318A: ??? (in /usr/lib/libwebkitgtk-1.0.so.0.11.2)
==20729==    by 0x9F2D12E: ??? (in /lib/i386-linux-gnu/libglib-2.0.so.0.3000.2)
==20729==  If you believe this happened as a result of a stack
==20729==  overflow in your program's main thread (unlikely but
==20729==  possible), you can try to increase the size of the
==20729==  main thread stack using the --main-stacksize= flag.
==20729==  The main thread stack size used in this run was 8388608.
==20729== 
==20729== HEAP SUMMARY:
==20729==     in use at exit: 1,552,175 bytes in 21,085 blocks
==20729==   total heap usage: 60,703 allocs, 39,618 frees, 5,582,369 bytes allocated
==20729== 
==20729== LEAK SUMMARY:
==20729==    definitely lost: 6,673 bytes in 24 blocks
==20729==    indirectly lost: 19,380 bytes in 961 blocks
==20729==      possibly lost: 925,542 bytes in 11,275 blocks
==20729==    still reachable: 600,580 bytes in 8,825 blocks
==20729==         suppressed: 0 bytes in 0 blocks
==20729== Rerun with --leak-check=full to see details of leaked memory
==20729== 
==20729== For counts of detected and suppressed errors, rerun with: -v
==20729== Use --track-origins=yes to see where uninitialised values come from
==20729== ERROR SUMMARY: 25 errors from 11 contexts (suppressed: 197 from 12)

--- End Message ---
--- Begin Message ---
Version: 2:1.6.4-3+rm

Dear submitter,

as the package xombrero has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/868984

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Ansgar Burchardt (the ftpmaster behind the curtain)

--- End Message ---

Reply to: