Bug 107652 - Fatal Error from rt-click on table in Relation Design window
Summary: Fatal Error from rt-click on table in Relation Design window
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All Linux (All)
: medium normal
Assignee: Julien Nabet
URL:
Whiteboard: target:5.4.0
Keywords: bibisected, regression
Depends on:
Blocks:
 
Reported: 2017-05-05 22:44 UTC by Terrence Enger
Modified: 2017-05-07 12:56 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
example .odb, embedded Firebird (3.02 KB, application/vnd.oasis.opendocument.database)
2017-05-05 22:44 UTC, Terrence Enger
Details
details of bibisect (2.27 KB, text/plain)
2017-05-05 22:51 UTC, Terrence Enger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Terrence Enger 2017-05-05 22:44:10 UTC
Created attachment 133096 [details]
example .odb, embedded Firebird

STR

(1) Download and open the attached embedded_fb.odb.

(2) Take menu options Tools > "Relationships...".  Program presents
    window "Relation Design".

(3) In the main part of the window, right-click on Table2.  Program
    presents msgbox "LibreOfficeDev 5.4 - Fatal Error" with details
    (lines rewrapped here)

        file:///home/terry/lo_hacking/bibisect/lo-linux-dbgutil-daily/opt/
        program/../share/config/soffice.cfg/dbaccess/ui/jointablemenu.ui

    Terminal output includes the similar message (all one line,
    rewrapped here)

        warn:vcl.layout:6088:1:vcl/source/window/builder.cxx:217: Unable to
        read .ui file:
        file:///home/terry/lo_hacking/bibisect/lo-linux-dbgutil-daily/
        opt/program/../share/config/soffice.cfg/dbaccess/ui/
        jointablemenu.ui

(4) Click <OK>.  Program exits.

This observations is from daily Linux dbgutil bibisect repository
version 2017-05-05 running on debian-stretch.
Comment 1 Terrence Enger 2017-05-05 22:51:29 UTC
Created attachment 133097 [details]
details of bibisect

Working on debian-stretch with daily Linux bibisect repository, I find ...

          commit    date        s-h
          --------  ----------  --------
    good  b7f55fa8  2017-04-18  2f5baab8
    bad   2bb2885d  2017-04-19  e175f9f4

I am setting keywords bibisected, regression.
Comment 2 Xisco Faulí 2017-05-05 23:10:02 UTC
When I try Tools - Relationships, I get the error, the connection can not be established.
However, looking at the error and seeing that the dialog was recently converted to .ui by Caolán in 057cde3f8aedc48401bfe864a5b03ef29dd8b641, I take the freedom to add him as CC
Comment 3 Julien Nabet 2017-05-06 08:28:10 UTC
Patch submitted on gerrit here: https://gerrit.libreoffice.org/#/c/37314/
Comment 4 Commit Notification 2017-05-06 09:36:05 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=3d4e1d13cf072c9aadb18cb848d415046cf8fede

tdf#107652: Crash relation Design window

It will be available in 5.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Terrence Enger 2017-05-07 12:52:35 UTC
The crash is gone in daily Linux dbgutil repository version
2017-05-07.

Thank you, Julien.  I am setting status VERIFIED FIXED.
Comment 6 Julien Nabet 2017-05-07 12:56:37 UTC
Terrence: no pb :-)

Xisco: did you enable Experimental features? Indeed, Firebird is still experimental in LO.