[KDE PIM Mobile] [Bug 316539] New: Kontact Crash with PAX Kernel malloc

Gregory Martin Key gm5729 at hushmail.me
Mon Mar 11 14:00:00 GMT 2013


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 at kde.org
          Reporter: gm5729 at 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 at 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 at 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: 0x0000000003370970 ***
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 at 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 = 10000

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  0x0000724b98ab0fad in poll () from /usr/lib/libc.so.6
#1  0x0000724b93e73b14 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x0000724b93e73c34 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3  0x0000724b9a576b86 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#4  0x0000724b9a5473ff in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#5  0x0000724b9a547688 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#6  0x0000724b9a4488a0 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x0000724b9a527bbf in ?? () from /usr/lib/libQtCore.so.4
#8  0x0000724b9a44b87c in ?? () from /usr/lib/libQtCore.so.4
#9  0x0000724b9a1bbe0f in start_thread () from /usr/lib/libpthread.so.0
#10 0x0000724b98ab9efd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x724b8496c700 (LWP 44662)):
#0  0x0000724b9a1bf954 in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x0000724b96d287a7 in ?? () from /usr/lib/libQtScript.so.4
#2  0x0000724b96d287d9 in ?? () from /usr/lib/libQtScript.so.4
#3  0x0000724b9a1bbe0f in start_thread () from /usr/lib/libpthread.so.0
#4  0x0000724b98ab9efd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x724b9cd1b780 (LWP 44641)):
[KCrash Handler]
#5  0x0000724b96c4508e in ?? () from /usr/lib/libQtScript.so.4
#6  0x0000724b96cc9d99 in ?? () from /usr/lib/libQtScript.so.4
#7  0x0000724b96cca55c in ?? () from /usr/lib/libQtScript.so.4
#8  0x0000724b96d6ace0 in ?? () from /usr/lib/libQtScript.so.4
#9  0x0000724b96d6bcd6 in QScriptEngine::QScriptEngine() () from
/usr/lib/libQtScript.so.4
#10 0x0000724b878d444a in ?? () from /usr/lib/libkatepartinterfaces.so.4
#11 0x0000724b878d4d99 in ?? () from /usr/lib/libkatepartinterfaces.so.4
#12 0x0000724b878d5fec in ?? () from /usr/lib/libkatepartinterfaces.so.4
#13 0x0000724b878dc213 in ?? () from /usr/lib/libkatepartinterfaces.so.4
#14 0x0000724b878dc93c in ?? () from /usr/lib/libkatepartinterfaces.so.4
#15 0x0000724b8793d689 in KateView::setupActions() () from
/usr/lib/libkatepartinterfaces.so.4
#16 0x0000724b87941ce2 in KateView::KateView(KateDocument*, QWidget*) () from
/usr/lib/libkatepartinterfaces.so.4
#17 0x0000724b878b28b9 in KateDocument::createView(QWidget*) () from
/usr/lib/libkatepartinterfaces.so.4
#18 0x0000000000501f4e in ?? ()
#19 0x000000000059bd90 in ?? ()
#20 0x000000000059027a in ?? ()
#21 0x00000000004c8826 in _start ()


vm.dirty_background_bytes = 4194304
vm.dirty_bytes = 4194304

net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 1800

net.ipv4.tcp_keepalive_intvl = 30
net.ipv4.tcp_keepalive_probes = 5

net.ipv4.tcp_moderate_rcvbuf = 1
sys.net.ipv4.route.flush = 1

kernel.shmmax = 0x7fffffff

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list