Bug 2585

Summary: Frysk GUI crashes on Register Window
Product: frysk Reporter: Len DiMaggio <ldimaggi>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2004    
Attachments: strace file (w/o .settings file)
strace file (with empty .settings file)

Description Len DiMaggio 2006-04-18 14:18:52 UTC
Newbee question - WARNING: /root/.frysk/.settings not found. Will  be created on
program exit - Segmentation fault

I'm trying to build/run Frysk on RHEL4/U3 - it looks like it builds cleanly -
some tests report this error, though:

[root@stacks4 tests]# pwd
[root@stacks4 tests]# make check
make  check-TESTS
make[1]: Entering directory `/opt/frysk-src/frysk/build/frysk-gtk/tests'
PASS: frysk1497/JNICrash
FAIL: frysk1497/IterTest
FAIL: frysk1497/IterTest.gij
FAIL: frysk2333/TestGlibTimerGC
3 of 4 tests failed
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/opt/frysk-src/frysk/build/frysk-gtk/tests'
make: *** [check-am] Error 2

Anyway, when I try to run Frysk, these errors occur:

[root@stacks4 frysk]# ./build/frysk-gui/frysk/gui/FryskGui 
18-Apr-06 9:59:55 AM frysk.gui.Gui importPreferences
WARNING: /root/.frysk/.settings not found. Will be created on program exit

[root@stacks4 frysk]# touch /root/.frysk/.settings
[root@stacks4 frysk]# ./build/frysk-gui/frysk/gui/FryskGui 
18-Apr-06 10:01:25 AM frysk.gui.Gui importPreferences
SEVERE: /root/.frysk/.settings Invalid Format

Here's the output from strace - wait - it's 24K lines - let me see about how to
attach a file.
Comment 1 Len DiMaggio 2006-04-18 14:28:01 UTC
Created attachment 972 [details]
strace file (w/o .settings file)
Comment 2 Len DiMaggio 2006-04-18 14:28:34 UTC
Created attachment 973 [details]
strace file (with empty .settings file)
Comment 3 Andrew Cagney 2006-04-19 17:16:59 UTC
These are upstream bugs (GCC, Java-GNOME) fixed since RHEL 4 U3 was shipped:

FAIL: frysk1497/IterTest
FAIL: frysk1497/IterTest.gij
FAIL: frysk2333/TestGlibTimerGC

for details on the specific bugs see 1497, and 2333 in this bug database.

The downstream, RHEL 4 re-spin tracker is
and both GCC (to 4.1) and Java-GNOME will need to be updated.

I'll clone the start-up barf; I suspect it's a duplicate.
Comment 4 Phil Muldoon 2006-05-05 19:13:35 UTC
Renamed subject to be more topical.

This is caused by by Comment #3 as indicated by Andrew Cagney.

The register window uses some code that was illustrated in the test code shown
in $3. This code fails on RHEL 4 with a 4.0.1 compiler. On a compiler respin to
4.1 this should (hopefully) be fixed.

The .settings file message is a red herring as that is the last message that the
users sees before the crash, though it does not crash on .settings load.