[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 48507] New: crash on exit when folder contains too many subfolders
From:       randall () panic ! et ! tudelft ! nl
Date:       2002-09-30 13:58:27
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=48507     
           Summary: crash on exit when folder contains too many subfolders
           Product: kmail
           Version: 1.4.3
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kmail@kde.org
        ReportedBy: randall@panic.et.tudelft.nl


Version:           1.4.3 (using KDE KDE 3.0.1)
Installed from:    SuSE RPMs
OS:          Linux

[Background: my mailsetup is (basically) as follows: whenever I receive a mail from \
x@y on my account z, procmail archives the mail in x@y-<year> and also stores the \
mail in the appropriate inbox for account z. (FYI, this way I can use the inbox as a \
sort of 'todo-list', delete from there what I don't need anymore, and always keep a \
backup copy, in case I need to look something up.) As you can imagine, I have \
accumulated a lot of x@y-i entries over the years.  These files are subfolders to a \
'People'-folder in KMail.]

I have a folder with about 1000 subfolders (995 currently). Whenever I close kmail, \
it crashes. I've tried generating a backtrace, but failed. (Compiled with \
--enable-debug=full, running with --nofork and --nocrashhandler produces this core:

-------------
Core was generated by `./kmail --nocrashhandler --nofork'.
Program terminated with signal 11, Segmentation fault.
Cannot access memory at address 0x40016adc.
(gdb) bt
#0  0x8573610 in ?? ()Cannot access memory at address 0x40016adc.)
-------------


However, Kmail produces the following output just before it dies:

-------------
kmail: end 13405[void KMHeaders::setFolder(KMFolder *, bool = false)]
kmail: Dict cannot open with folder z...@...com-02: Too many open files (24)
kmail: Dict cannot open with folder z...@...ch-02: Too many open files (24)
kmail: Dict cannot open with folder z...@...nl-01: Too many open files (24)
kmail: Dict cannot open with folder z...@...nl-02: Too many open files (24)
...
kmail: Dict cannot open with folder z...@...com-02: Too many open files (24)
kmail: Dict cannot open with folder saved-messages: Too many open files (24)
kmail: Dict cannot open with folder trash: Too many open files (24)
kmail: Dict cannot open with folder yahoo: Too many open files (24)
Segmentation fault (core dumped)
-------------

The 'z...@....' folders are subfolders to the folder which causes the problems, the \
'saved-messages', 'trash' and 'yahoo'-folders are toplevel folders.  If I remove all \
folders starting with a 'z', kmail closes without problems. Putting the 'z'-folders \
back again, makes kmail crash again on exit. \
_______________________________________________ KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic