Public bug reported:

I was experimenting with ReplicatorG (Java open source 3D printer
software) and I managed to cause a seg fault. I'm having trouble
narrowing down what the problem is but I think it's related to Java3D.
That's the area I've been playing around in, so it would make sense. The
crash happens on BuildSimulation, around line 230:

                transform.lookAt(new Point3d(0, 0, 0), new Point3d(diffX, 
diffY, diffZ),
                                new Vector3d(0, 1, 0));
                System.out.println("After: transform: " + transform + ", drop: 
" + drop);
                transform.mul(drop);
                System.out.println("After2: transform: " + transform);

The crash appears to happen when transform.mul(drop) is called, since
the text after that statement is not printed out. If I change the last
parameter in transform.lookAt to new Vector3d(0, 0, 1), the crash
doesn't happen anymore. The crash reliably happens every time I run the
program, although sometimes it hangs instead of crashes.

Sorry that I couldn't separate the problem out further. I can attach a
tarball with ReplicatorG's source and brief instructions to reproduce
the problem, although it is 40mb. Hope this helps.

1) lsb_release -rd is Ubuntu 12.04 LTS
2) apt-cache policy openjdk-6-jdk

openjdk-6-jdk:
  Installed: 6b24-1.11.1-4ubuntu2
  Candidate: 6b24-1.11.1-4ubuntu2
  Version table:
 *** 6b24-1.11.1-4ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

3) It should continue without crashing, or at least throw an exception
4) It crashed with a seg fault message. The log is attached

** Affects: openjdk-6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1000946

Title:
  SIGSEGV happens when using Transform3D with certain parameters

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1000946/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to