Package: calcurse
Version: 2.6-1
Severity: important


*** /tmp/reportbug-calcurse-20090809-8995-nggeWJ
Subject: calcurse: importing ical file fails
Package: calcurse
Version: 2.6-1
Severity: important


When I tried to import an ical file (even an calcurse's exported file), I have :

mem.c: 176: xfree: null pointer

With a ltrace it ends :

memcpy(0xbf843b18, "SUMMARY:test\n", 13)                                       
= 0xbf843b18
__ctype_toupper_loc()                                                          
= 0xb7d948a0
strncmp("SUMMARY:TEST\n127\n", "END:VEVENT", 10)                               
= 14
strncmp("SUMMARY:TEST\n127\n", "DTSTART", 7)                                   
= 15
strncmp("SUMMARY:TEST\n127\n", "DTEND", 5)                                     
= 15
strncmp("SUMMARY:TEST\n127\n", "DURATION:", 9)                                 
= 15
strncmp("SUMMARY:TEST\n127\n", "RRULE", 5)                                     
= 1
strncmp("SUMMARY:TEST\n127\n", "EXDATE", 6)                                    
= 14
strncmp("SUMMARY:TEST\n127\n", "SUMMARY:", 8)                                  
= 0
strchr("SUMMARY:test\n", ':')                                                  
= ":test\n"
strlen("test\n")                                                               
= 5
strlen("test")                                                                 
= 4
malloc(5)                                                                      
= 0x084b5118
strncpy(0x084b5118, "test", 5)                                                 
= 0x084b5118
_IO_getc(0x84be710)                                                            
= 'E'
ungetc(69, 0x84be710, 0x806cb60, 0x8071103, 0x84b5118)                         
= 69
fgets("END:VEVENT\n", 8192, 0x84be710)                                         
= 0xbf845b18
memcpy(0xbf843b18, "END:VEVENT\n", 11)                                         
= 0xbf843b18
__ctype_toupper_loc()                                                          
= 0xb7d948a0
strncmp("END:VEVENT\nT\n127\n", "END:VEVENT", 10)                              
= 0
malloc(20)                                                                     
= 0x084be458
strlen("test")                                                                 
= 4
malloc(5)                                                                      
= 0x084be470
strncpy(0x084be470, "test", 5)                                                 
= 0x084be470
free(0x084b5118)                                                               
= <void>
snprintf("mem.c: 176: ", 8192, "%s: %d: ", "mem.c", 176)                       
= 12
dcgettext(0, 0x8074696, 5, 0x8074690, 176)                                     
= 0x8074696
snprintf("xfree: null pointer", 8180, "xfree: null pointer")                   
= 19
fprintf(0xb7ef4560, "%s\n", "mem.c: 176: xfree: null pointer"mem.c: 176: xfree: 
null pointer
)                 = 32
exit(1 <unfinished ...>
+++ exited (status 1) +++

Thanks

Philip

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages calcurse depends on:
ii  libc6                  2.9-23            GNU C Library: Shared libraries
ii  libncursesw5           5.7+20090803-1+b1 shared libraries for terminal hand

calcurse recommends no packages.

calcurse suggests no packages.

-- no debconf information


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages calcurse depends on:
ii  libc6                  2.9-23            GNU C Library: Shared libraries
ii  libncursesw5           5.7+20090803-1+b1 shared libraries for terminal hand

calcurse recommends no packages.

calcurse suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to