SIGSEGV happens when using Transform3D with certain parameters

Bug #1000946 reported by George Schneeloch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

Revision history for this message
George Schneeloch (noisecapella) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.