VikasMahato

scDataproviderTest

Jul 18th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.54 KB | None | 0 0
  1.  
  2. Thread 7 "SQL Fetch Threa" hit Breakpoint 1, sc::SQLFetchThread::execute (this=0x555556ab73d0)
  3.     at /home/dcoder/libreoffice/sc/source/ui/dataprovider/sqldataprovider.cxx:68
  4. 68  {
  5. (gdb) catch throw
  6. +catch throw
  7. Catchpoint 4 (throw)
  8. (gdb) n
  9. +n
  10. 69      sal_Int32 nIndex = maID.indexOf("@");
  11. (gdb)
  12. +n
  13. 70      if (nIndex == -1)
  14. (gdb)
  15. +n
  16. 73      OUString aTable = maID.copy(0, nIndex);
  17. (gdb)
  18. +n
  19. 74      OUString aDatabase = maID.copy(nIndex + 1);
  20. (gdb) print aTable
  21. +print aTable
  22. $5 = "biblio"
  23. (gdb) print aDatabase
  24. +print aDatabase
  25. $6 = "Ἇ茀džﺁ✏\000踏\xfdca\xffff腈\003瘀謦⑄Ԕ\xffff翿쀁赉완䡰ႋ赈㥈瓊䠊娹༈\a謀⑄贔ň쀁赉왴襠쇏\x5ef譁蚔ࡠ\000Ƹ\000팀㧠࿐憇\004蔀࿀妄\004蔀࿐㊅\005䠀욃Đ痀䣰\x58b撧5赈⤍ᇳ䠀㶍ԡ\022륁\000譈䠐֍\021㪀䠀䔏䣈圈䡐֍䝍\022Ã\000Ἇ\200\000䠀㶍ѿ\022峨\xffbf\xfff䀟䠀톉셈৩荈ᓹ蘏Ƨ\000襈䣑䠌旅༊ڇ\003茀滁⛩替ἏD\x3100䣶\xdf89컨\xffef䣿삅襈࿁뢅\xfffeㇿ海\xffffἏ䠀\x58b摹5줱읤\000鶴\xffffἏ䤀ﲃ༿嚆\001䠀\x58b揟5赈愍䠀㶍Ζ\022륁ୱ\000譈䠐֍\021㪀䠀䔏䣈圈䡐֍䙵\022䱐֍ʭ\022赈"...
  26. (gdb) n
  27. +n
  28. 79              = sdb::DatabaseContext::create(comphelper::getProcessComponentContext());
  29. (gdb) print aDatabase
  30. +print aDatabase
  31. $7 = "Bibliography"
  32. (gdb) n
  33. +n
  34. 80          uno::Any aSourceAny = xContext->getByName(aDatabase);
  35. (gdb) print xContext
  36. +print xContext
  37. $8 = uno::Reference to (dbaccess::ODatabaseContext *) 0x55555652f878
  38. (gdb) c
  39. +c
  40. Continuing.
  41.  
  42. Thread 7 "SQL Fetch Threa" hit Catchpoint 4 (exception thrown), 0x00007ffff74ecfb1 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  43. (gdb) bt
  44. +bt
  45. #0  0x00007ffff74ecfb1 in __cxa_throw () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
  46. #1  0x00007fffecf01410 in gcc3::raiseException(_uno_Any*, _uno_Mapping*) (pUnoExc=0x7fffcf7d4f80, pUno2Cpp=0x555556add438)
  47.     at /home/dcoder/libreoffice/bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx:138
  48. #2  0x00007fffecefee19 in cpp2uno_call(bridges::cpp_uno::shared::CppInterfaceProxy*, typelib_TypeDescription const*, typelib_TypeDescriptionReference*, sal_Int32, typelib_MethodParameter*, void**, void**, void**, sal_uInt64*) (pThis=0x555556b11290, pMemberTypeDescr=0x5555569e2650, pReturnTypeRef=0x55555584e270, nParams=1, pParams=0x5555569e0950, gpreg=0x7fffcf7d52b0, fpreg=0x7fffcf7d52d0, ovrflw=0x7fffcf7d5320, pRegisterReturn=0x7fffcf7d5280)
  49.     at /home/dcoder/libreoffice/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:201
  50. #3  0x00007fffeceff79a in cpp_vtable_call(sal_Int32, sal_Int32, void**, void**, void**, sal_uInt64*) (nFunctionIndex=3, nVtableOffset=0, gpreg=0x7fffcf7d52a0, fpreg=0x7fffcf7d52d0, ovrflw=0x7fffcf7d5320, pRegisterReturn=0x7fffcf7d5280) at /home/dcoder/libreoffice/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx:372
  51. #4  0x00007fffecf1b9cc in privateSnippetExecutor () at /home/dcoder/libreoffice/instdir/program/libgcc3_uno.so
  52. #5  0x00007ffff52587c5 in cppu::throwException(com::sun::star::uno::Any const&) (exc=
  53.   uno::Any("com.sun.star.ucb.InteractiveAugmentedIOException": {<com::sun::star::ucb::InteractiveIOException> = {<com::sun::star::task::ClassifiedInteractionRequest> = {<com::sun::star::uno::Exception> = {Message = "an error occurred during file opening", Context = uno::Reference to (fileaccess::BaseContent *) 0x555556adbf48}, Classification = com::sun::star::task::InteractionClassification::InteractionClassification_ERROR}, Code = com::sun::star::ucb::IOErrorCode::IOErrorCode_NOT_EXISTING}, Arguments = uno::Sequence of length 2 = {uno::Any("com.sun.star.beans.PropertyValue": {Name = "Uri", Handle = -1, Value = uno::Any("string": "file:///home/dcoder/libreoffice/workdir/CppunitTest/sc_dataprovider.test.user/user/database/biblio.odb"), State = com::sun::star::beans::PropertyState::PropertyState_DIRECT_VALUE}), uno::Any("com.sun.star.beans.PropertyValue": {Name = "ResourceName", Handle = -1, Value = uno::Any("string": "/home/dcoder/libreoffice/workdir/CppunitTest/sc_dataprovider.test.user/user/database/biblio.odb"), State = com::sun::star::beans::PropertyState::PropertyState_DIRECT_VALUE})}})) at /home/dcoder/libreoffice/cppuhelper/source/exc_thrower.cxx:201
  54. #6  0x00007ffff2de8ca7 in ucbhelper::cancelCommandExecution(com::sun::star::ucb::IOErrorCode, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment> const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::ucb::XCommandProcessor> const&) (eError=com::sun::star::ucb::IOErrorCode::IOErrorCode_NOT_EXISTING, rArgs=uno::Sequence of length 2 = {...}, xEnv=empty uno::Reference, rMessage="an error occurred during file opening", xContext=uno::Reference to (fileaccess::BaseContent *) 0x555556adbf48)
  55.     at /home/dcoder/libreoffice/ucbhelper/source/provider/cancelcommandexecution.cxx:111
  56. #7  0x00007fffd183a6f1 in fileaccess::throw_handler(int, int, com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment> const&, rtl::OUString const&, fileaccess::BaseContent*, bool) (errorCode=12, minorCode=2, xEnv=empty uno::Reference, aUncPath="file:///home/dcoder/libreoffice/workdir/CppunitTest/sc_dataprovider.test.user/user/database/biblio.odb", pContent=0x555556adbf10, isHandled=false) at /home/dcoder/libreoffice/ucb/source/ucp/file/filglob.cxx:362
  57. #8  0x00007fffd18618f6 in fileaccess::TaskManager::endTask(int, rtl::OUString const&, fileaccess::BaseContent*) (this=0x555556adbaf0, CommandId=1, aUncPath="file:///home/dcoder/libreoffice/workdir/CppunitTest/sc_dataprovider.test.user/user/database/biblio.odb", pContent=0x555556adbf10)
  58.     at /home/dcoder/libreoffice/ucb/source/ucp/file/filtask.cxx:404
  59. #9  0x00007fffd1829319 in fileaccess::BaseContent::endTask(int) (this=0x555556adbf10, CommandId=1) at /home/dcoder/libreoffice/ucb/source/ucp/file/bc.cxx:1173
  60. #10 0x00007fffd1825e5d in fileaccess::BaseContent::execute(com::sun::star::ucb::Command const&, int, com::sun::star::uno::Reference<com::sun::star::ucb::XCommandEnvironment> const&) (this=0x555556adbf10, aCommand=..., CommandId=1, Environment=empty uno::Reference) at /home/dcoder/libreoffice/ucb/source/ucp/file/bc.cxx:390
  61. #11 0x00007ffff2dcd800 in ucbhelper::Content_Impl::executeCommand(com::sun::star::ucb::Command const&) (this=0x555556adc6e0, rCommand=...)
  62.     at /home/dcoder/libreoffice/ucbhelper/source/client/content.cxx:1258
  63. #12 0x00007ffff2dc9e82 in ucbhelper::Content::getPropertyValuesInterface(com::sun::star::uno::Sequence<rtl::OUString> const&) (this=0x7fffcf7d5a20, rPropertyNames=uno::Sequence of length 1 = {...}) at /home/dcoder/libreoffice/ucbhelper/source/client/content.cxx:494
  64. #13 0x00007ffff2dc9be3 in ucbhelper::Content::getPropertyValues(com::sun::star::uno::Sequence<rtl::OUString> const&) (this=0x7fffcf7d5a20, rPropertyNames=uno::Sequence of length 1 = {...}) at /home/dcoder/libreoffice/ucbhelper/source/client/content.cxx:453
  65. ---Type <return> to continue, or q <return> to quit---
  66. #14 0x00007ffff2dc9975 in ucbhelper::Content::getPropertyValue(rtl::OUString const&) (this=0x7fffcf7d5a20, rPropertyName="IsDocument")
  67.     at /home/dcoder/libreoffice/ucbhelper/source/client/content.cxx:432
  68. #15 0x00007ffff2dcc889 in ucbhelper::Content::isDocument() (this=0x7fffcf7d5a20) at /home/dcoder/libreoffice/ucbhelper/source/client/content.cxx:1029
  69. #16 0x00007fffcccdfd08 in dbaccess::ODatabaseContext::loadObjectFromURL(rtl::OUString const&, rtl::OUString const&) (this=0x55555652f820, _rName="Bibliography", _sURL="file:///home/dcoder/libreoffice/workdir/CppunitTest/sc_dataprovider.test.user/user/database/biblio.odb")
  70.     at /home/dcoder/libreoffice/dbaccess/source/core/dataaccess/databasecontext.cxx:321
  71. #17 0x00007fffccce2805 in dbaccess::ODatabaseContext::getByName(rtl::OUString const&) (this=0x55555652f820, _rName="Bibliography")
  72.     at /home/dcoder/libreoffice/dbaccess/source/core/dataaccess/databasecontext.cxx:651
  73. #18 0x00007fffdb892a0c in sc::SQLFetchThread::execute() (this=0x555556ab73d0) at /home/dcoder/libreoffice/sc/source/ui/dataprovider/sqldataprovider.cxx:80
  74. #19 0x00007ffff4ffb4f4 in salhelper::Thread::run() (this=0x555556ab73d0) at /home/dcoder/libreoffice/salhelper/source/thread.cxx:40
  75. #20 0x00007ffff4ffb84e in osl::threadFunc(void*) (param=0x555556ab73e0) at /home/dcoder/libreoffice/include/osl/thread.hxx:185
  76. #21 0x00007ffff785e496 in osl_thread_start_Impl(void*) (pData=0x555556ad5d90) at /home/dcoder/libreoffice/sal/osl/unx/thread.cxx:234
  77. #22 0x00007ffff66976db in start_thread (arg=0x7fffcf7d6700) at pthread_create.c:463
  78. #23 0x00007ffff6bd488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
  79. (gdb)
Add Comment
Please, Sign In to add comment