Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000031 [cparser] unknown crash always 2008-12-22 20:13 2009-01-28 21:55
Reporter edwin View Status public  
Assigned To Tron
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 0.9.7
  Product Build
Summary 0000031: cparser: be/ia32/ia32_transform.c:3267: gen_Conv: Assertion `!_mode_is_int(tgt_mode) || tgt_bits <= 32' failed.
Description $ /tmp/cparser-0.9.7/build/cparser t.c -c
t.c:19: warning: implicit declaration of function 'read_enc_int'
t.c:17: warning: control reaches end of non-void function
t.c:30: warning: control reaches end of non-void function
3 warning(s)
cparser: be/ia32/ia32_transform.c:3267: gen_Conv: Assertion `!_mode_is_int(tgt_mode) || tgt_bits <= 32' failed.
Aborted
Steps To Reproduce
Additional Information /* testcase */
typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
__extension__ typedef unsigned long long int uint64_t;
typedef struct chm_metadata_tag
{
  uint32_t num_chunks;
  char *chunk_data;
  char *chunk_current;
  char *chunk_end;
  uint16_t chunk_entries;
}
chm_metadata_t;
static int
read_control_entries (chm_metadata_t * metadata)
{
  uint64_t name_len, section, offset, length;
  while (metadata->chunk_entries--)
    {
      name_len = read_enc_int (&metadata->chunk_current, metadata->chunk_end);
      if (((metadata->chunk_current + name_len) > metadata->chunk_end)
          || ((metadata->chunk_current + name_len) < metadata->chunk_data))
        {
        }
    }
}

int
cli_chm_open (int fd, const char *dirname, chm_metadata_t * metadata)
{
  while (metadata->num_chunks)
    {
      if (read_control_entries (metadata) == (0))
        {
        }
    }
}
Tags No tags attached.
Attached Files

- Relationships

SYSTEM WARNING: Creating default object from empty value

SYSTEM WARNING: Creating default object from empty value

related to 0000008closedTron libFirm Error: no such instruction: `movzlll (%edx),%edx' 
related to 0000027closedTron libFirm Crash in verify_node_Proj_Proj 

-  Notes
(0000042)
Tron (administrator)
2008-12-22 20:18

Thanks for the report. This problem has already been resolved in r24286 in context of 0000008.

- Issue History
Date Modified Username Field Change
2008-12-22 20:13 edwin New Issue
2008-12-22 20:16 Tron Relationship added related to 0000008
2008-12-22 20:16 Tron Relationship added related to 0000027
2008-12-22 20:18 Tron Note Added: 0000042
2008-12-22 20:18 Tron Status new => resolved
2008-12-22 20:18 Tron Resolution open => fixed
2008-12-22 20:18 Tron Assigned To => Tron
2009-01-28 21:55 Matze Status resolved => closed


Mantis 1.1.5[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker