[Libreoffice-bugs] [Bug 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 Michael Stahl mst...@redhat.com changed: What|Removed |Added Attachment #72352|text/plain |image/png mime type|| -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #23 from Marcos Souza marcos.souza@gmail.com --- Created attachment 72352 -- https://bugs.freedesktop.org/attachment.cgi?id=72352action=edit Now it works! Thanks a lot Noel! Now it works! See this print: now it gives a message of empty report when testing. Closing the issue. Thanks again! -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 Marcos Souza marcos.souza@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #19 from Julien Nabet serval2...@yahoo.fr --- (In reply to comment #18) I'll be happy to look at this, but I'll only be back at my hacking machine in a week. Julien, you are correct, I need to propogate the XMultiServiceFactory-XComponentContext change up the hierarchy to OGenericUnoController and dump the unnecessary m_xContext field in OReportController. That being said, the only way I can see this happening is if showError is being called after OGenericUnoController::disposing() has cleared it's m_xServiceFactory field. (why it is doing that is another question). Probably just removing the clearing of m_xServiceFactory in OGenericUnoController will make this crash go away. Thank you Noel for your feedback. I sent a post on dev mailing list (see http://nabble.documentfoundation.org/About-fdo-58451-Base-crash-when-Execute-report-with-a-empty-database-td4025905.html). Perhaps someone may help before you come back :-) -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #20 from Marcos Souza marcos.souza@gmail.com --- Created attachment 72027 -- https://bugs.freedesktop.org/attachment.cgi?id=72027action=edit valgrind log - now with valgrind installed!! I tought that valgrind was installed here, but it doesn't.. I belive this is the right log message! -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #21 from Marcos Souza marcos.souza@gmail.com --- Created attachment 72033 -- https://bugs.freedesktop.org/attachment.cgi?id=72033action=edit vagrind report When i follow https://wiki.documentfoundation.org/BugReport#How_to_get_a_valgrind_log_.28on_Linux.29 it seems that an error occurs when trying to get the summary of icedtea... So, attaching this... -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #6 from Marcos Souza marcos.souza@gmail.com --- Created attachment 71989 -- https://bugs.freedesktop.org/attachment.cgi?id=71989action=edit 1 After compile the LO with head 8e25844811ebcf313f4ae9d0caae1f97fd230a7d and open Base and creating a new database -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #7 from Marcos Souza marcos.souza@gmail.com --- Created attachment 71990 -- https://bugs.freedesktop.org/attachment.cgi?id=71990action=edit The parameters of the new database -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #8 from Marcos Souza marcos.souza@gmail.com --- Created attachment 71991 -- https://bugs.freedesktop.org/attachment.cgi?id=71991action=edit 3 - Name of new database -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #9 from Marcos Souza marcos.souza@gmail.com --- Created attachment 71992 -- https://bugs.freedesktop.org/attachment.cgi?id=71992action=edit After create the new database, click on Create Report in Design View -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #10 from Marcos Souza marcos.souza@gmail.com --- Created attachment 71993 -- https://bugs.freedesktop.org/attachment.cgi?id=71993action=edit After crick in Create Report in Design View, just click Execute Report -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #11 from Marcos Souza marcos.souza@gmail.com --- Created attachment 71994 -- https://bugs.freedesktop.org/attachment.cgi?id=71994action=edit Backtrace with --backtrace and crash -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #12 from Marcos Souza marcos.souza@gmail.com --- Created attachment 71995 -- https://bugs.freedesktop.org/attachment.cgi?id=71995action=edit valgrind log -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #13 from Marcos Souza marcos.souza@gmail.com --- Guys I hope this information could help us to fix this issue.. Maybe more useful information: [marcos@jedi program]$ java -version java version 1.7.0_09-icedtea OpenJDK Runtime Environment (fedora-2.3.3.fc17.1-i386) OpenJDK Server VM (build 23.2-b09, mixed mode) [marcos@jedi program]$ uname -a Linux jedi 3.5.4-2.fc17.i686 #1 SMP Wed Sep 26 22:32:49 UTC 2012 i686 i686 i386 GNU/Linux I'm using Fedora 17 with Xfce -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #14 from Julien Nabet serval2...@yahoo.fr --- Created attachment 71996 -- https://bugs.freedesktop.org/attachment.cgi?id=71996action=edit bt + console logs on master On pc Debian x86-64 with master sources updated today (commit bb97ecdbcc8d8dafd39e728b21bc68efee4eccbc), I reproduced the problem Marcos: great for the detailed steps. It could be interesting you add the option --enable-symbols for having a even more useful backtrace. Anyway, I did it (I've got --enable-dbgutil to have symbols + debug logs) Nonetheless, thank you for your bt and Valgrind. -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 Julien Nabet serval2...@yahoo.fr changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #16 from Julien Nabet serval2...@yahoo.fr --- in a gdb session, I've got this: Breakpoint 2, dbtools::showError (_rInfo=..., _xParent= uno::Reference to {com::sun::star::lang::XComponent = {com::sun::star::uno::XInterface = {_vptr.XInterface = 0x7f5ecc5b5f10}, No data fields}, No data fields}, _rxContext=uno::Reference to {com::sun::star::uno::XInterface = {_vptr.XInterface = 0x7f5ece853b30}, No data fields}) at /home/julien/compile-libreoffice/libo/connectivity/source/commontools/dbtools.cxx:1485 1485if (_rInfo.isValid()) (gdb) n 1489Reference XExecutableDialog xErrorDialog = ErrorMessageDialog::create( _rxContext, , _xParent, _rInfo.get() ); (gdb) p _rxContext $2 = uno::Reference to {com::sun::star::uno::XInterface = {_vptr.XInterface = 0x7f5ece853b30}, No data fields} (gdb) p _xParent $3 = uno::Reference to {com::sun::star::lang::XComponent = {com::sun::star::uno::XInterface = {_vptr.XInterface = 0x7f5ecc5b5f10}, No data fields}, No data fields} (gdb) p _rInfo.get() $4 = uno::Any {com::sun::star::sdbc::SQLWarning = {com::sun::star::sdbc::SQLException = {com::sun::star::uno::Exception = {Message = The report can not be executed unless it is bound to content., Context = empty uno::Reference}, SQLState = , ErrorCode = 0, NextException = empty uno::Any}, No data fields}, Details = } (gdb) n Program received signal SIGSEGV, Segmentation fault. 0x01a89580 in ?? () I wonder if it could be due to: 19854e653be1dc01f5b655fca851a6e3a651a940 fdo#46808, Adapt sdb::ErrorMessageDialog UNO service to new style -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 Julien Nabet serval2...@yahoo.fr changed: What|Removed |Added CC||noelgran...@gmail.com --- Comment #17 from Julien Nabet serval2...@yahoo.fr --- The problem could be the fact that getORB() function in dbaccess/inc/genericcontroller.hxx returns ::com::sun::star::lang::XMultiServiceFactory not ::com::sun::star::uno::XComponentContext Noel: would you have some time to take a look at this? The problem to change there are 3 files in DBAccess which use XMultiServiceFactory: source/ui/app/AppController.cxx source/ui/browser/sbagrid.cxx source/ui/browser/genericcontroller.cxx -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #18 from Noel Grandin noelgran...@gmail.com --- I'll be happy to look at this, but I'll only be back at my hacking machine in a week. Julien, you are correct, I need to propogate the XMultiServiceFactory-XComponentContext change up the hierarchy to OGenericUnoController and dump the unnecessary m_xContext field in OReportController. That being said, the only way I can see this happening is if showError is being called after OGenericUnoController::disposing() has cleared it's m_xServiceFactory field. (why it is doing that is another question). Probably just removing the clearing of m_xServiceFactory in OGenericUnoController will make this crash go away. -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 Julien Nabet serval2...@yahoo.fr changed: What|Removed |Added CC||serval2...@yahoo.fr --- Comment #4 from Julien Nabet serval2...@yahoo.fr --- It could help if you attach /tmp/hs_err_pid4749.log but I don't think you still have it since it's in /tmp and you must have already rebooted. Could you retrieve a backtrace by following this link (https://wiki.documentfoundation.org/BugReport#How_to_get_a_backtrace_.28on_Linux.29)? -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #5 from Alex Thurgood ipla...@yahoo.co.uk --- Can not confirm with : Version 4.1.0.0.alpha0+ (Build ID: 74b960ef3cd96f0f0e170234bc0947bfb51723f) on Linux Mint Maya 32bit. When I click on Create Report in Design the Report Template opens. No crash. Alex -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #3 from pierre-yves samyn pierre-yves.sa...@laposte.net --- Hello (In reply to comment #1) If I want to create a report without any table a popup appears: The report can not be executed unless it is bound to content. When I create a table (what isn't described in the report) and connect to the report, I can execute it. There doesn't appear any content in the report, because there isn't any content in the table. I confirm this comment : I can not reproduce with windows 7 64bits Version 4.0.0.0.beta1+ (Build ID: b0eb7231a9643d71be3125be7248c91242339ab) I also tried after creating a table. Execute the report displays another message: The report can not be executed unless at least on object has been inserted. Note: my JRE is 1.6.0_38 Regards Pierre-Yves -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 rob...@familiegrosskopf.de changed: What|Removed |Added CC||rob...@familiegrosskopf.de --- Comment #1 from rob...@familiegrosskopf.de --- You haven't chosen any version in this report. I could not confirm this behavior. Just tested with LO Version 4.0.0.0.beta1+, TinderBox: Linux-x86_10-Release-Configuration, Branch:libreoffice-4-0, Time: 2012-12-15_16:11:06. If I want to create a report without any table a popup appears: The report can not be executed unless it is bound to content. When I create a table (what isn't described in the report) and connect to the report, I can execute it. There doesn't appear any content in the report, because there isn't any content in the table. -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 Marcos Souza marcos.souza@gmail.com changed: What|Removed |Added Version|unspecified |4.1.0.0.alpha0+ Master -- 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 58451] Base crash when Execute report with a empty database
https://bugs.freedesktop.org/show_bug.cgi?id=58451 --- Comment #2 from Marcos Souza marcos.souza@gmail.com --- Hi Robert! Sorry, I'm using LO 4 Master. But, the crash happens here. This is the error: # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xad79c6ff, pid=4749, tid=3036846528 # # JRE version: 7.0_09 # Java VM: OpenJDK Client VM (23.2-b09 mixed mode linux-x86 ) # Problematic frame: # C [libdbulo.so+0x856ff] com::sun::star::uno::cpp_release(void*)+0xc # # Core dump written. Default location: /mnt/dados/gitroot/core/solver/unxlngi6.pro/installation/opt/program/core or core.4749 # # An error report file with more information is saved as: # /tmp/hs_err_pid4749.log # # If you would like to submit a bug report, please include # instructions on how to reproduce the bug and visit: # http://icedtea.classpath.org/bugzilla # [error occurred during error reporting , id 0xb] This info give more help? Thanks a lot! -- 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