Bug 20792 - Isodumper opens with small window with two buttons, "Refresh" and "Close. Clicking "Close" causes a segfault (was: etcher, tool to write an iso to a USB stick)
Summary: Isodumper opens with small window with two buttons, "Refresh" and "Close. Cl...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: papoteur
QA Contact:
URL: https://etcher.io/
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2017-05-06 16:18 CEST by Stig-Ørjan Smelror
Modified: 2017-08-12 23:05 CEST (History)
3 users (show)

See Also:
Source RPM: isodumper
CVE:
Status comment:


Attachments
Screenshot of isodumper (14.70 KB, image/jpeg)
2017-05-07 13:06 CEST, Stig-Ørjan Smelror
Details

Description Stig-Ørjan Smelror 2017-05-06 16:18:03 CEST
I've used Etcher for a while and it works really well. It is opensource and in active development. Latest version is 1.0.0-rc5.

Used it to write a lot of distros to my USB sticks. It's really slick.

Cheers.
Comment 1 Marja Van Waes 2017-05-07 00:01:17 CEST
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might, if there are no license or other legal issues, want to integrate it to the distribution and maintain it for bug and security fixes.

(In reply to Stig-Ørjan Smelror from comment #0)
> I've used Etcher for a while and it works really well. It is opensource and
> in active development. Latest version is 1.0.0-rc5.
> 
> Used it to write a lot of distros to my USB sticks. It's really slick.
> 

I fail to see what Etcher can do, that our Isodumper can't

http://madb.mageia.org/package/show/name/isodumper

Can you explain?

Assignee: bugsquad => pkg-bugs
Keywords: (none) => NEEDINFO
Severity: normal => enhancement
Source RPM: (none) => etcher
Summary: Suggestion for inclusion: Etcher => etcher, tool to write an iso to a USB stick
CC: (none) => marja11

Comment 2 Stig-Ørjan Smelror 2017-05-07 08:03:54 CEST
Good morning.

I guess it does nothing more than isodumper.

However, when I just installed isodumper and ran it, I was presented with a small window with two buttons. Refresh and Close. Clicking Close caused it to dump its core.

$ isodumper
<_M_> [ui] YPath.cc:49 YPath(): Given filename: libyui-qt.so.7
<_M_> [ui] YSettings.cc:73 progDir(): progDir: ""
<_M_> [ui] YPath.cc:65 YPath(): Preferring subdir:
<_M_> [ui] YPath.cc:66 YPath(): Subdir given with filename:
<_M_> [ui] YPath.cc:67 YPath(): Looking for: libyui-qt.so.7
<_M_> [ui] YPath.cc:138 lsDir(): Looking in /usr/lib64/yui
<_M_> [ui] YPath.cc:118 YPath(): Found libyui-qt.so.7 in /usr/lib64/yui
<_M_> [ui] YPath.cc:49 YPath(): Given filename: libyui-gtk.so.7
<_M_> [ui] YSettings.cc:73 progDir(): progDir: ""
<_M_> [ui] YPath.cc:65 YPath(): Preferring subdir:
<_M_> [ui] YPath.cc:66 YPath(): Subdir given with filename:
<_M_> [ui] YPath.cc:67 YPath(): Looking for: libyui-gtk.so.7
<_M_> [ui] YPath.cc:138 lsDir(): Looking in /usr/lib64/yui
<_M_> [ui] YPath.cc:121 YPath(): Could NOT find libyui-gtk.so.7 by looking recur
sive inside /usr/lib64/yui
<_M_> [ui] YPath.cc:49 YPath(): Given filename: libyui-qt.so.7
<_M_> [ui] YSettings.cc:73 progDir(): progDir: ""
<_M_> [ui] YPath.cc:65 YPath(): Preferring subdir:
<_M_> [ui] YPath.cc:66 YPath(): Subdir given with filename:
<_M_> [ui] YPath.cc:67 YPath(): Looking for: libyui-qt.so.7
<_M_> [ui] YPath.cc:138 lsDir(): Looking in /usr/lib64/yui
<_M_> [ui] YPath.cc:118 YPath(): Found libyui-qt.so.7 in /usr/lib64/yui
<_M_> [ui] YUI.cc:76 YUI(): This is libyui 3.2.7
<_M_> [ui] YUI.cc:77 YUI(): Creating UI without threads
<_M_> [qt-ui] YQUI.cc:100 YQUI(): This is libyui-qt 2.46.26
<_M_> [ui] YUI.cc:230 topmostConstructorHasFinished(): Running without threads
<_M_> [qt-styler] QY2Styler.cc:97 loadStyleSheet(): Couldn't open style sheet "/
usr/share/libyui/theme/current/wizard/style.qss"
<_M_> [qt-ui] YQUI.cc:298 processCommandLineArgs(): Qt argument: python3
<_M_> [qt-ui] YQUI.cc:298 processCommandLineArgs(): Qt argument: /usr/lib/isodum
per/isodumper.py
<_M_> [qt-ui] YQUI.cc:298 processCommandLineArgs(): Qt argument: stig
<_M_> [qt-ui] YQUI.cc:441 calcDefaultSize(): Default size: 1344 x 718
<ERR> [qt-ui] YQUI.cc:264 initUI(): Forcing /libQtGui.so.5 open failed
<_M_> [qt-ui] YQApplication.cc:133 loadPredefinedQtTranslations(): Selected lang
uage: en_US
<WRN> [qt-ui] YQApplication.cc:137 loadPredefinedQtTranslations(): Qt locale dir
ectory not set - no translations for predefined Qt dialogs
<_M_> [qt-ui] YQUI.cc:275 initUI(): YQUI initialized. Thread ID: 0x0x7fa78324270
0
<_M_> [ui] YPath.cc:49 YPath(): Given filename: libyui-qt.so.7
<_M_> [ui] YSettings.cc:73 progDir(): progDir: ""
<_M_> [ui] YPath.cc:65 YPath(): Preferring subdir:
<_M_> [ui] YPath.cc:66 YPath(): Subdir given with filename:
<_M_> [ui] YPath.cc:67 YPath(): Looking for: libyui-qt.so.7
<_M_> [ui] YPath.cc:138 lsDir(): Looking in /usr/lib64/yui
<_M_> [ui] YPath.cc:118 YPath(): Found libyui-qt.so.7 in /usr/lib64/yui
<_M_> [ui] YPath.cc:49 YPath(): Given filename: libyui-gtk.so.7
<_M_> [ui] YSettings.cc:73 progDir(): progDir: ""
<_M_> [ui] YPath.cc:65 YPath(): Preferring subdir:
<_M_> [ui] YPath.cc:66 YPath(): Subdir given with filename:
<_M_> [ui] YPath.cc:67 YPath(): Looking for: libyui-gtk.so.7
<_M_> [ui] YPath.cc:138 lsDir(): Looking in /usr/lib64/yui
<_M_> [ui] YPath.cc:121 YPath(): Could NOT find libyui-gtk.so.7 by looking recursive inside /usr/lib64/yui
<_M_> [ui] YPath.cc:49 YPath(): Given filename: libyui-mga-qt.so.7
<_M_> [ui] YSettings.cc:73 progDir(): progDir: ""
<_M_> [ui] YPath.cc:65 YPath(): Preferring subdir:
<_M_> [ui] YPath.cc:66 YPath(): Subdir given with filename:
<_M_> [ui] YPath.cc:67 YPath(): Looking for: libyui-mga-qt.so.7
<_M_> [ui] YPath.cc:138 lsDir(): Looking in /usr/lib64/yui
<_M_> [ui] YPath.cc:118 YPath(): Found libyui-mga-qt.so.7 in /usr/lib64/yui
<_M_> [ew] YExternalWidgets.cc:37 YExternalWidgets(): Creating Libyui External Widgets object
/usr/libexec/isodumper: line 16: 28724 Segmentation fault      (core dumped) python3 $DIR/isodumper.py $1


OTOH, Etcher looks great, it works, has never crashed on me ;)
Comment 3 Marja Van Waes 2017-05-07 11:14:03 CEST
(In reply to Stig-Ørjan Smelror from comment #2)
> Good morning.
> 
> I guess it does nothing more than isodumper.
> 
> However, when I just installed isodumper and ran it, I was presented with a
> small window with two buttons. Refresh and Close. 

Can you add a screenshot of that small window with two buttons?
If there were *only* two buttons, then it didn't come up as it should have.

> Clicking Close caused it to dump its core.
> 


<snip> 

> /usr/libexec/isodumper: line 16: 28724 Segmentation fault      (core dumped)
> python3 $DIR/isodumper.py $1
> 
> 
> OTOH, Etcher looks great, it works, has never crashed on me ;)

