[Bug 1116282] [NEW] valgrind reports Invalid read of size 8 in wcscmp

2013-02-05 Thread Jeremy Coulon
Public bug reported:

When exiting my application, valgrind reports an error.
Error might be in glibc or libstdc++ or it might be a false-positive from 
valgrind as well.
A google search pointed me to a similar bug in redhat : 
https://bugzilla.redhat.com/show_bug.cgi?id=755242
I think a simple instanciation of std::locale in a hello world should reproduce 
the bug.

==12625== Invalid read of size 8
==12625==at 0x5C53A10: wcscmp (wcscmp.S:208)
==12625==by 0x54F5EF3: std::moneypunctwchar_t, false::~moneypunct() (in 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17)
==12625==by 0x54F5F78: std::moneypunctwchar_t, false::~moneypunct() (in 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17)
==12625==by 0x54EAFE4: std::locale::_Impl::~_Impl() (in 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17)
==12625==by 0x54EB11C: std::locale::~locale() (in 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17)
==12625==by 0x5BEDD1C: __cxa_finalize (cxa_finalize.c:56)
==12625==by 0x4EA9482: ??? (in 
/home/jeremy/git/myapp_x86_64-linux-gnu/lib/libMyApp.so)
==12625==by 0x400F91D: _dl_fini (dl-fini.c:254)
==12625==by 0x5BED900: __run_exit_handlers (exit.c:78)
==12625==by 0x5BED984: exit (exit.c:100)
==12625==by 0x5BD3773: (below main) (libc-start.c:258)
==12625==  Address 0x7830898 is 0 bytes after a block of size 8 alloc'd
==12625==at 0x4C2AAA4: operator new[](unsigned long) (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==12625==by 0x54F5BD9: std::moneypunctwchar_t, 
false::_M_initialize_moneypunct(__locale_struct*, char const*) (in 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17)
==12625==by 0x54ED516: std::locale::_Impl::_Impl(char const*, unsigned 
long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17)
==12625==by 0x54EDFB9: std::locale::locale(char const*) (in 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17)
==12625==by 0x4F78FAE: boost::filesystem::path::codecvt() (path.cpp:911)
==12625==by 0x4F7946E: boost::filesystem::path::begin() const (path.hpp:202)
==12625==by 0x4F79BD7: 
boost::filesystem::path::compare(boost::filesystem::path const) const 
(path.cpp:193)
==12625==by 0x4F79D43: boost::filesystem::path::extension() const 
(path.hpp:615)
[... My app ...]


1) Ubuntu 12.10
2) apt-cache policy libc6
libc6:
  Installé : 2.15-0ubuntu20
  Candidat : 2.15-0ubuntu20
  Table de version :
 *** 2.15-0ubuntu20 0
500 http://fr.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages
100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: libc6 2.15-0ubuntu20
ProcVersionSignature: Ubuntu 3.5.0-23.35-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic x86_64
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
Date: Tue Feb  5 14:57:55 2013
InstallationDate: Installed on 2013-01-03 (32 days ago)
InstallationMedia: Ubuntu 12.10 Quantal Quetzal - Release amd64 (20121017.5)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=set
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: eglibc
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: eglibc (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug quantal running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1116282

Title:
  valgrind reports Invalid read of size 8 in wcscmp

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1116282/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 472506] Re: No DRM, high cpu usage by X on rendering and frequent X crashes on Intel(R) G45/G43 Integrated Graphics Chipset

2010-02-20 Thread Jeremy Coulon
Hi,
I have the same problem, with the exact same video harware in Ubuntu 9.10.
In BIOS, the PAVP option is Disabled.

My X session starts with non fatal errors but it is very slow and it
systematically crashes when I run the System Testing tools provided
with Ubuntu. The video test makes X crash.

I also have to say that the 'nomodeset' option is given to my kernel in
order to not hang at startup.

How can I help reporting useful information to debug this problem as it is very 
anoying and it has been here for a while now.
I would very much apreciate your help.
Thanks.

---
xserver-xorg-video-intel is version 2:2.9.0-1ubuntu2.1
--
$ uname -a
Linux xxx-desktop 2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:02:26 UTC 2010 
x86_64 GNU/Linux
$ grep EE Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) intel(0): [drm] Failed to detect GEM.  Kernel 2.6.28 required.
(EE) intel(0): Failed to become DRM master.
(EE) intel(0): Failed to initialize kernel memory manager
$ grep WW Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
(WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
(WW) intel(0): DRI2: failed to open drm device
(WW) intel(0): drmSetMaster failed: Bad file descriptor
$ lspci -vv
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset 
Integrated Graphics Controller (rev 03)
Subsystem: ASRock Incorporation Device 2e22
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 28
Region 0: Memory at fd80 (64-bit, non-prefetchable) [size=4M]
Region 2: Memory at d000 (64-bit, prefetchable) [size=256M]
Region 4: I/O ports at 9080 [size=8]
Capabilities: access denied
Kernel modules: i915


** Attachment added: glxinfo.log
   http://launchpadlibrarian.net/39452590/glxinfo.log

-- 
No DRM, high cpu usage by X on rendering and frequent X crashes on Intel(R) 
G45/G43 Integrated Graphics Chipset 
https://bugs.launchpad.net/bugs/472506
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 472506] Re: No DRM, high cpu usage by X on rendering and frequent X crashes on Intel(R) G45/G43 Integrated Graphics Chipset

2010-02-20 Thread Jeremy Coulon
$ cat xorg.conf
Section Device
Identifier  Configured Video Device
EndSection

Section Monitor
Identifier  Configured Monitor
EndSection

Section Screen
Identifier  Default Screen
Monitor Configured Monitor
Device  Configured Video Device
EndSection


** Attachment added: lshw.log
   http://launchpadlibrarian.net/39452604/lshw.log

** Changed in: xserver-xorg-video-intel (Ubuntu)
   Status: Invalid = Confirmed

** Attachment removed: lshw.log
   http://launchpadlibrarian.net/39452604/lshw.log

-- 
No DRM, high cpu usage by X on rendering and frequent X crashes on Intel(R) 
G45/G43 Integrated Graphics Chipset 
https://bugs.launchpad.net/bugs/472506
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 472506] Re: No DRM, high cpu usage by X on rendering and frequent X crashes on Intel(R) G45/G43 Integrated Graphics Chipset

2010-02-20 Thread Jeremy Coulon

** Attachment added: lshw.log
   http://launchpadlibrarian.net/39452811/lshw.log

-- 
No DRM, high cpu usage by X on rendering and frequent X crashes on Intel(R) 
G45/G43 Integrated Graphics Chipset 
https://bugs.launchpad.net/bugs/472506
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs