[Libreoffice-bugs] [Bug 44900] CPU eating after opening a password protected macro library

2012-01-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44900

--- Comment #7 from Laurent Godard  2012-01-20 
00:22:49 PST ---
this behaviour is reproduced when savin a clac file with password
once saved with password, CPU is at 43 %

--> i'll change the description

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 44900] CPU eating after opening a password protected macro library

2012-01-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44900

--- Comment #6 from Laurent Godard  2012-01-19 
10:37:28 PST ---
by commenting (for testing purposes) the line
http://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/mozab/bootstrap/MNSInit.cxx#299

--> the library is correctly unprotected
--> no more cpu eating by soffice

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 44900] CPU eating after opening a password protected macro library

2012-01-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44900

Michael Meeks  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW

--- Comment #5 from Michael Meeks  2012-01-19 
08:42:30 PST ---
Thanks for the trace - it looks normal-ish; though the MNS_Mozilla_UI_Thread is
a bit unusual to see that lingering around :-)

I suspect we have a leaked idle handler that is waking those loops up
constantly and banging the CPU for no good reason; hmm ...

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 44900] CPU eating after opening a password protected macro library

2012-01-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44900

--- Comment #4 from Laurent Godard  2012-01-19 
06:14:16 PST ---
i do not reproduce under windows XP on 3.5beta3

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 44900] CPU eating after opening a password protected macro library

2012-01-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44900

--- Comment #3 from Laurent Godard  2012-01-19 
05:55:23 PST ---

bt while doing nothing once CPU is at 43%

(gdb) thread apply all backtrace

