<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>147030</bug_id>
          
          <creation_ts>2006-09-10 01:32 0000</creation_ts>
          <short_desc>xfractint-20.4.03 segfaults as user but runs as root (permissions not set properly on /usr/share/xfractint/*)</short_desc>
          <delta_ts>2006-09-13 06:38:01 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>147158</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>mail@lutz-uwe-lehmann.de</reporter>
          <assigned_to>spock@gentoo.org</assigned_to>
          <cc>jakub@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>mail@lutz-uwe-lehmann.de</who>
            <bug_when>2006-09-10 01:32:33 0000</bug_when>
            <thetext>Just switched to gcc-4.1.1, so I had to upgrade to xfractint-20.4.03
FRACTDIR is set to /usr/share/xfractint. Running xfractint as root works properly, but trying the same as a user it segfaults:

Fractint found the following problems when parsing commands:
Can&apos;t find map=./maps/default.map, please check sstools.ini
Can&apos;t find ifsfile=./ifs/fractint.ifs, please check sstools.ini
Can&apos;t find parmfile=./pars/fractint.par, please check sstools.ini
Can&apos;t find lfile=./lsystem/fractint.l, please check sstools.ini
Can&apos;t find formulafile=./formulas/fractint.frm, please check sstools.ini

Press Escape to abort, any other key to continueSegmentation fault


As far as I can tell, it first tries to read user-specific files from ~ and then reads default values found in /usr/share/xfractint. But that won&apos;t work:

nx6110 xfractint # ls -la
total 655
drwxrwxrwx   8 root root    344 Sep 10 10:17 .
drwxr-xr-x 226 root root   6208 Sep  9 23:00 ..
-rw-r--r--   1 root root   3917 Sep 10 10:17 debugfla.doc
drw-r--r--   2 root root    176 Sep 10 10:17 extra
drw-r--r--   2 root root    424 Sep 10 10:17 formulas
-rw-r--r--   1 root root 613909 Sep 10 10:17 fractint.hlp
-rw-r--r--   1 root root  17535 Sep 10 10:17 fractsrc.doc
-rw-r--r--   1 root root  17114 Sep 10 10:17 hc.doc
drw-r--r--   2 root root     80 Sep 10 10:17 ifs
drw-r--r--   2 root root    136 Sep 10 10:17 lsystem
drw-r--r--   2 root root    816 Sep 10 10:17 maps
drw-r--r--   2 root root    424 Sep 10 10:17 pars
-rw-r--r--   1 root root    331 Sep 10 10:17 sstools.ini


chmod +x on all the dirs does the trick for me, so my question would be if that&apos;s broken by design. If not, please add the chmod to the ebuild :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-09-12 03:31:17 0000</bug_when>
            <thetext>Same here. On a side note:

QA Notice: pre-stripped files found:
/var/tmp/portage/xfractint-20.4.03/image/usr/X11R6/bin/xfractint

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spock@gentoo.org</who>
            <bug_when>2006-09-13 06:38:01 0000</bug_when>
            <thetext>Fixed in CVS. Thanks for reporting the problem.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>