Yeah, but isodumper is maintained, has Mageia as upstream and is integrated in manatools (the libyui port of MCC)... I think it is better to fix isodumper.

Note that it starts fine here, with a multi-button screen, and doesn't segfault. I tried with XFCE as DE (desktop environment) and started it in several languages.

What is _very_ weird, is that when I start it in Bokmål, with  "LANGUAGE=nb isodumper" that I get the screen in English, even if the Bokmål translation exists http://gitweb.mageia.org/software/isodumper/tree/po/nb.po

Swedish ("LANGUAGE=sv isodumper") gives a good Swedish isodumper screen.

Which DE do you use, and what is the language / spelling standard of your system?

Assigning this report to the isodumper maintainer, because fixing existing maintained packages has precedence over importing new ones with the same features.

I intend to open a new Etcher package request for you, Stig-Ørjan, if the isodumper issue you hit doesn't get solved to your liking.

Severity: enhancement => normal
CC: (none) => anaselli
Summary: etcher, tool to write an iso to a USB stick => Isodumper opens with small window with two buttons, "Refresh" and "Close. Clicking "Close" causes a segfault (was: etcher, tool to write an iso to a USB stick)
Source RPM: etcher => isodumper
Component: New RPM package request => RPM Packages
Assignee: pkg-bugs => yves.brungard_mageia

