https://bugs.kde.org/show_bug.cgi?id=316539
Bug ID: 316539
Summary: Kontact Crash with PAX Kernel malloc
Classification: Unclassified
Product: KDE PIM Mobile
Version: unspecified
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
Assignee: kdepim-bugs@kde.org
Reporter: gm5...@hushmail.me
System:Host: gurka Kernel: 3.8.2-5-pax x86_64 (64 bit, gcc: 4.7.2)
Desktop: KDE 4.10.1 (Qt 4.8.4) info: plasma-desktop dm: kdm Distro:
Arch Linux
Machine: Mobo: Gigabyte model: GA-880GM-D2H version: x.x Bios: Award version:
F6 date: 08/31/2010
CPU: Quad core AMD Phenom II X4 840 (-MCP-) cache: 2048 KB flags: (lm nx
sse sse2 sse3 sse4a svm) bmips: 25727
Clock Speeds: 1: 800.00 MHz 2: 3200.00 MHz 3: 3200.00 MHz 4: 800.00
MHz
Graphics: Card: Advanced Micro Devices [AMD] nee ATI RS880 [Radeon HD 4250]
bus-ID: 01:05.0 chip-ID: 1002:9715
X.Org: 1.13.3 drivers: ati,radeon (unloaded: fbdev) Resolution:
1440x900@59.9hz
GLX Renderer: Gallium 0.4 on AMD RS880 GLX Version: 3.0 Mesa 9.1
Direct Rendering: Yes
Audio: Card-1: Advanced Micro Devices [AMD] nee ATI RS880 HDMI Audio
[Radeon HD 4200 Series]
driver: snd_hda_intel bus-ID: 01:05.1 chip-ID: 1002:970f
Card-2: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel
HDA)
driver: snd_hda_intel bus-ID: 00:14.2 chip-ID: 1002:4383
Sound: Advanced Linux Sound Architecture ver: k3.8.2-5-pax
Kontact by Command Line
[daipengg@gurka ~]$ kontact
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.
*** Error in `kontact': malloc(): memory corruption: 0x03370970 ***
KCrash: Application '' crashing...
unnamed app(44478): Communication problem with kontact , it probably
crashed.
Error message was: org.freedesktop.DBus.Error.NoReply : Message did not
receive a reply (timeout by message bus)
Valgrind for Kontact
[daipengg@gurka ~]$ valgrind kontact
==46753==
==46753== Valgrind's memory management: out of memory:
==46753==newSuperblock's request for 4194304 bytes failed.
==46753==69898240 bytes have already been allocated.
==46753== Valgrind cannot continue. Sorry.
==46753==
==46753== There are several possible reasons for this.
==46753== - You have some kind of memory limit in place. Look at the
==46753== output of 'ulimit -a'. Is there a limit on the size of
==46753== virtual memory or address space?
==46753== - You have run out of swap space.
==46753== - Valgrind has a bug. If you think this is the case or you are
==46753== not sure, please let us know and we'll try to fix it.
==46753== Please note that programs can take substantially more memory than
==46753== normal when running under Valgrind tools, eg. up to twice or
==46753== more, depending on the tool. On a 64-bit machine, Valgrind
==46753== should be able to make use of up 32GB memory. On a 32-bit
==46753== machine, Valgrind should be able to use all the memory available
==46753== to a single process, up to 4GB if that's how you have your
==46753== kernel configured. Most 32-bit Linux setups allow a maximum of
==46753== 3GB per process.
==46753==
==46753== Whatever the reason, Valgrind cannot continue. Sorry.
tail /etc/sysctl.conf
net.core.wmem_max=12582912
net.core.rmem_max=12582912
net.ipv4.tcp_rmem= 10240 87380 12582912
net.ipv4.tcp_wmem= 10240 87380 12582912
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_sack = 1
net.ipv4.tcp_no_metrics_save = 1
net.core.netdev_max_backlog = 5000
fs.file-max = 1
tected_hardlinks = 1
fs.protected_symlinks = 1
# reuse/recycle time-wait sockets
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
This may be related. Kate opens up fine for editing.
Application: Kile (kile), signal: Segmentation fault
Using host libthread_db library /usr/lib/libthread_db.so.1.
[Current thread is 1 (Thread 0x724b9cd1b780 (LWP 44641))]
Thread 3 (Thread 0x724b86c0b700 (LWP 44644)):
#0 0x724b98ab0fad in poll () from /usr/lib/libc.so.6
#1 0x724b93e73b14 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x724b93e73c34 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3 0x724b9a576b86 in
QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) ()
from /usr/lib/libQtCore.so.4
#4 0x724b9a5473ff in
QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from
/usr/lib/libQtCore.so.4
#5 0x724b9a547688 in
QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from
/usr/lib/libQtCore.so.4
#6 0x724b9a4488a0 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7