Bugzilla – Attachment 167865 Details for
Bug 138691
Crash when trying to save a form using an image bigger than length of Binary fix field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gdb bt
gdb_bt.txt (text/plain), 12.77 KB, created by
Julien Nabet
on 2020-12-06 12:20:43 UTC
(
hide
)
Description:
gdb bt
Filename:
MIME Type:
Creator:
Julien Nabet
Created:
2020-12-06 12:20:43 UTC
Size:
12.77 KB
patch
obsolete
>Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault. >__memset_avx2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:214 >214 ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Aucun fichier ou dossier de ce type. >(gdb) bt >#0 __memset_avx2_unaligned_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:214 >#1 0x00007fd510206206 in connectivity::firebird::OPreparedStatement::setBytes(int, com::sun::star::uno::Sequence<signed char> const&) (this= > 0x9dca910, nParameterIndex=1, xBytes=uno::Sequence of length 190095 = {...}) at connectivity/source/drivers/firebird/PreparedStatement.cxx:927 >#2 0x00007fd51334886a in dbaccess::OPreparedStatement::setBytes(int, com::sun::star::uno::Sequence<signed char> const&) (this=0x9f95930, parameterIndex=1, x=uno::Sequence of length 190095 = {...}) > at dbaccess/source/core/api/preparedstatement.cxx:312 >#3 0x00007fd5215335f1 in dbtools::setObjectWithInfo(com::sun::star::uno::Reference<com::sun::star::sdbc::XParameters> const&, int, connectivity::ORowSetValue const&, int, int) > (_xParams=uno::Reference to (com::sun::star::uno::XInterface *) 0x9f95a50, parameterIndex=1, _rValue=..., sqlType=-2, scale=0) at connectivity/source/commontools/dbtools.cxx:1855 >#4 0x00007fd5132afc5b in dbaccess::OCacheSet::setParameter(int, com::sun::star::uno::Reference<com::sun::star::sdbc::XParameters> const&, connectivity::ORowSetValue const&, int, int) > (nPos=1, _xParameter=uno::Reference to (com::sun::star::uno::XInterface *) 0x9f95a50, _rValue=..., _nType=-2, _nScale=0) at dbaccess/source/core/api/CacheSet.cxx:368 >#5 0x00007fd51330d242 in dbaccess::OKeySet::executeInsert(rtl::Reference<connectivity::ORowVector<connectivity::ORowSetValue> > const&, rtl::OUString const&, std::basic_string_view<char16_t, std::char_traits<char16_t> >, bool) (this=0x9c202a0, _rInsertRow=rtl::Reference to 0x9c20db0, i_sSQL="INSERT INTO \"Table3\" ( \"f1\",\"id\") VALUES ( ?,?)", i_sTableName=u"", bRefetch=true) > at dbaccess/source/core/api/KeySet.cxx:647 >#6 0x00007fd51330cd20 in dbaccess::OKeySet::insertRow(rtl::Reference<connectivity::ORowVector<connectivity::ORowSetValue> > const&, com::sun::star::uno::Reference<com::sun::star::sdbcx::XColumnsSupplier> const&) (this=0x9c202a0, _rInsertRow=rtl::Reference to 0x9c20db0, _xTable=uno::Reference to (dbaccess::ODBTableDecorator *) 0x5bc55b0) at dbaccess/source/core/api/KeySet.cxx:624 >#7 0x00007fd5133e61cb in dbaccess::ORowSetCache::insertRow(std::__debug::vector<com::sun::star::uno::Any, std::allocator<com::sun::star::uno::Any> >&) > (this=0x9c1fe70, o_aBookmarks=std::__debug::vector of length 0, capacity 0) at dbaccess/source/core/api/RowSetCache.cxx:1266 >#8 0x00007fd51338cec1 in dbaccess::ORowSet::insertRow() (this=0x8ea1900) at dbaccess/source/core/api/RowSet.cxx:883 >#9 0x00007fd50bb1d68f in frm::ODatabaseForm::insertRow() (this=0x8e8d060) at forms/source/component/DatabaseForm.cxx:3418 >#10 0x00007fd50bcb97ac in frm::FormOperations::impl_commitCurrentRecord_throw(unsigned char*) const (this=0x9c42e70, _pRecordInserted=0x7ffeee5f42ef "") at forms/source/runtime/formoperations.cxx:880 >#11 0x00007fd50bcbd185 in frm::FormOperations::commitCurrentRecord(unsigned char&) (this=0x9c42e70, _out_rRecordInserted=@0x7ffeee5f42ef: 0 '\000') at forms/source/runtime/formoperations.cxx:860 >#12 0x00007fd529e40910 in svx::FormControllerHelper::impl_operateForm_nothrow(svx::FormControllerHelper::FormOperation, short, com::sun::star::uno::Sequence<com::sun::star::beans::NamedValue> const&) const > (this=0x9a53870, _eWhat=svx::FormControllerHelper::COMMIT_RECORD, _nFeature=0, _rArguments=empty uno::Sequence) at svx/source/form/formcontrolling.cxx:323 >#13 0x00007fd529e4570c in svx::FormControllerHelper::impl_operateForm_nothrow(svx::FormControllerHelper::FormOperation) const (this=0x9a53870, _eWhat=svx::FormControllerHelper::COMMIT_RECORD) > at svx/source/inc/formcontrolling.hxx:201 >#14 0x00007fd529e400fa in svx::FormControllerHelper::commitCurrentRecord() const (this=0x9a53870) at svx/source/form/formcontrolling.cxx:287 >#15 0x00007fd529d3d121 in FmFormShell::PrepareClose(bool) (this=0x9a4c570, bUI=true) at svx/source/form/fmshell.cxx:234 >#16 0x00007fd50aa1ef17 in SwView::PrepareClose(bool) (this=0x90f3b30, bUI=true) at sw/source/uibase/uiview/view.cxx:1773 >#17 0x00007fd52bcc4b65 in SfxBaseController::suspend(unsigned char) (this=0x9101678, bSuspend=1 '\001') at sfx2/source/view/sfxbasecontroller.cxx:578 >#18 0x00007fd51353f36e in dbaccess::ODocumentDefinition::prepareClose() (this=0x609a380) at dbaccess/source/core/dataaccess/documentdefinition.cxx:1977 >#19 0x00007fd513556734 in dbaccess::OInterceptor::OnDispatch(void*) (this=0x5bd7560, _pDispatcher=0x9f397e0) at dbaccess/source/core/dataaccess/intercept.cxx:172 >#20 0x00007fd5135566a0 in dbaccess::OInterceptor::LinkStubOnDispatch(void*, void*) (instance=0x5bd7560, data=0x9f397e0) at dbaccess/source/core/dataaccess/intercept.cxx:167 >#21 0x00007fd5263c7778 in Link<void*, void>::Call(void*) const (this=0x6184128, data=0x9f397e0) at include/tools/link.hxx:111 >#22 0x00007fd5263c397e in ImplHandleUserEvent(ImplSVEvent*) (pSVEvent=0x6184120) at vcl/source/window/winproc.cxx:1990 >#23 0x00007fd5263c0526 in ImplWindowFrameProc(vcl::Window*, SalEvent, void const*) (_pWindow=0x3908900, nEvent=SalEvent::UserEvent, pEvent=0x6184120) at vcl/source/window/winproc.cxx:2560 >#24 0x00007fd526eaf155 in SalFrame::CallCallback(SalEvent, void const*) const (this=0x39090b0, nEvent=SalEvent::UserEvent, pEvent=0x6184120) at vcl/inc/salframe.hxx:302 >#25 0x00007fd526edd27f in SalGenericDisplay::ProcessEvent(SalUserEventList::SalUserEvent) (this=0x3804240, aEvent=...) at vcl/unx/generic/app/gendisp.cxx:66 >#26 0x00007fd526b386c9 in SalUserEventList::DispatchUserEvents(bool) (this=0x3804240, bHandleAllCurrentEvents=false) at vcl/source/app/salusereventlist.cxx:117 >#27 0x00007fd526edd1c9 in SalGenericDisplay::DispatchInternalEvent(bool) (this=0x3804240, bHandleAllCurrentEvent=false) at vcl/unx/generic/app/gendisp.cxx:51 >#28 0x00007fd51af30e81 in call_userEventFn(void*) (data=0x2345190) at vcl/unx/gtk3/gtk3gtkdata.cxx:733 >#29 0x00007fd520377adf in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 >#30 0x00007fd520377e88 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 >#31 0x00007fd520377f3f in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 >#32 0x00007fd51af2fa2c in GtkSalData::Yield(bool, bool) (this=0x2345190, bWait=true, bHandleAllCurrentEvents=false) at vcl/unx/gtk3/gtk3gtkdata.cxx:390 >#33 0x00007fd51af35002 in GtkInstance::DoYield(bool, bool) (this=0x2344fb0, bWait=true, bHandleAllCurrentEvents=false) at vcl/unx/gtk3/gtk3gtkinst.cxx:387 >#34 0x00007fd526c18650 in ImplYield(bool, bool) (i_bWait=true, i_bAllEvents=false) at vcl/source/app/svapp.cxx:447 >#35 0x00007fd526c182c0 in Application::Yield() () at vcl/source/app/svapp.cxx:512 >#36 0x00007fd526c18239 in Application::Execute() () at vcl/source/app/svapp.cxx:426 >#37 0x00007fd52ec0083b in desktop::Desktop::Main() (this=0x7ffeee5f72c8) at desktop/source/app/app.cxx:1588 >#38 0x00007fd526c3af80 in ImplSVMain() () at vcl/source/app/svmain.cxx:196 >#39 0x00007fd526c3cb49 in SVMain() () at vcl/source/app/svmain.cxx:228 >#40 0x00007fd52ec7941e in soffice_main() () at desktop/source/app/sofficemain.cxx:98 >#41 0x000000000040088d in sal_main () at desktop/source/app/main.c:49 >--Type <RET> for more, q to quit, c to continue without paging--q >Quit >(gdb) frame 3 >#3 0x00007fd5215335f1 in dbtools::setObjectWithInfo (_xParams=uno::Reference to (com::sun::star::uno::XInterface *) 0x9f95a50, parameterIndex=1, _rValue=..., sqlType=-2, scale=0) > at connectivity/source/commontools/dbtools.cxx:1855 >1855 _xParams->setBytes(parameterIndex,aBytes); >(gdb) list >1850 case DataType::BLOB: >1851 { >1852 Any x(_rValue.makeAny()); >1853 Sequence< sal_Int8> aBytes; >1854 if(x >>= aBytes) >1855 _xParams->setBytes(parameterIndex,aBytes); >1856 else >1857 { >1858 Reference< XBlob > xBlob; >1859 if(x >>= xBlob) >(gdb) p _rValue >$1 = (const connectivity::ORowSetValue &) @0x9c20130: {m_aValue = {m_bBool = 224, m_nInt8 = -32 '\340', m_uInt8 = 224 '\340', m_nInt16 = -25888, m_uInt16 = 39648, m_nInt32 = 167746272, m_uInt32 = 167746272, > m_nInt64 = 167746272, m_uInt64 = 167746272, m_nFloat = 6.15346607e-33, m_nDouble = 8.2877670213141412e-316, m_pString = 0x9ff9ae0, m_pValue = 0x9ff9ae0}, m_eTypeKind = -4, m_bNull = false, m_bBound = true, > m_bModified = true, m_bSigned = true} >(gdb) p x >$2 = > uno::Any("[]byte": uno::Sequence of length 190095 = {-119 '\211', 80 'P', 78 'N', 71 'G', 13 '\r', 10 '\n', 26 '\032', 10 '\n', 0 '\000', 0 '\000', 0 '\000', 13 '\r', 73 'I', 72 'H', 68 'D', 82 'R', 0 '\000', 0 '\000', 7 '\a', -128 '\200', 0 '\000', 0 '\000', 4 '\004', 56 '8', 8 '\b', 6 '\006', 0 '\000', 0 '\000', 0 '\000', -24 '\350', -45 '\323', -63 '\301', 67 'C', 0 '\000', 0 '\000', 0 '\000', 4 '\004', 115 's', 66 'B', 73 'I', 84 'T', 8 '\b', 8 '\b', 8 '\b', 8 '\b', 124 '|', 8 '\b', 100 'd', -120 '\210', 0 '\000', 0 '\000', 0 '\000', 25 '\031', 116 't', 69 'E', 88 'X', 116 't', 83 'S', 111 'o', 102 'f', 116 't', 119 'w', 97 'a', 114 'r', 101 'e', 0 '\000', 103 'g', 110 'n', 111 'o', 109 'm', 101 'e', 45 '-', 115 's', 99 'c', 114 'r', 101 'e', 101 'e', 110 'n', 115 's', 104 'h', 111 'o', 116 't', -17 '\357', 3 '\003', -65 '\277', 62 '>', 0 '\000', 0 '\000', 0 '\000', 40 '(', 116 't', 69 'E', 88 'X', 116 't', 67 'C', 114 'r', 101 'e', 97 'a', 116 't', 105 'i', 111 'o', 110 'n', 32 ' ', 84 'T', 105 'i', 109 'm', 101 'e', 0 '\000', 109 'm', 101 'e', 114 'r', 46 '.', 32 ' ', 49 '1', 49 '1', 32 ' ', 110 'n', 111 'o', 118 'v', 46 '.', 32 ' ', 50 '2', 48 '0', 50 '2', 48 '0', 32 ' ', 49 '1', 51 '3', 58 ':', 53 '5', 57 '9', 58 ':', 49 '1', 51 '3', -103 '\231', -93 '\243', 9 '\t', -78 '\262', 0 '\000', 0 '\000', 32 ' ', 0 '\000', 73 'I', 68 'D', 65 'A', 84 'T', 120 'x', -100 '\234', -20 '\354', -35 '\335', 121 'y', 124 '|', 84 'T', -11 '\365', -67 '\275', -1 '\377', -15 '\361', -9 '\367', 76 'L', -10 '\366', -55 '\311', -66 '\276', 47 '/', 4 '\004', 66 'B', 66 'B', -40 '\330', 33 '!', 11 '\v', 91 '[', 48 '0', 44 ',', -78 '\262', 41 ')', 86 'V', -84 '\254', 123 '{', -83 '\255', -12 '\364', 122 'z', -75 '\265', -83 '\255', -106 '\226', 91 '[', -81 '\257', -83 '\255', -74 '\266', -38 '\332', -10 '\366', -6 '\372', -85 '\253', -38 '\332', -43 '\325', -74 '\266', 86 'V', 109 'm', -75 '\265', -19 '\355', -43 '\325', 91 '['...}) >(gdb) p aBytes >$3 = uno::Sequence of length 190095 = {-119 '\211', 80 'P', 78 'N', 71 'G', 13 '\r', 10 '\n', 26 '\032', 10 '\n', 0 '\000', 0 '\000', 0 '\000', 13 '\r', 73 'I', 72 'H', 68 'D', 82 'R', 0 '\000', 0 '\000', > 7 '\a', -128 '\200', 0 '\000', 0 '\000', 4 '\004', 56 '8', 8 '\b', 6 '\006', 0 '\000', 0 '\000', 0 '\000', -24 '\350', -45 '\323', -63 '\301', 67 'C', 0 '\000', 0 '\000', 0 '\000', 4 '\004', 115 's', 66 'B', > 73 'I', 84 'T', 8 '\b', 8 '\b', 8 '\b', 8 '\b', 124 '|', 8 '\b', 100 'd', -120 '\210', 0 '\000', 0 '\000', 0 '\000', 25 '\031', 116 't', 69 'E', 88 'X', 116 't', 83 'S', 111 'o', 102 'f', 116 't', 119 'w', > 97 'a', 114 'r', 101 'e', 0 '\000', 103 'g', 110 'n', 111 'o', 109 'm', 101 'e', 45 '-', 115 's', 99 'c', 114 'r', 101 'e', 101 'e', 110 'n', 115 's', 104 'h', 111 'o', 116 't', -17 '\357', 3 '\003', > -65 '\277', 62 '>', 0 '\000', 0 '\000', 0 '\000', 40 '(', 116 't', 69 'E', 88 'X', 116 't', 67 'C', 114 'r', 101 'e', 97 'a', 116 't', 105 'i', 111 'o', 110 'n', 32 ' ', 84 'T', 105 'i', 109 'm', 101 'e', > 0 '\000', 109 'm', 101 'e', 114 'r', 46 '.', 32 ' ', 49 '1', 49 '1', 32 ' ', 110 'n', 111 'o', 118 'v', 46 '.', 32 ' ', 50 '2', 48 '0', 50 '2', 48 '0', 32 ' ', 49 '1', 51 '3', 58 ':', 53 '5', 57 '9', 58 ':', > 49 '1', 51 '3', -103 '\231', -93 '\243', 9 '\t', -78 '\262', 0 '\000', 0 '\000', 32 ' ', 0 '\000', 73 'I', 68 'D', 65 'A', 84 'T', 120 'x', -100 '\234', -20 '\354', -35 '\335', 121 'y', 124 '|', 84 'T', > -11 '\365', -67 '\275', -1 '\377', -15 '\361', -9 '\367', 76 'L', -10 '\366', -55 '\311', -66 '\276', 47 '/', 4 '\004', 66 'B', 66 'B', -40 '\330', 33 '!', 11 '\v', 91 '[', 48 '0', 44 ',', -78 '\262', > 41 ')', 86 'V', -84 '\254', 123 '{', -83 '\255', -12 '\364', 122 'z', -75 '\265', -83 '\255', -106 '\226', 91 '[', -81 '\257', -83 '\255', -74 '\266', -38 '\332', -10 '\366', -6 '\372', -85 '\253', > -38 '\332', -43 '\325', -74 '\266', 86 'V', 109 'm', -75 '\265', -19 '\355', -43 '\325', 91 '['...} >(gdb) frame 1 >#1 0x00007fd510206206 in connectivity::firebird::OPreparedStatement::setBytes (this=0x9dca910, nParameterIndex=1, xBytes=uno::Sequence of length 190095 = {...}) > at connectivity/source/drivers/firebird/PreparedStatement.cxx:927 >927 memset(pVar->sqldata + xBytes.getLength(), 0, pVar->sqllen - xBytes.getLength()); >(gdb) p xBytes.getLength() >$4 = 190095 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 138691
:
167864
| 167865