Scratchbox2 segfaults on Ubuntu 11.10 and 64-bits.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
scratchbox2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Doesn't matter what I do, it comes back with the following while attempting to use old sandboxes or start up new ones:
frank@zaphod:~$ sb2
/usr/bin/sb2: line 1137: 7597 Segmentation fault cat >> $SBOX_SESSION_
conf_cputranspa
conf_cputranspa
conf_cputranspa
conf_cputranspa
conf_cputranspa
conf_cputranspa
conf_cputranspa
END
/usr/bin/sb2: line 175: 7598 Segmentation fault /bin/mkdir -p $SBOX_SESSION_
/usr/bin/sb2: line 177: /tmp/sb2-
sb2: Error: Failed to create 'argvmods_misc' rules
frank@zaphod:~$
Tried to use upstream on a VM to no avail.
Release Info:
frank@zaphod:~$ lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
Version Info:
frank@zaphod:~$ apt-cache policy scratchbox2
scratchbox2:
Installed: 2.2.3-1debian1
Candidate: 2.2.3-1debian1
Version table:
*** 2.2.3-1debian1 0
500 http://
100 /var/lib/
This tool is used by the Tizen project, Plugdev, Non-native Raspberry PI dev, along with many others (Incl. my indie game porting endeavors (See: Caster3D and Cortex Command)).
Looks like there's several behaviors lurking within the codebase itself. If you have "too old" a dist, it is the source of the issues in question. Need to look into the behavior further, but it looks like it munges the dist's code execution with the host- which wasn't what was expected for sb2-init setup of things. I'd have thought that it'd be sandboxing with the rules out of the gate, which would've prevented most of this behavior.
If you want to close the issue...go for it. I've a workaround for things here in using a minimal "rootstrap" of the host's distribution version, sufficent to handle providing perl/python/etc. for the environment. I'll take up the issue with upstream after I have a solid handle on what it thinks it's doing and possibly with a patchset for mainline and the development branches.