[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Crash in gc_sweep (SIGH!)
From: |
Kim F. Storm |
Subject: |
Re: Crash in gc_sweep (SIGH!) |
Date: |
Wed, 11 Apr 2007 16:25:43 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.97 (gnu/linux) |
Chong Yidong <address@hidden> writes:
> It's unlikely that such a bug would have gone undetected over the last
> few pretests.
If it is a sublte bug in the GIF library, it may be been there forever.
> Could you me help check the last few checkins to the
> src directory for any obvious bugs?
I looked at them when they were committed, and didn't see anything
(obviously) wrong with them. And this is a non-GTK build.
I've tried many ways / many times to reproduce the crash, but I cannot.
However, I have found the reason why I initailly failed to display
the GIF image - it's because I have delete-trailing-whitespace on the
before-save-hook. Here's a recipe:
First the base64 encoded image data:
R0lGODlhZwAlAHAAACH5BAgAAP8ALAAAAABnACUAhwAAAAAASAAAdABISEgAAHQAAHQASHQAdHR0
SAAA/wBInAB0vwB0/0gA/3QA/0hInHRInEic30ic/3S//5xIAL90AJxISJxI/790/9+cSP+/dL+/
/5zf/7///9+c//+////fnP//v//f/+zp2PLy8v///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAA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HJZUWXZeYm
Z56BJhppqqVZWlt4jglSRHze5yeaE1Fn0ZtOVkjck5sCAGGjKe6Z4J9vSmRpRfBhp1eC94n33ZFh
YoZKZmmj5hffcRRV0F4B71knXwn0QbQfl8NiBuqOOy3p6XwExMgqRQs2WNyFEQIwYYUZYkjtsSsN
SeRG3ApZ47cjhWuSt+RiZG6Ss6ZbroxJOZqSu/RChG69K96L74kBAQA7
This works:
0- emacs -Q
1- C-x C-f x.gif
2- yank image into buffer
3- C-x h
4- M-x base64-decode-region
5- C-c C-c => image is shown
6- C-c C-c => text is shown
7- C-x C-s => save
8- C-c C-c => image is shown
Now, repeat the above sequence, but this time,
add this between step 0 and 1:
M-: (add-hook 'before-save-hook 'delete-trailing-whitespace) RET
Everything looks ok, until you get to step 8 -- then the
image file has been corrupted.
Still, messing around with this in various ways does not crash
Emacs no matter how much I try. I suggest we ignore the bug for now.
--
Kim F. Storm <address@hidden> http://www.cua.dk