Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340883 - x11-apps/grandr-0.1: produces a segmentation fault when trying to select a different screen.
Summary: x11-apps/grandr-0.1: produces a segmentation fault when trying to select a di...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 19:23 UTC by Erik Frøseth
Modified: 2012-12-25 13:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
grandr error output (grandr-error,327 bytes, text/plain)
2010-10-13 19:24 UTC, Erik Frøseth
Details
patch to fix the problem (0.1-fix-combo-invalid-iterator.patch,485 bytes, patch)
2010-10-13 19:25 UTC, Erik Frøseth
Details | Diff
A working ebuild for grandr-0.1 (grandr-0.1.ebuild,788 bytes, text/plain)
2010-10-13 19:26 UTC, Erik Frøseth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Frøseth 2010-10-13 19:23:58 UTC
When connecting a screen to the HDMI-output of my ATI Mobility Radeon and trying to select that screen from grandr, it produces a segmentation fault. See the attached file for terminal output.

Reproducible: Always

Steps to Reproduce:
1. Connect a screen to the HDMI-output
2. Open up grandr-0.1
3. Try to select a different screen than the default

Actual Results:  
Program crashes, prints out "segmentation fault"

Expected Results:  
Shown up the selected screen, and not crashed.

After searching on the internet, I found a patch to fix the problem. I've tested it and it takes care of the problem. The patch is attached, as well as a working ebuild wich patches the source.
Comment 1 Erik Frøseth 2010-10-13 19:24:58 UTC
Created attachment 250483 [details]
grandr error output
Comment 2 Erik Frøseth 2010-10-13 19:25:32 UTC
Created attachment 250485 [details, diff]
patch to fix the problem
Comment 3 Erik Frøseth 2010-10-13 19:26:53 UTC
Created attachment 250489 [details]
A working ebuild for grandr-0.1
Comment 4 Elijah "Armageddon" El Lazkani (amd64 AT) 2012-05-11 17:13:36 UTC
reproduceable here and the patch fixes it
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-05-31 11:30:50 UTC
Are you really used to that package? It's unmaintained for years, and we were considering removing it.
Comment 6 Pacho Ramos gentoo-dev 2012-12-25 13:43:14 UTC
dropped