Thread 12 (Thread 0xb2466b70 (LWP 8387)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7ce6a06 in gettimeofday () at ../sysdeps/unix/syscall-template.S:82
#2  0xac34cc4c in _PR_UNIX_GetInterval () at
../../../../../pr/src/md/unix/unix.c:3032
#3  0xac336a3e in PR_IntervalNow () at ../../../../pr/src/misc/prinrval.c:77
#4  0xac34b26e in PR_Sleep (ticks=1) at
../../../../pr/src/pthreads/ptthread.c:811
#5  0xabebc60c in MNS_XPCOM_EventLoop () at
/home/lgodard/projets/libreoffice/build/git/master/libo/connectivity/source/drivers/mozab/bootstrap/MNSInit.cxx:228
#6  0xabebc752 in MNS_Mozilla_UI_Thread (arg=0xa035a10) at
/home/lgodard/projets/libreoffice/build/git/master/libo/connectivity/source/drivers/mozab/bootstrap/MNSInit.cxx:258
#7  0xb7f6f981 in osl_thread_start_Impl (pData=0xa0f70e8) at
/home/lgodard/projets/libreoffice/build/git/master/libo/sal/osl/unx/thread.c:292
#8  0xb7c47cc9 in start_thread (arg=0xb2466b70) at pthread_create.c:304
#9  0xb7d2c69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xaf806b70 (LWP 8377)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7d1ddf6 in __poll (fds=0xb7db4ff4, nfds=1, timeout=1000) at
../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb26b99f4 in x11::SelectionManager::dispatchEvent (this=0x8a9edc0,
millisec=1000) at
/home/lgodard/projets/libreoffice/build/git/master/libo/vcl/unx/generic/dtrans/X11_selection.cxx:3737
#3  0xb26b9c6c in x11::SelectionManager::run (pThis=0x8a9edc0) at
/home/lgodard/projets/libreoffice/build/git/master/libo/vcl/unx/generic/dtrans/X11_selection.cxx:3775
#4  0xb26aac75 in call_SelectionManager_run (pMgr=0x8a9edc0) at
/home/lgodard/projets/libreoffice/build/git/master/libo/vcl/unx/generic/dtrans/X11_selection.cxx:108
#5  0xb7f6f981 in osl_thread_start_Impl (pData=0x8ab4498) at
/home/lgodard/projets/libreoffice/build/git/master/libo/sal/osl/unx/thread.c:292
#6  0xb7c47cc9 in start_thread (arg=0xaf806b70) at pthread_create.c:304
#7  0xb7d2c69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb0050b70 (LWP 8376)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7d1ddf6 in __poll (fds=0xb7db4ff4, nfds=2, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb269697c in ICEConnectionWorker () at
/home/lgodard/projets/libreoffice/build/git/master/libo/vcl/unx/generic/app/sm.cxx:665
#3  0xb7f6f981 in osl_thread_start_Impl (pData=0x8a5a468) at
/home/lgodard/projets/libreoffice/build/git/master/libo/sal/osl/unx/thread.c:292
#4  0xb7c47cc9 in start_thread (arg=0xb0050b70) at pthread_create.c:304
#5  0xb7d2c69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb0b22b70 (LWP 8375)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7d1ddf6 in __poll (fds=0xb7db4ff4, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb2795a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0xb278843c in ?? () from /lib/libglib-2.0.so.0
#4  0xb2788ba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0xb29a59c4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0xb27af48f in ?? () from /lib/libglib-2.0.so.0
#7  0xb7c47cc9 in start_thread (arg=0xb0b22b70) at pthread_create.c:304
#8  0xb7d2c69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb1c65b70 (LWP 8374)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7d2d898 in accept () at ../sysdeps/unix/sysv/linux/i386/socket.S:97
#2  0xb7f661ea in osl_acceptPipe (pPipe=0x88451e8) at
/home/lgodard/projets/libreoffice/build/git/master/libo/sal/osl/unx/pipe.c:430
#3  0xb7f32bca in ?? () from
/home/lgodard/projets/libreoffice/build/git/master/libo/solver/unxlngi6.pro/installation/opt/program/libsofficeapp.so
#4  0xb7f350c9 in ?? () from
/home/lgodard/projets/libreoffice/build/git/master/libo/solver/unxlngi6.pro/installation/opt/program/libsofficeapp.so
#5  0xb7f6f981 in osl_thread_start_Impl (pData=0x8843a98) at
/home/lgodard/projets/libreoffice/build/git/master/libo/sal/osl/unx/thread.c:292
#6  0xb7c47cc9 in start_thread (arg=0xb1c65b70) at pthread_create.c:304
#7  0xb7d2c69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

---Type  to continue, or q  to quit---
Thread 2 (Thread 0xb47a1b70 (LWP 8372)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7c4c884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0xb7d39df4 in __pthread_cond_timedwait (cond=0xb7fdb1e0, mutex=0xb7fdb080,
abstime=0xb47a1220) at forward.c:152
#3  0xb7f7b544 in rtl_cache_wsupdate_wait (seconds=10) at
/home/lgodard/projets/libreoffice/build/git/master/libo/sal/rtl/source/alloc_cache.cxx:1411
#4  0xb7f7b724 in rtl_cache_wsupdate_all (arg=0xa) at
/home/lgodard/projets/libreoffice/build/git/master/libo/sal/rtl/source/alloc_cache.cxx:1551
#5  0xb7c47cc9 in start_thread (

[Libreoffice-bugs] [Bug 44900] CPU eating after opening a password protected macro library

2012-01-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44900

--- Comment #2 from August Sodora  2012-01-18 12:28:32 PST ---
I just tried to reproduce this to get a backtrace and MNS_XPCOM_EventLoop was
never getting called; is this not a problem with --disable-mozilla?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 44900] CPU eating after opening a password protected macro library

2012-01-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44900

Michael Meeks  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||michael.me...@novell.com
 Ever Confirmed|0   |1

--- Comment #1 from Michael Meeks  2012-01-18 
10:38:18 PST ---
So - more information much appreciated. While it is doing all this work it
should not be, can you get the result of:

thread apply all backtrace

from a build with debugsymbols present - and attach that here ? When you say it
is eating CPU without doing anything - is the application otherwise responsive
& functioning, but just burning lots of CPU ? or is it not re-drawing &
unresponsive ?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 44900] CPU eating after opening a password protected macro library

2012-01-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44900

Laurent Godard  changed:

   What|Removed |Added

Summary|CPU etaing after opening a  |CPU eating after opening a
   |password protected macro|password protected macro
   |library |library

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs