Closed Bug 123958 Opened 24 years ago Closed 17 years ago

Changing Initialize At Startup requires write access to component.reg

Categories

(Other Applications Graveyard :: Venkman JS Debugger, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 483681

People

(Reporter: blizzard, Assigned: rginda)

Details

If you try to change "Initialize at Startup" in the JS debugger and you don't have write access to component.reg ( say, it's an rpm install ) the setting can't be changed. This is annoying. Also see: http://bugzilla.mozilla.org/show_bug.cgi?id=102785
From a truss/strace you can see this clearly... [pid 25429] brk(0x8096000) = 0x8096000 [pid 25429] lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 [pid 25429] lstat64("/usr/local", {st_mode=S_IFDIR|0755, st_size=530, ...}) = 0 [pid 25429] lstat64("/usr/local/mozilla", {st_mode=S_IFDIR|0755, st_size=1413, ...}) = 0 [pid 25429] open("/usr/local/mozilla/component.reg", O_RDWR) = -1 ENOENT (No such file or directory) [pid 25429] stat64("/usr/local/mozilla/component.reg", 0xbffff79c) = -1 ENOENT (No such file or directory) [pid 25429] open("/usr/local/mozilla/component.reg", O_RDWR|O_CREAT|O_TRUNC, 0666) = -1 EACCES (Permission denied) [pid 25429] open("/usr/local/mozilla/component.reg", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 25429] --- SIGSEGV (Segmentation fault) --- <... wait4 resumed> [WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV], 0, NULL) = 25429 rt_sigprocmask(SIG_BLOCK, [CHLD TTOU], [CHLD], 8) = 0 This needs to be fixed. Mozilla, (or any program) should not crash with SEGV's. Please check the return code from open() before proceeding. This is a coding bug !!
Still crashes with build 20020221. [pid 24924] open("/usr/local/mozilla/component.reg", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 24924] --- SIGSEGV (Segmentation fault) ---
Product: Core → Other Applications
QA Contact: caillon → venkman
Umm. So I'm not sure, but I *think* this is a dupe of 483681. Here goes nothing...
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.