[Libreoffice-bugs] [Bug 127548] New: Assertion when creating table in Design

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 14 17:12:34 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=127548

            Bug ID: 127548
           Summary: Assertion when creating table in Design
           Product: LibreOffice
           Version: 6.4.0.0.alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: serval2412 at yahoo.fr

Description:
On pc Debian x86-64 with master sources updated today, I got an assertion
during table creation in Design part.

Steps to Reproduce:
1. Create a brand new embedded hsqldb file
2. Go to Table panel
3. Click on Design part to launch table creation
4. Type "ID" in "Field Name"
5. Try to fill "Field Type"

Actual Results:
Assertion
with:
warn:vcl.layout:6901:6901:include/vcl/builder.hxx:444: .ui widget
"DefaultValue" needs to correspond to vcl type 14FormattedField
soffice.bin: /home/julien/lo/libreoffice/include/vcl/builder.hxx:446: T*
VclBuilder::get(const rtl::OString&) [with T = FormattedField]: Assertion `!w
|| dynamic_cast<T*>(w)' failed.

Thread 1 "soffice.bin" received signal SIGABRT, Aborted.
__GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50      ../sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce
type.
(gdb) bt
#0  0x00007ffff7afa7bb in __GI_raise (sig=sig at entry=6) at
../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff7ae5535 in __GI_abort () at abort.c:79
#2  0x00007ffff7ae540f in __assert_fail_base
    (fmt=0x7ffff7c47ee0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=0x7ffff135024c "!w || dynamic_cast<T*>(w)", file=0x7ffff1350218
"/home/julien/lo/libreoffice/include/vcl/builder.hxx", line=446,
function=<optimized out>) at assert.c:92
#3  0x00007ffff7af3102 in __GI___assert_fail
    (assertion=0x7ffff135024c "!w || dynamic_cast<T*>(w)", file=0x7ffff1350218
"/home/julien/lo/libreoffice/include/vcl/builder.hxx", line=446,
function=0x7ffff1350740 "T* VclBuilder::get(const rtl::OString&) [with T =
FormattedField]") at assert.c:101
#4  0x00007ffff0be428e in VclBuilder::get<FormattedField>(rtl::OString const&)
(this=0x555559029a80, sID="DefaultValue") at
/home/julien/lo/libreoffice/include/vcl/builder.hxx:446
#5  0x00007ffff0bda378 in SalInstanceBuilder::weld_spin_button(rtl::OString
const&, bool) (this=0x5555590297a0, id="DefaultValue", bTakeOwnership=false)
    at /home/julien/lo/libreoffice/vcl/source/app/salvtables.cxx:5718
#6  0x00007fffdca99a9e in
dbaui::OFieldDescControl::ActivateAggregate(dbaui::EControlType)
(this=0x555559028e80, eType=dbaui::tpDefault)
    at
/home/julien/lo/libreoffice/dbaccess/source/ui/control/FieldDescControl.cxx:424
#7  0x00007fffdcd1f817 in
dbaui::OTableFieldControl::ActivateAggregate(dbaui::EControlType)
(this=0x555559028e80, eType=dbaui::tpDefault)
    at
/home/julien/lo/libreoffice/dbaccess/source/ui/tabledesign/TableFieldControl.cxx:82
#8  0x00007fffdca9ce91 in
dbaui::OFieldDescControl::DisplayData(dbaui::OFieldDescription*)
(this=0x555559028e80, pFieldDescr=0x555558f91d40)
    at
/home/julien/lo/libreoffice/dbaccess/source/ui/control/FieldDescControl.cxx:785
#9  0x00007fffdccfd800 in
dbaui::OFieldDescGenWin::DisplayData(dbaui::OFieldDescription*)
(this=0x5555590284a0, pFieldDescr=0x555558f91d40)
    at
/home/julien/lo/libreoffice/dbaccess/source/ui/tabledesign/FieldDescGenWin.cxx:77
#10 0x00007fffdcd2090e in
dbaui::OTableFieldDescWin::DisplayData(dbaui::OFieldDescription*)
(this=0x555558cadc20, pFieldDescr=0x555558f91d40)
    at
/home/julien/lo/libreoffice/dbaccess/source/ui/tabledesign/TableFieldDescWin.cxx:98
#11 0x00007fffdcd2b08f in dbaui::OTableEditorCtrl::CellModified(long, unsigned
short) (this=0x5555591f7f00, nRow=0, nColId=1) at
/home/julien/lo/libreoffice/dbaccess/source/ui/tabledesign/TEditControl.cxx:663
#12 0x00007fffdcd2b5fe in dbaui::OTableEditorCtrl::CellModified()
(this=0x5555591f7f00) at
/home/julien/lo/libreoffice/dbaccess/source/ui/tabledesign/TEditControl.cxx:699
#13 0x00007ffff29096ac in svt::EditBrowseBox::CellModifiedHdl(void*)
(this=0x5555591f7f00) at
/home/julien/lo/libreoffice/svtools/source/brwbox/editbrowsebox.cxx:1057
#14 0x00007ffff2909671 in svt::EditBrowseBox::LinkStubCellModifiedHdl(void*,
void*) (instance=0x5555591f7f00, data=0x0) at
/home/julien/lo/libreoffice/svtools/source/brwbox/editbrowsebox.cxx:1054


Expected Results:
No assertion


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190914/508e6664/attachment-0001.html>


More information about the Libreoffice-bugs mailing list