Package: mailutils-mh
Version: 1:0.6.94-1
Severity: normal

/usr/bin/mu-mh/send segfaults trying to send the attached message. I
could send the same message to different recipients, but not to
<[EMAIL PROTECTED]>. Imagine the fun I had working that out :-)

dust:~$ /usr/bin/mu-mh/send -watch -nopush -nodraftfolder -verbose ~/Mail/draft
Getting message
Segmentation fault

gdb didn't find any symbols, but I'm attaching the output of ltrace in
case that's helpful.

The problem appears to be architecture-dependent, as I was able to
send the message by invoking send on a 32-bit (x86) host.

... and it looks like I'm about to have to do the same with this bug report.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-amd64-k8-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mailutils-mh depends on:
ii  libc6                        2.3.6-15    GNU C Library: Shared libraries
ii  libcomerr2                   1.39-1      common error description library
ii  libgcrypt11                  1.2.2-1     LGPL Crypto library - runtime libr
ii  libgdbm3                     1.8.3-3     GNU dbm database routines (runtime
ii  libgnutls13                  1.3.5-1.1   the GNU TLS library - runtime libr
ii  libgpg-error0                1.2-1       library for common error values an
ii  libgsasl7                    0.2.12-1+b1 GNU SASL library
ii  libidn11                     0.5.18-2    GNU libidn library, implementation
ii  libkrb53                     1.4.3-7     MIT Kerberos runtime libraries
ii  libmailutils1                1:0.6.94-1  GNU Mail abstraction library
ii  libmysqlclient15off          5.0.22-2    mysql database client library
ii  libncurses5                  5.5-2       Shared libraries for terminal hand
ii  libpam0g                     0.79-3.1    Pluggable Authentication Modules l
ii  zlib1g                       1:1.2.3-11  compression library - runtime

mailutils-mh recommends no packages.

-- no debconf information
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
X-Debbugs-CC: Tim Bagot <[EMAIL PROTECTED]>
Subject: munin-node: Overly restrictive regexps in sensors plugin
Content-Type: multipart/mixed; boundary="1804289383-1150467570=:17247"
MIME-Version: 1.0

--1804289383-1150467570=:17247
Content-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain

Package: munin-node
Version: 1.2.4-1
Severity: normal

The sensors plugin incorrectly assumes that in the output of sensors(1)
there will always be whitespace after the colon separating label from
value. This can cause it to ignore some items. Patch attached.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-amd64-k8-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages munin-node depends on:
ii  adduser                      3.87        Add and remove users and groups
ii  libnet-server-perl           0.90-1      An extensible, general perl server
ii  lsb-base                     3.1-10      Linux Standard Base 3.1 init scrip
ii  perl                         5.8.8-6     Larry Wall's Practical Extraction 
ii  procps                       1:3.2.6-2.2 /proc file system utilities

Versions of packages munin-node recommends:
pn  libnet-snmp-perl              <none>     (no description available)

-- no debconf information

--1804289383-1150467570=:17247
Content-transfer-encoding: quoted-printable
Content-Description: sensors_.patch
Content-ID: <[EMAIL PROTECTED]>
Content-Type: text/x-patch; name="sensors_.patch"

--- /usr/share/munin/plugins/sensors_
+++ /usr/share/munin/plugins/sensors_
@@ -64,21 +64,21 @@
 my $SENSORS =3D $ENV{'sensors'} || 'sensors';
 my %config =3D (
               fan =3D> {
-                        regex =3D> qr/^(\S[^:]*)\s*:\s+\+?(\d+) RPM.*?(\d+) 
RPM/m,
+                        regex =3D> qr/^(\S[^:]*)\s*:\s*\+?(\d+) RPM.*?(\d+) 
RPM/m,
                         title =3D> 'Fans',
                         vtitle =3D> 'RPM',
                         print_threshold =3D> \&fan_threshold,
                         graph_args =3D> '--base 1000 -l 0'
                       },
               temp =3D> {
-                        regex =3D> qr/^(\S[^:]*)\s*:\s+\+?(\d+(?:\.\d+)?)[=B0 
]C(?:\s+\((?:high=
|limit)\s*=3D\s*\+?(\d+(?:\.\d+)?)[=B0 ]C,\s*hyst(?:eresis)?\s*=3D\s*\+?(\d+=
(?:\.\d+)?)[=B0 ]C\))?/m,
+                        regex =3D> qr/^(\S[^:]*)\s*:\s*\+?(\d+(?:\.\d+)?)[=B0 
]C(?:\s+\((?:high=
|limit)\s*=3D\s*\+?(\d+(?:\.\d+)?)[=B0 ]C,\s*hyst(?:eresis)?\s*=3D\s*\+?(\d+=
(?:\.\d+)?)[=B0 ]C\))?/m,
                         title =3D> 'Temperatures',
                         vtitle =3D> 'Celsius',
                         print_threshold =3D> \&temp_threshold,
                         graph_args =3D> '--base 1000 -l 0'
                       },
               volt =3D> {
-                        regex =3D> qr/^(\S[^:]*)\s*:\s+\+?(-?\d+(?:\.\d+)?) 
V(?:\s+\(min\s*=3D\=
s*\+?(-?\d+(?:\.\d+)?) V,\s*max\s*=3D\s*\+?(-?\d+(?:\.\d+)?) V\))/m,
+                        regex =3D> qr/^(\S[^:]*)\s*:\s*\+?(-?\d+(?:\.\d+)?) 
V(?:\s+\(min\s*=3D\=
s*\+?(-?\d+(?:\.\d+)?) V,\s*max\s*=3D\s*\+?(-?\d+(?:\.\d+)?) V\))/m,
                         title =3D> 'Voltages',
                         vtitle =3D> 'Volt',
                         print_threshold =3D> \&volt_threshold,

--1804289383-1150467570=:17247--
__libc_start_main(0x404e80, 6, 0x7fffff858b58, 0x40e040, 0x40e0c0 <unfinished 
...>
mu_init_nls(6, 0x7fffff858b58, 0x7fffff858b90, 1, 0x40e0c0)                     
 = 0x515090
mu_argp_init(0x40e1d7, 0, 1, 0, 32)                                             
 = 0x2b124eabc978
strrchr("/usr/bin/mu-mh/send", '/')                                             
 = "/send"
mu_registrar_record(0x2b124e31c6c0, 47, 2, 0x22f4b414a5c0000, 
0xfefefefefefefeff) = 0
mu_registrar_record(0x2b124e31c720, 0, 1, 134657, 32)                           
 = 0
mu_registrar_record(0x2b124e537880, 0, 1, 134657, 32)                           
 = 0
mu_registrar_record(0x2b124e42abe0, 0, 1, 134657, 32)                           
 = 0
mu_registrar_record(0x2b124e745360, 0, 1, 134401, 32)                           
 = 0
mu_registrar_record(0x2b124e954400, 0, 1, 134401, 32)                           
 = 0
mu_registrar_record(0x2b124eabc460, 0, 1, 134401, 32)                           
 = 0
mu_registrar_record(0x2b124eabc4e0, 0, 1, 134401, 32)                           
 = 0
mu_registrar_record(0x2b124e8509c0, 0, 1, 134401, 32)                           
 = 0
getenv("MH")                                                                    
 = NULL
mu_get_homedir(0x410055, 0, 77, 2, 32)                                          
 = 0x5152c0
asprintf(0x7fffff8588b8, 0x41017e, 0x5152c0, 0x410058, 32)                      
 = 22
free(0x5152c0)                                                                  
 = <void>
access("/home/timb/.mh_profile", 4)                                             
 = 0
malloc(16)                                                                      
 = 0x5152c0
__xstat(1, "/home/timb/.mh_profile", 0x7fffff8587d0)                            
 = 0
malloc(22)                                                                      
 = 0x5152e0
fopen("/home/timb/.mh_profile", "r")                                            
 = 0x515370
__getdelim(0x7fffff858868, 0x7fffff858860, 10, 0x515370, 8)                     
 = 22
__ctype_b_loc()                                                                 
 = 0x2b125057e448
__getdelim(0x7fffff858868, 0x7fffff858860, 10, 0x515370, 6)                     
 = -1
fclose(0x515370)                                                                
 = 0
mu_header_create(0x5152c8, 0x5152e0, 22, 0, 0x2b125057e470)                     
 = 0
mu_header_aget_value(0x515370, 0x410064, 0x7fffff858898, 0, 0)                  
 = 4136
mu_unre_set_regex(0, 0, 0x7fffff858890, 0, 0xfefefefefefefeff)                  
 = 0
mu_header_aget_value(0x515370, 0x410070, 0x7fffff858898, 1, 0)                  
 = 4136
mu_header_aget_value(0x515370, 0x7fffff85a582, 0x7fffff8588b8, 0, 
0xfefefefefefefeff) = 4136
strlen("watch")                                                                 
 = 5
asprintf(0x7fffff858b60, 0x40fffa, 0x40e2d4, 0x40e44e, 0x40e2d4)                
 = 11
strlen("nopush")                                                                
 = 6
strlen("format")                                                                
 = 6
strlen("forward")                                                               
 = 7
strlen("mime")                                                                  
 = 4
strlen("msgid")                                                                 
 = 5
strlen("push")                                                                  
 = 4
asprintf(0x7fffff858b68, 0x40fffa, 0x41093a, 0x40e475, 0x41093a)                
 = 9
strlen("nodraftfolder")                                                         
 = 13
asprintf(0x7fffff858b70, 0x410002, 0x40e1a1, 0, 0x40e1a1)                       
 = 15
strlen("verbose")                                                               
 = 7
asprintf(0x7fffff858b78, 0x40fffa, 0x40e2ad, 0x40e44e, 0x40e2ad)                
 = 13
argp_parse(0x7fffff8588e0, 6, 0x7fffff858b58, 0, 0x7fffff85895c <unfinished ...>
mu_true_answer_p(0x515568, 0x515568, 0, 0x7fffff8587e0, 0x515568)               
 = 1
mu_true_answer_p(0x515da7, 0x515da7, 0, 0x7fffff8587e0, 0x515da7)               
 = 0
mu_true_answer_p(0x51589a, 0x51589a, 0, 0x7fffff8587e0, 0x51589a)               
 = 1
<... argp_parse resumed> )                                                      
 = 0
mu_header_aget_value(0x515370, 0x410090, 0x7fffff858898, 1, 0)                  
 = 4136
mu_header_aget_value(0x515370, 0x41016d, 0x7fffff858858, 0, 0xfefefefefefefeff) 
 = 0
__strdup(0x515580, 0x515415, 0x51558f, 15, 0x515404)                            
 = 0x515f80
mu_set_folder_directory(0x515f80, 0x515590, 16, 0, 65536)                       
 = 0x515fa0
getenv("CONTEXT")                                                               
 = NULL
mu_tilde_expansion(0x410088, 0x410174, 0, 82, 78)                               
 = 0x515fc0
mu_folder_directory(0x410174, 0x515fc1, 0x2b125044c140, 1, 256)                 
 = 0x515fa0
asprintf(0x7fffff858860, 0x41017e, 0x515fa0, 0x515fc0, 256)                     
 = 23
free(0x515fc0)                                                                  
 = <void>
malloc(16)                                                                      
 = 0x515fc0
__xstat(1, "/home/timb/Mail/context", 0x7fffff8587b0)                           
 = 0
malloc(22)                                                                      
 = 0x5158b0
fopen("/home/timb/Mail/context", "r")                                           
 = 0x5158d0
__getdelim(0x7fffff858848, 0x7fffff858840, 10, 0x5158d0, 8)                     
 = 22
__ctype_b_loc()                                                                 
 = 0x2b125057e448
__getdelim(0x7fffff858848, 0x7fffff858840, 10, 0x5158d0, 6)                     
 = -1
fclose(0x5158d0)                                                                
 = 0
mu_header_create(0x515fc8, 0x5158b0, 22, 0, 0x2b125057e470)                     
 = 0
mu_header_aget_value(0x515370, 0x410090, 0x7fffff858878, 0, 0)                  
 = 4136
mu_header_aget_value(0x515b90, 0x410096, 0x7fffff858878, 0, 0xfefefefefefefeff) 
 = 0
mu_header_aget_value(0x515b90, 0x410096, 0x7fffff8588a8, 5, 0x515c2e)           
 = 0
mu_header_aget_value(0x515370, 0x4100b3, 0x7fffff858868, 5, 0x515c2e)           
 = 4136
mu_tilde_expansion(0x515c70, 0x410174, 0, 0, 0xfefefefefefefeff)                
 = 0x5158d0
mu_folder_directory(0x410174, 0x5158d1, 0x2b125044c140, 1, 2)                   
 = 0x515fa0
asprintf(0x7fffff858850, 0x41017e, 0x515fa0, 0x5158d0, 2)                       
 = 21
free(0x5158d0)                                                                  
 = <void>
asprintf(0x7fffff858890, 0x41017e, 0x515960, 0x4100a5, 432)                     
 = 35
free(0x515960)                                                                  
 = <void>
malloc(16)                                                                      
 = 0x515960
__xstat(1, "/home/timb/Mail/inbox/.mh_sequen"..., 0x7fffff8587a0)               
 = -1
__errno_location()                                                              
 = 0x2b125057e430
mu_header_aget_value(0, 0x4100c2, 0x7fffff8588b8, -1, 0x6d2e2f786f626e69)       
 = 22
mu_header_aget_value(0x515370, 0x40f17c, 0x7fffff858968, 0, 0x7fffff858878)     
 = 4136
getenv("ALI_YYDEBUG")                                                           
 = NULL
mu_tilde_expansion(0x40f1e8, 0x410174, 0, 11, 0xfefefefefefefeff)               
 = 0x5158f0
__xstat(1, "/usr/share/mailutils/mh/MailAlia"..., 0x7fffff8588b0)               
 = -1
free(0x5158f0)                                                                  
 = <void>
__xstat(1, "/home/timb/Mail/draft", 0x7fffff8588d0)                             
 = 0
mu_file_stream_create(0x7fffff858968, 0x7fffff85a5ae, 1, -1, 
0x2f686d2f736c6974) = 0
mu_stream_open(0x5159b0, 0x2b124e971630, 0x5158f0, 0x515a68, 0)                 
 = 0
mu_stream_to_message(0x5159b0, 0x7fffff8588b8, 0, 0, 0xffffffff)                
 = 0
mu_list_create(0x5144d8, 0x516b70, 0x7fffff8588b8, 0x517608, 0)                 
 = 0
mu_list_append(0x516bb0, 0x516a80, 56, 0x2b1250578700, 64)                      
 = 0
mu_tilde_expansion(0x40e330, 0x410174, 0, 125185, 524288)                       
 = 0x517630
asprintf(0x7fffff858940, 0x41017e, 0x40e315, 0x517630, 32)                      
 = 33
free(0x517630)                                                                  
 = <void>
malloc(16)                                                                      
 = 0x517630
__xstat(1, "/usr/share/mailutils/mh/mtstailo"..., 0x7fffff858890)               
 = -1
__errno_location()                                                              
 = 0x2b125057e430
mu_tilde_expansion(0x40e32d, 0x410174, 0, -1, 0x2f686d2f736c6974)               
 = 0x517690
malloc(16)                                                                      
 = 0x517670
__xstat(1, "/home/timb/.mtstailor", 0x7fffff858890)                             
 = -1
__errno_location()                                                              
 = 0x2b125057e430
free(0x517690)                                                                  
 = <void>
free(0x517670)                                                                  
 = <void>
mu_header_aget_value(0, 0x40e33a, 0x7fffff858958, 33, 0xfefefefefefefeff)       
 = 22
mu_get_host_name(0x7fffff858980, 0x40e33a, 1, 0, 0x7fffff858918)                
 = 0
mu_header_aget_value(0, 0x40e344, 0x7fffff858958, 0, 64)                        
 = 22
mu_folder_directory(0, 0x40e344, 1, 0, 0x7fffff858918)                          
 = 0x515fa0
asprintf(0x7fffff858a60, 0x40e4c9, 0x515fa0, 0, 0x7fffff858918)                 
 = 18
mu_set_folder_directory(0x517d20, 0x5187f0, 0x517d30, 1, 160)                   
 = 0x515fa0
free(0x517d20)                                                                  
 = <void>
mu_list_do(0x516bb0, 0x404aa0, 0, 32, 0xfefefefefefefeff <unfinished ...>
dcgettext(0, 0x40e3e9, 5, 0x517d18, 0)                                          
 = 0x40e3e9
vfprintf(0x2b1250576680, "Getting message", 0x7fffff8587d0Getting message)      
                = 15
fputc('\n', 0x2b1250576680
)                                                      = 10
mu_message_get_header(0x516a80, 0x7fffff858920, 0x2b1250578580, 0xffffffff, 10) 
 = 0
time(NULL)                                                                      
 = 1150469718
localtime(0x7fffff858910)                                                       
 = 0x2b125057b820
mu_strftime(0x7fffff8588b0, 80, 0x40e3f9, 0x2b125057b820, 0)                    
 = 29
mu_header_set_value(0x518800, 0x40e412, 0x7fffff8588b0, 1, 0xfefefefefefefeff)  
 = 0
mu_header_get_value(0x518800, 0x40e417, 0, 0, 0x7fffff858918)                   
 = 4136
mu_get_user_email(0, 0x40e418, 70, 0, 0x5189c4)                                 
 = 0x5199c0
getenv("SIGNATURE")                                                             
 = NULL
mu_header_aget_value(0x515370, 0x40e426, 0x7fffff858898, 9, 0xfefefefefefefeff) 
 = 4136
getuid()                                                                        
 = 1031
getpwuid(1031, 0x40e426, 0xff64717473606d66, -1, 0xfefefefefefefeff)            
 = 0x2b12505794a0
strchr("Tim Bagot,,,", ',')                                                     
 = ",,,"
asprintf(0x7fffff858908, 0x40e430, 0x518f4c, 0x5199c0, 0xfefefefefefefeff)      
 = 39
free(0x5199c0)                                                                  
 = <void>
mu_header_set_value(0x518800, 0x40e417, 0x519ab0, 1, 0x642e747375644062)        
 = 0
free(0x519ab0)                                                                  
 = <void>
mu_header_get_value(0x518800, 0x40e445, 0, 0, 0x7fffff858918)                   
 = 4136
mu_header_aget_value(0, 0x40e452, 0x7fffff858898, 0, 0xfefefefefefefeff)        
 = 22
mu_header_set_value(0x518800, 0x40e445, 0x40e45b, 0, 0x7fffff858858)            
 = 0
mu_message_get_header(0x516a80, 0x7fffff858818, 0x7fffff858870, 0x7fffff858868, 
0x519c09) = 0
mu_header_get_field_count(0x518800, 0x7fffff858810, 0x7fffff858870, 
0x7fffff858868, 0x519c09) = 0
mu_header_aget_field_name(0x518800, 1, 0x7fffff858808, 0x7fffff858868, 
0x519c09) = 0
rpl_strcasecmp(0x518be0, 0x40e3c7, 8, 0, 0)                                     
 = 4
rpl_strcasecmp(0x518be0, 0x40e3ca, 4, 0, 0)                                     
 = 21
rpl_strcasecmp(0x518be0, 0x40e3cd, 21, 0, 0)                                    
 = 22
free(0x518be0)                                                                  
 = <void>
mu_header_aget_field_name(0x518800, 2, 0x7fffff858808, 33, 0)                   
 = 0
rpl_strcasecmp(0x518be0, 0x40e3c7, 4, 0, 0)                                     
 = 0xfffffff2
rpl_strcasecmp(0x518be0, 0x40e3ca, 0xfffffff2, 0, 0)                            
 = 3
rpl_strcasecmp(0x518be0, 0x40e3cd, 3, 0, 0)                                     
 = 4
free(0x518be0)                                                                  
 = <void>
mu_header_aget_field_name(0x518800, 3, 0x7fffff858808, 33, 0)                   
 = 0
rpl_strcasecmp(0x518be0, 0x40e3c7, 4, 0, 0)                                     
 = 0xfffffff0
rpl_strcasecmp(0x518be0, 0x40e3ca, 0xfffffff0, 0, 0)                            
 = 1
rpl_strcasecmp(0x518be0, 0x40e3cd, 1, 0, 0)                                     
 = 2
free(0x518be0)                                                                  
 = <void>
mu_header_aget_field_name(0x518800, 4, 0x7fffff858808, 33, 0)                   
 = 0
rpl_strcasecmp(0x518be0, 0x40e3c7, 2, 0, 0)                                     
 = 0
mu_header_aget_field_value_unfold(0x518800, 4, 0x7fffff858800, 0, 0)            
 = 0
mu_argcv_get(0x518c20, 0x410da7, 0, 0x7fffff8587b0, 0x7fffff8587a8)             
 = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Reply via email to