Hi JBe,
As I told you in a private conversation, ChT segfaults
in jpegtran.c. I added some debugging printfs and I
think I know what the problem is.
The modified jpegtran.c is attached and this is what I
get on stderr:
jpeg_get_dimensions(/tmp/almara-jb/cht/tmpO1ymzQ/cache0rZLqI,
...) fp = 0xb7c5e258
1 fp = 0xb7c5e258
2 fp = 0xb7c5e258
8 fp = 0xb7c5e258
9 fp = 0xb7c5e258
12 fp = 0x82d6398
13 fp = 0x82d6398
3 fp = 0xb7c5e258
4 fp = 0xb7c5e258
(process:3136): cht-WARNING **: Subprocess pid 3173 is
not running. Trying to relaunch.
It's clear that the error handler is called by
jpeg_read_header(),right after the number 13 in the
stderr output. The problem is, that setjmp() stores the
current stack including the fp pointer, so in the
handler it's back at the uninitialized value! (see the
pointer values in the above output ... different for
lines 13 and 3)
Jirka Bohac
ChT
None
Public
|
Date: 2006-01-11 23:16 Logged In: YES |
|
Date: 2005-12-10 17:27 Logged In: YES |
|
Date: 2005-12-10 14:00 Logged In: YES |
| Filename | Description | Download |
|---|---|---|
| jpegtran.c | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2006-01-11 23:16 | jbohac |
| resolution_id | None | 2006-01-11 23:16 | jbohac |
| close_date | - | 2006-01-11 23:16 | jbohac |
| assigned_to | jbenc | 2005-12-10 14:00 | jbohac |
| summary | segfault in jpegtran.c | 2005-12-10 14:00 | jbohac |
| File Added | 157725: jpegtran.c | 2005-11-27 20:54 | jbohac |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use