Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphics segfaults #2802

Closed
vicuna opened this issue Jun 23, 2004 · 3 comments
Closed

Graphics segfaults #2802

vicuna opened this issue Jun 23, 2004 · 3 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Jun 23, 2004

Original bug ID: 2802
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Eijiro Sumii
Version: 3.07
OS: Linux
Submission from: pcp01330153pcs.chrstn01.pa.comcast.net (68.81.130.132)

A program using Graphpics segfaults in many recent Linux distributions,
even though it is not using any unsafe feature. It can be downloaded at:

http://www.cis.upenn.edu/~sumii/tmp/sim.tar.gz

To reproduce the problem:

(1) tar xvzf sim.tar.gz
(2) cd sim
(3) make
(4) ./graphic -world sample0.world -red sample.ant -black sample.ant
(5) hit "t" in the window and wait
(6) hit "t" again if the animation stops

The problem does not occur in older distributions. It may perhaps be due to
some version of Xlib, but I'm not sure. Please contact me if it doesn't
reproduce in your environments.

P.S. Now you understand why I've been submitting so many reports here, in
particular about Graphics.:-)

@vicuna
Copy link
Author

vicuna commented Jun 27, 2004

Comment author: administrator

Full_Name: Eijiro Sumii
Version: 3.07
OS: Linux
Submission from: pcp01330153pcs.chrstn01.pa.comcast.net (68.81.130.132)

A program using Graphpics segfaults in many recent Linux distributions,
even though it is not using any unsafe feature. It can be downloaded at:

http://www.cis.upenn.edu/~sumii/tmp/sim.tar.gz

To reproduce the problem:

(1) tar xvzf sim.tar.gz
(2) cd sim
(3) make
(4) ./graphic -world sample0.world -red sample.ant -black sample.ant
(5) hit "t" in the window and wait
(6) hit "t" again if the animation stops

The problem does not occur in older distributions. It may perhaps be due to
some version of Xlib, but I'm not sure. Please contact me if it doesn't
reproduce in your environments.

P.S. Now you understand why I've been submitting so many reports here, in
particular about Graphics.:-)

Thank you or your bug report and your interesting program.

However I'm sorry, I cannot reproduce the segfault. I hit the t key
for minutes with unfortunately (?) no segmentation faults.

I tried it on a debian distribution (unsafe, i.e. the bleeding edge).

Since you mentioned that ``modern Xlib''s could be a problem, I
recompiled a fresh X distribution on my machine; now, X -version
reports:

XFree86 Version 4.4.99.7
Release Date: 12 June 2004

I still cannot reproduce the problem. (However, something evidently
changed on the machine after this new Xlib showed up, since my FireFox
browser is now happily segfaulting, even after a full recompilation
and re-installation).

So, we need some more context to reproduce and track this bug.

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/

@vicuna
Copy link
Author

vicuna commented Jun 28, 2004

Comment author: administrator

Dear Eijiro,

A program using Graphpics segfaults in many recent Linux distributions,
even though it is not using any unsafe feature. It can be downloaded at:

It's a known bug in Graphics.set_window_title in 3.07 (including pl2).
The bug is fixed in the working sources. In the meantime, better not
use Graphics.set_window_title.

Cheers,

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented Jun 28, 2004

Comment author: administrator

fixed on 2004-01-09 by DR

@vicuna vicuna closed this as completed Jun 28, 2004
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant