https://bugs.documentfoundation.org/show_bug.cgi?id=76844
Julien Nabet <serval2...@yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ma...@libreoffice.org, | |sberg...@redhat.com --- Comment #9 from Julien Nabet <serval2...@yahoo.fr> --- Putting a break in framework::TransactionManager::TransactionManager, I noticed that it was called twice. 1) Breakpoint 3, framework::TransactionManager::TransactionManager (this=0x70dd5d0) at /home/julien/compile-libreoffice/libreoffice/framework/source/fwi/threadhelp/transactionmanager.cxx:40 40 m_aBarrier.open(); (gdb) bt #0 framework::TransactionManager::TransactionManager (this=0x70dd5d0) at /home/julien/compile-libreoffice/libreoffice/framework/source/fwi/threadhelp/transactionmanager.cxx:40 #1 0x00002aaac65f269a in framework::TransactionBase::TransactionBase (this=0x70dd5d0) at /home/julien/compile-libreoffice/libreoffice/framework/inc/threadhelp/transactionbase.hxx:35 #2 0x00002aaac65eeb81 in framework::DispatchProvider::DispatchProvider (this=0x70dd5a0, rxContext=uno::Reference to (cppu::ComponentContext *) 0x7664b0, xFrame=uno::Reference to ((anonymous namespace)::Frame *) 0x7a38378) at /home/julien/compile-libreoffice/libreoffice/framework/source/dispatch/dispatchprovider.cxx:67 #3 0x00002aaac66bb6f3 in (anonymous namespace)::Frame::initListeners (this=0x7a38350) at /home/julien/compile-libreoffice/libreoffice/framework/source/services/frame.cxx:523 #4 0x00002aaac66c5baa in com_sun_star_comp_framework_Frame_get_implementation (context=0x7664b0) at /home/julien/compile-libreoffice/libreoffice/framework/source/services/frame.cxx:3291 #5 0x00002aaaad920669 in cppuhelper::ServiceManager::Data::Implementation::createInstance (this=0x684d40, context=uno::Reference to (cppu::ComponentContext *) 0x7664b0, singletonRequest=false) at /home/julien/compile-libreoffice/libreoffice/cppuhelper/source/servicemanager.cxx:685 2) Breakpoint 3, framework::TransactionManager::TransactionManager (this=0x7a383c8) at /home/julien/compile-libreoffice/libreoffice/framework/source/fwi/threadhelp/transactionmanager.cxx:40 40 m_aBarrier.open(); (gdb) bt #0 framework::TransactionManager::TransactionManager (this=0x7a383c8) at /home/julien/compile-libreoffice/libreoffice/framework/source/fwi/threadhelp/transactionmanager.cxx:40 #1 0x00002aaac65f269a in framework::TransactionBase::TransactionBase (this=0x7a383c8) at /home/julien/compile-libreoffice/libreoffice/framework/inc/threadhelp/transactionbase.hxx:35 #2 0x00002aaac66bb0f3 in (anonymous namespace)::Frame::Frame (this=0x7a38350, xContext=uno::Reference to (cppu::ComponentContext *) 0x7664b0) at /home/julien/compile-libreoffice/libreoffice/framework/source/services/frame.cxx:512 #3 0x00002aaac66c5b6a in com_sun_star_comp_framework_Frame_get_implementation (context=0x7664b0) at /home/julien/compile-libreoffice/libreoffice/framework/source/services/frame.cxx:3288 #4 0x00002aaaad920669 in cppuhelper::ServiceManager::Data::Implementation::createInstance (this=0x684d40, context=uno::Reference to (cppu::ComponentContext *) 0x7664b0, singletonRequest=false) at /home/julien/compile-libreoffice/libreoffice/cppuhelper/source/servicemanager.cxx:685 Matus/Stephan: is it normal 2 instances of transactionmanager are created, shouldn't it be a singleton? -- 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