Bug 18689 - Packaged Fritzing crashes sometimes, new version upstream do not
Summary: Packaged Fritzing crashes sometimes, new version upstream do not
Status: ASSIGNED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal critical
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-11 16:14 CEST by Morgan Leijström
Modified: 2018-10-22 15:51 CEST (History)
6 users (show)

See Also:
Source RPM: fritzing-0.9.2-0.beta20150403.8.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Morgan Leijström 2016-06-11 16:14:58 CEST
I hope we can update it before mga6 release
I can verify of someone package it.

I have using the currently packaged fritzing-0.9.2-0.beta20150403.8.mga6.src.rpm  64 bit.

It crashes sometimes when editing schematic.
(possibly other places too, did not get that far...)

Then I uninstalled it and downloaded the new version 0.9.3b 
from http://fritzing.org/download/ ; simply packed it up and run it.

Works great :)

Except from the apparent bug is fixed, there are some new features.

http://blog.fritzing.org/2016/06/03/new-fritzing-release-0-9-3b/


I set it to critical as it crashes and is repeatable
Comment 1 Morgan Leijström 2016-06-11 16:21:47 CEST
@David i see you touched it last
i also see alexl have packaged it before

CC: (none) => luigiwalser

Comment 2 David Walser 2016-06-11 17:47:58 CEST
This is Alex's package.  I just touched it because I updated quazip once.

Assignee: bugsquad => loginov_alex
CC: luigiwalser => (none)

Comment 3 Morgan Leijström 2016-07-11 17:45:43 CEST
ping @Alex:
This is a leaf package so if you have the time...  :)
Comment 4 Michael Martins 2016-10-17 02:27:23 CEST
"Sorry, we have a problem with the swapping mechanism.
Fritzing still works, but you won't be able to change parts properties."

fritzing-0.8.7-0.beta20140124.4.mga5

http://www.zimagez.com/zimage/capturadetela2016-10-1622-23-55.php

Linux michael-pc 4.4.16-desktop-1.mga5 #1 SMP Tue Jul 26 09:23:40 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
task-xfce-minimal-4.12-1.mga5

CC: (none) => michaelfm21

Alex Loginov 2017-10-02 01:10:14 CEST

Assignee: loginov_alex => bugsquad
CC: (none) => loginov_alex

Comment 5 Marja Van Waes 2017-10-02 21:24:00 CEST
Assigning to all packagers collectively, since there is currently no registered maintainer for this package.

CC: (none) => marja11
Assignee: bugsquad => pkg-bugs

Comment 6 Vincent beuselinck 2018-03-13 21:42:24 CET
Same bug on MAGEIA6 and fritzing 0.9.2 mga x64:

Errors are : 
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: 
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: 
QSqlDatabasePrivate::removeDatabase: connection 'qt_sql_default_connection' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'qt_sql_default_connection', old connection removed.
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers: 
QSqlDatabasePrivate::removeDatabase: connection 'qt_sql_default_connection' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'qt_sql_default_connection', old connection removed.

In use :
- you can't add wire
- two components on the same line crashes with : Segment Fault (core dumped)

0.9.3 tar.bz2 run fine 

If nobody does it, I will look if I can modify src.rpm (not sure : my last packaging was twelve years ago)

CC: (none) => vincent

Comment 7 Morgan Leijström 2018-10-16 23:59:12 CEST
It would be nice to have this fixed for mga6 and maybe mga7.

This may be the last version of this program:
http://forum.fritzing.org/t/is-fritzing-dead-no-updates-since-june-2016/6095
- but it is really useful for beginners, hobbyists and schools many more years even if it do not get more updates than 0.9.3b.

Whiteboard: (none) => MGA6TOO

Comment 8 zezinho 2018-10-17 10:20:42 CEST
I will try to package this 0.9.3b version. But it needs a lot of build patches...

Assignee: pkg-bugs => lists.jjorge
CC: (none) => lists.jjorge
Status: NEW => ASSIGNED

Comment 9 zezinho 2018-10-17 14:13:09 CEST
Pushed to Cauldron, it needs a few hours to be built as we have a big todo list.

Whiteboard: MGA6TOO => (none)
Version: Cauldron => 6

Comment 10 zezinho 2018-10-17 15:13:18 CEST
Ready to test in MGA6.

RPMS:
fritzing-0.9.3b-0.git624187517fc89062a4e83d6c08d306863c0d4ec7.mga6.src.rpm

fritzing-0.9.3b-0.git624187517fc89062a4e83d6c08d306863c0d4ec7.mga6.x86_64.rpm

Suggested advisory :

The version is fritzing in MGA6 crashed often and was outdated. As the latest release is from 2016, we have updated both code and parts to Git status as of Oct 17 2018.

Assignee: lists.jjorge => qa-bugs

Comment 11 zezinho 2018-10-17 23:24:02 CEST
Release was too long, it is now :

fritzing-0.9.3b-1.git20181017*rpm
Comment 12 Morgan Leijström 2018-10-18 23:43:06 CEST
Thank you for working on this :)

Testing on mga6 x86_64

There seem to be a problem of location of the part bins:

On initial launch it display a dialog "Cannot read file /home/morgan/bins/core.fzb: No such file or directory."

And that is true, I dont have ~/bins/


After clicking OK in that dialog, there is a new dialog:

  "Fritzing cannot load the parts bin"
                                [ OK ]

Then it loads OK.
I noticed the parts bin seem to work: when i click a bin group the content is loaded.

Then i closed the program and started again.
Again the dialog about ~/bin

Then a dialog listing 24 parts it could not find.

OK that and main window shows up. but now clicking a parts bin there are errors "unable to find" the items.
Comment 13 zezinho 2018-10-19 18:24:06 CEST
(In reply to Morgan Leijström from comment #12)
> On initial launch it display a dialog "Cannot read file
> /home/morgan/bins/core.fzb: No such file or directory."

I could launch it once without any problem. Now when I try again, I can get this strange message. So I think it is because personal config files are created. Maybe upstream may explain?
Comment 14 Herman Viaene 2018-10-20 11:27:08 CEST
MGA6-32 on IBM Thinkpad R50e MATE
No installation issues.
Launching it gives me the same dialogue as in Comment 12.
At the CLI I get:
$ fritzing 
QIODevice::read (QFile, "/home/tester6/bins/core.fzb"): device not open
QIODevice::read (QFile, "/home/tester6/bins/contribParts.fzb"): device not open
QIODevice::read (QFile, "/home/tester6/bins/core.fzb"): device not open
QIODevice::read (QFile, "/home/tester6/bins/contribParts.fzb"): device not open
 
and the parts list in fritzing is empty, and of course there is no bins directory.

CC: (none) => herman.viaene

Comment 15 Morgan Leijström 2018-10-20 21:01:19 CEST
The binary from upstream website do not have this issue.
It displays itself as 0.9.3 (b04.19)
Is this compiled from same sources?
Comment 16 Morgan Leijström 2018-10-20 21:02:58 CEST
... and addition the upstream version downloads updated components, which are used next start.
Comment 17 Herman Viaene 2018-10-22 15:51:34 CEST
Found that the files not found as in Comment 14, are actually created in the pwd where fritzling happens to be opened.
In my case, the pwd was /home/tester6/Documenten and I find the files in /home/tester6/Documenten/Fritzing/bins and /home/tester6/Documenten/Fritzin/parts.

Seems odd to me that it looks in the wrong place for the files it created.

Note You need to log in before you can comment on or make changes to this bug.