<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3149: Mutt hangs under Mac OS X with --with-regex --without-wc-funcs and //TRANSLIT in charset



#3149: Mutt hangs under Mac OS X with --with-regex --without-wc-funcs and
//TRANSLIT in charset
--------------------+-------------------------------------------------------
 Reporter:  vinc17  |       Owner:  mutt-dev
     Type:  defect  |      Status:  new     
 Priority:  major   |   Milestone:          
Component:  mutt    |     Version:  1.5.19  
 Keywords:          |  
--------------------+-------------------------------------------------------
 Mutt 1.5.19 hangs under Mac OS X 10.4.11 with the combination of configure
 options --with-regex --without-wc-funcs (as the Mac OS X wc functions are
 buggy) and //TRANSLIT in $charset.

 I've built Mutt with:
 {{{
 $ ./configure --with-mailpath=/Users/vinc17/Mail \
     --enable-debug --with-regex --without-wc-funcs
 $ make mutt
 }}}

 When running Mutt under gdb and typing Ctrl-\ to interrupt Mutt, I get:
 {{{
 Program received signal SIGQUIT, Quit.
 __tolower (wc=65) at mbyte.c:359
 359         return (0 <= wc && wc < 256) ? tolower (wc) : wc;
 (gdb) bt
 #0  __tolower (wc=65) at mbyte.c:359
 #1  0x000874b4 in regcomp (preg=0x505ad0, pattern=0x8b450 "^[^,]*",
 cflags=3) at regex.c:5585
 #2  0x00024edc in mutt_restore_default (p=0x99cb8) at init.c:1608
 #3  0x0002a728 in mutt_init (skip_sys_rc=0, commands=0x0) at init.c:3029
 #4  0x00036d74 in main (argc=5, argv=0xbfffe178) at main.c:738
 }}}

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3149>
Mutt <http://www.mutt.org/>
The Mutt mail user agent