Marja Van Waes 2017-05-07 11:15:53 CEST

CC: (none) => mageiatools

Comment 4 Stig-Ørjan Smelror 2017-05-07 13:06:59 CEST
Created attachment 9274 [details]
Screenshot of isodumper

Screenshot as requested
Comment 5 Stig-Ørjan Smelror 2017-05-07 13:09:02 CEST
Hi.

I use en_US with Openbox. Started isodumper from the command line and saw the coredump.
Comment 6 papoteur 2017-05-07 15:01:27 CEST
The window is normal, when no USB device or Flash memory isn't detected.
I will deal with the crash.
New language is not yet released. It will be included in the next release.
Comment 7 Angelo Naselli 2017-05-07 15:40:39 CEST
<_M_> [ui] YUI.cc:77 YUI(): Creating UI without threads
<_M_> [qt-ui] YQUI.cc:100 YQUI(): This is libyui-qt 2.46.26
Seem to say you're using the QT plugin and  it seems to be a yui-qt problem that can be fixed on code as suggested here
https://github.com/libyui/libyui-qt/issues/41#issuecomment-264709280
Comment 8 Stig-Ørjan Smelror 2017-05-07 16:40:12 CEST
(In reply to papoteur from comment #6)
> The window is normal, when no USB device or Flash memory isn't detected.
> I will deal with the crash.
> New language is not yet released. It will be included in the next release.

I expected as much, but then again, it shouldn't segfault.
Comment 9 Mageia Robot 2017-05-08 08:14:22 CEST
commit 434506e668c839c1efecd578c4245363cd8ab6e9
Author: Papoteur <papoteur@...>
Date:   Sun May 7 16:07:09 2017 +0200

    Exit properly on Cancel in nodev dialog (mga#20792)
---
 Commit Link:
   http://gitweb.mageia.org/software/isodumper/commit/?id=434506e668c839c1efecd578c4245363cd8ab6e9
Comment 10 Stig-Ørjan Smelror 2017-08-12 23:05:30 CEST
Issue fixed.

Resolution: (none) => FIXED
Status: NEW => RESOLVED


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