Bug 17648 - dispcalGUI-1.2.7.0-8.mga5 crashing with segfault
Summary: dispcalGUI-1.2.7.0-8.mga5 crashing with segfault
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: advisory MGA5-64-OK MGA5-32-OK
Keywords: validated_update
: 17803 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-30 10:59 CET by Denis Robel
Modified: 2016-03-02 19:29 CET (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Denis Robel 2016-01-30 10:59:30 CET
dispcalGUI
dispcalGUI.py 1.2.7.0 2013-03-03T20:23:10.980604Z
Linux #1 SMP Wed Jan 20 17:05:51 UTC 2016 (Mageia 5 Official)
Python 2.7.9 (default, Dec 14 2014, 10:12:16) 
[GCC 4.9.2]
wxPython 3.0.2.0 gtk2 (classic)
Starte...
Anzeigegeräte- und Messgeräte-Erkennung...
/usr/bin
Argyll CMS 1.6.3
...ok.
Ãberprüfe Grafikkarten-Gammatabellen-Zugriff auf Anzeigegerät 1...
device id 'xrandr-CMN' does not exist
...ok.
Initialisiere GUI...

Fatal error: Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/dispcalGUI/dispcalGUI.py", line 8891, in main
    app = MainApp(redirect=False)  # Don't redirect stdin/stdout
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8628, in __init__
    self._BootstrapApp()
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/dispcalGUI/dispcalGUI.py", line 8718, in OnInit
    self.frame = MainFrame()
  File "/usr/lib64/python2.7/site-packages/dispcalGUI/dispcalGUI.py", line 834, in __init__
    self.init_menus()
  File "/usr/lib64/python2.7/site-packages/dispcalGUI/dispcalGUI.py", line 1487, in init_menus
    "US")].getBitmap())
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 12543, in SetBitmap
    return _core_.MenuItem_SetBitmap(*args, **kwargs)
PyAssertionError: C++ assertion "Assert failure" failed at ./src/gtk/menu.cpp(724) in SetBitmap(): only normal menu items can have bitmaps
Speicherzugriffsfehler


Reproducible: 

Steps to Reproduce:
Comment 1 Rémi Verschelde 2016-02-01 14:24:05 CET
Assigning to maintainer, with the general packagers bugs ML in CC as someone else might want to have a look at this (Nicolas being arguably busy with Plasma 5 already).

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

Comment 2 Rémi Verschelde 2016-02-22 07:34:29 CET
*** Bug 17803 has been marked as a duplicate of this bug. ***

CC: (none) => hhielscher

Comment 3 Rémi Verschelde 2016-02-22 07:35:43 CET
Another issue that makes DispcalGUI unusable from bug 17803 comment 0:


Description of problem:
$ dispcalGUI                                                         
/usr/lib64/python2.7/site-packages/dispcalGUI/colord.py:10: PyGIWarning: Colord was imported without specifying a version first. Use gi.require_version('Colord', '1.0') before import to ensure that the right version gets loaded.   
  from gi.repository import Colord                                           
Traceback (most recent call last):                                           
  File "/bin/dispcalGUI", line 15, in <module>                               
    from dispcalGUI.dispcalGUI import main                                   
  File "/usr/lib64/python2.7/site-packages/dispcalGUI/dispcalGUI.py", line 150, in <module>                                                               
    from wxProfileInfo import ProfileInfoFrame                               
  File "/usr/lib64/python2.7/site-packages/dispcalGUI/wxProfileInfo.py", line 19, in <module>                                                             
    from wxenhancedplot import _Numeric                                      
  File "/usr/lib64/python2.7/site-packages/dispcalGUI/wxenhancedplot.py", line 132, in <module>                                                           
    raise ImportError, "Numeric,numarray or NumPy not found. \n" + msg       
ImportError: Numeric,numarray or NumPy not found.                            
                                                                             
            This module requires the Numeric/numarray or NumPy module,       
            which could not be imported.  It probably is not installed       
            (it's not part of the standard Python distribution). See the     
            Numeric Python site (http://numpy.scipy.org) for information on  
            downloading source or binaries. 

Version-Release number of selected component (if applicable):
dispcalGUI-1.2.7.0-9.mga6

How reproducible: always

NumPy is installed:
$ rpm -qa|grep numpy
python-numpy-1.10.4-1.mga6

Upstream is at Version 3.1:
svn://svn.code.sf.net/p/dispcalgui/code/trunk
Comment 4 David GEIGER 2016-02-24 09:27:30 CET
Ok Thanks for your report!

So, now should be fixed with new upstream package displaycal-3.1.0.0-1.mga5 in Core/Updates_testing repo.


For info:
new package displaycal replaces old package dispcalGUI, this is the same package but upstream has just changed the name.

Would it be possible to test if all seems good?

CC: (none) => geiger.david68210

Comment 5 Denis Robel 2016-02-26 22:48:52 CET
Thank you very much!!! I tested the new package today with my color hugh and all is going well.
Comment 6 David GEIGER 2016-02-27 11:57:31 CET
Then Assigning to QA,


Advisory:
=============================

Many users have reported that dispcalGUI is no more usable on mageia 5,
it doesn't starts and runs due to segfault issue.
The current version 1.2.7.0 is also a little old and unmaintained upstream.
This updates dispcalGUI (now displaycal) to a version which is supported upstream.


More info:

Now displaycal replaces dispcalGUI, this is the same package, upstream
has just changed the name.


Packages in 5/core/updates_testing:
========================
displaycal-3.1.0.0-1.mga5.i586.rpm
displaycal-3.1.0.0-1.mga5.x86_64.rpm

Source RPM: 
========================
displaycal-3.1.0.0-1.mga5.src.rpm

Assignee: mageia => qa-bugs

Comment 7 Len Lawrence 2016-02-27 18:14:31 CET
mga5  x86_64  Mate

Installed dispcalGUI and launched it.  It got as far as displaying the message "initializing GUI" then crashed.
Installed the update candidate.
Ran displaycal in a terminal and the GUI launched immediately.  It showed the model number for my Iiyama monitor and its 2560x1440 resolution.  Looks a very useful tool for hardware testers and reviewers.

CC: (none) => tarazed25

Len Lawrence 2016-02-27 18:15:11 CET

Whiteboard: (none) => MGA5-64-OK

Comment 8 Len Lawrence 2016-02-27 20:06:08 CET
This also works fine on an ancient 32bit laptop with Radeon graphics.
Validating.  Would some kindly soul please push it to 5 Updates.
Len Lawrence 2016-02-27 20:06:41 CET

Keywords: (none) => validated_update
Whiteboard: MGA5-64-OK => MGA5-64-OK MGA5-32-OK
CC: (none) => sysadmin-bugs

Comment 9 claire robinson 2016-02-27 21:39:27 CET
Confirmed that it properly provides/obsoletes dispcalGUI

displaycal is proposed as an update for dispcalGUI in MageiaUpdate

and

# rpm -q dispcalGUI
package dispcalGUI is not installed
# rpm -q displaycal
displaycal-3.1.0.0-1.mga5
Comment 10 claire robinson 2016-02-27 21:40:08 CET
Advisory uploaded.

Whiteboard: MGA5-64-OK MGA5-32-OK => advisory MGA5-64-OK MGA5-32-OK

Comment 11 Mageia Robot 2016-03-02 19:29:31 CET
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGAA-2016-0033.html

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


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