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

2013-03-11 Thread Gregory Martin Key
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  

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

2013-03-11 Thread Gregory Martin Key
https://bugs.kde.org/show_bug.cgi?id=316539

--- Comment #1 from Gregory Martin Key gm5...@hushmail.me ---
Upgrade to below mentioned kernel 3.8.2-6 fixed Kontact error. However, Kile is
still seg faulting.



System:Host: gurka Kernel: 3.8.2-6-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: 25726.4   
   Clock Speeds: 1: 800.00 MHz 2: 800.00 MHz 3: 800.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-6-pax
Info:  Processes: 162 Uptime: 10 min Memory: 1422.3/3450.7MB Runlevel: 5
Gcc sys: 4.7.2
   Client: Shell (bash 4.2.42 running in yakuake) inxi: 1.8.45





Application: Kile (kile), signal: Segmentation fault
Using host libthread_db library /usr/lib/libthread_db.so.1.
[Current thread is 1 (Thread 0x742390c06780 (LWP 877))]

Thread 3 (Thread 0x74237aaf6700 (LWP 878)):
#0  0x74238e0ab810 in pthread_getspecific () from /usr/lib/libpthread.so.0
#1  0x742387d82880 in g_thread_self () from /usr/lib/libglib-2.0.so.0
#2  0x742387d5ec25 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3  0x74238e461b86 in
QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) ()
from /usr/lib/libQtCore.so.4
#4  0x74238e4323ff in
QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from
/usr/lib/libQtCore.so.4
#5  0x74238e432688 in
QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from
/usr/lib/libQtCore.so.4
#6  0x74238e3338a0 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x74238e412bbf in ?? () from /usr/lib/libQtCore.so.4
#8  0x74238e33687c in ?? () from /usr/lib/libQtCore.so.4
#9  0x74238e0a6e0f in start_thread () from /usr/lib/libpthread.so.0
#10 0x74238c9a4efd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x742378857700 (LWP 885)):
#0  0x74238e0aa954 in pthread_cond_wait@@GLIBC_2.3.2 () from
/usr/lib/libpthread.so.0
#1  0x74238ac137a7 in ?? () from /usr/lib/libQtScript.so.4
#2  0x74238ac137d9 in ?? () from /usr/lib/libQtScript.so.4
#3  0x74238e0a6e0f in start_thread () from /usr/lib/libpthread.so.0
#4  0x74238c9a4efd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x742390c06780 (LWP 877)):
[KCrash Handler]
#5  0x74238ab3008e in ?? () from /usr/lib/libQtScript.so.4
#6  0x74238abb4d99 in ?? () from /usr/lib/libQtScript.so.4
#7  0x74238abb555c in ?? () from /usr/lib/libQtScript.so.4
#8  0x74238ac55ce0 in ?? () from /usr/lib/libQtScript.so.4
#9  0x74238ac56cd6 in QScriptEngine::QScriptEngine() () from
/usr/lib/libQtScript.so.4
#10 0x74237b7bf44a in ?? () from /usr/lib/libkatepartinterfaces.so.4
#11 0x74237b7bfd99 in ?? () from /usr/lib/libkatepartinterfaces.so.4
#12 0x74237b7c0fec in ?? () from /usr/lib/libkatepartinterfaces.so.4
#13 0x74237b7c7213 in ?? () from /usr/lib/libkatepartinterfaces.so.4
#14 0x74237b7c793c in ?? () from /usr/lib/libkatepartinterfaces.so.4
#15 0x74237b828689 in KateView::setupActions() () from
/usr/lib/libkatepartinterfaces.so.4
#16 0x74237b82cce2 in KateView::KateView(KateDocument*, QWidget*) () from
/usr/lib/libkatepartinterfaces.so.4
#17 0x74237b79d8b9 in KateDocument::createView(QWidget*) () from
/usr/lib/libkatepartinterfaces.so.4
#18 0x00501f4e in ?? ()
#19 0x0059bd90 in ?? ()
#20 0x0059027a in ?? ()
#21 0x004c8826 in _start ()

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs