pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/46503: kmail segfaults after handing over a composed email to e.g. sendmail/postfix



The following reply was made to PR pkg/46503; it has been noted by GNATS.

From: "Michael L. Riechers" <mlr%mterm.rse.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: mlr%rse.com@localhost
Subject: Re: pkg/46503: kmail segfaults after handing over a composed email to 
e.g. sendmail/postfix
Date: Mon,  4 Jun 2012 14:08:02 -0400 (EDT)

 (Sorry, I guess I'm supposed to follow up to gnats-bugs, not admin).
 
 Date: Mon,  4 Jun 2012 13:16:44 -0400 (EDT):
 
 Don't know whether this helps or not, but I was able to get a dump, and a 
ktrace:
 
 What I did, was to:
 
 1.  From fvwm xterm, type "ktrace kmail --nocrashhandler 2>&1 |cat - > 
kmail.log2
 
 2.  Go to the Menu, and select New->Message, then
 
 3.  In the new message window, Go to the Menu, and select "close."
 
 4.  Watch kmail crash, and collect up the dump and the ktrace.
 
 
 Mon Jun 04 13:08:18 on mterm.rse.com ~ A) gdb /usr/pkg/bin/kmail -c kmail.core
 GNU gdb (GDB) 7.3.1
 Copyright (C) 2011 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "x86_64--netbsd".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from /usr/pkg/bin/kmail...(no debugging symbols found)...done.
 [New process 1]
 [New process 5]
 [New process 4]
 [New process 3]
 [New process 2]
 Core was generated by `kmail'.
 Program terminated with signal 11, Segmentation fault.
 #0  0x00007f7fed813e5c in DCOPObject::~DCOPObject() () from 
/usr/pkg/lib/libDCOP.so.4
 (gdb) bt
 #0  0x00007f7fed813e5c in DCOPObject::~DCOPObject() () from 
/usr/pkg/lib/libDCOP.so.4
 #1  0x00007f7ff74e79b2 in KMComposeWin::~KMComposeWin() () from 
/usr/pkg/lib/libkmailprivate.so
 #2  0x00007f7ff74e7a01 in KMComposeWin::~KMComposeWin() () from 
/usr/pkg/lib/libkmailprivate.so
 #3  0x00007f7feb93171d in QObject::event(QEvent*) () from 
/usr/pkg/qt3/lib/libqt-mt.so.3
 #4  0x00007f7feb959bbb in QWidget::event(QEvent*) () from 
/usr/pkg/qt3/lib/libqt-mt.so.3
 #5  0x00007f7feb8e89b3 in QApplication::internalNotify(QObject*, QEvent*) () 
from /usr/pkg/qt3/lib/libqt-mt.so.3
 #6  0x00007f7feb8e8ad1 in QApplication::notify(QObject*, QEvent*) () from 
/usr/pkg/qt3/lib/libqt-mt.so.3
 #7  0x00007f7fedcf744a in KApplication::notify(QObject*, QEvent*) () from 
/usr/pkg/lib/libkdecore.so.4
 #8  0x00007f7feb8e9767 in QApplication::sendPostedEvents(QObject*, int) () 
from /usr/pkg/qt3/lib/libqt-mt.so.3
 #9  0x00007f7feb8a853b in QEventLoop::processEvents(unsigned int) () from 
/usr/pkg/qt3/lib/libqt-mt.so.3
 #10 0x00007f7feb8f8693 in QEventLoop::enterLoop() () from 
/usr/pkg/qt3/lib/libqt-mt.so.3
 #11 0x00007f7feb8f8634 in QEventLoop::exec() () from 
/usr/pkg/qt3/lib/libqt-mt.so.3
 #12 0x0000000000402f42 in ?? ()
 #13 0x0000000000402ca2 in ?? ()
 #14 0x00007f7ff7ffa000 in ?? ()
 #15 0x0000000000000002 in ?? ()
 #16 0x00007f7ffffffce8 in ?? ()
 #17 0x00007f7ffffffcef in ?? ()
 #18 0x0000000000000000 in ?? ()
 (gdb) 
 
    4056      1 kmail    CALL  access(0x7f7ff1911080,2)
    4056      1 kmail    NAMI  
"/home/rse/mlr/.kde/share/kde/config/kmailsnippetrc"
    4056      1 kmail    RET   access 0
    4056      1 kmail    CALL  open(0x7f7ff1911100,0xa02,0x180)
    4056      1 kmail    NAMI  
"/home/rse/mlr/.kde/share/kde/config/kmailsnippetrcBGBVba.new"
    4056      1 kmail    RET   open 25/0x19
    4056      1 kmail    CALL  umask(0)
    4056      1 kmail    RET   umask 18/0x12
    4056      1 kmail    CALL  umask(0x12)
    4056      1 kmail    RET   umask 0
    4056      1 kmail    CALL  fchmod(0x19,0x180)
    4056      1 kmail    RET   fchmod 0
    4056      1 kmail    CALL  getgid
    4056      1 kmail    RET   getgid 0
    4056      1 kmail    CALL  getuid
    4056      1 kmail    RET   getuid 100/0x64, 100/0x64
    4056      1 kmail    CALL  fchown(0x19,0x64,0)
    4056      1 kmail    RET   fchown 0
    4056      1 kmail    CALL  fcntl(0x19,2,1)
    4056      1 kmail    RET   fcntl 0
    4056      1 kmail    CALL  __stat50(0x7f7ff1911080,0x7f7fffffc900)
    4056      1 kmail    NAMI  
"/home/rse/mlr/.kde/share/kde/config/kmailsnippetrc"
    4056      1 kmail    RET   __stat50 0
    4056      1 kmail    CALL  getuid
    4056      1 kmail    RET   getuid 100/0x64, 100/0x64
    4056      1 kmail    CALL  getgid
    4056      1 kmail    RET   getgid 0
    4056      1 kmail    CALL  fchmod(0x19,0x8180)
    4056      1 kmail    RET   fchmod 0
    4056      1 kmail    CALL  fchmod(0x19,0x180)
    4056      1 kmail    RET   fchmod 0
    4056      1 kmail    CALL  fcntl(0x19,3,0)
    4056      1 kmail    RET   fcntl 2
    4056      1 kmail    CALL  __fstat50(0x19,0x7f7fffffbc40)
    4056      1 kmail    RET   __fstat50 0
    4056      1 kmail    CALL  write(0x19,0x7f7ff1901000,0xc9)
    4056      1 kmail    GIO   fd 25 wrote 201 bytes
         
"[SnippetPart]\nsnippetCount=0\nsnippetDelimiter=$\nsnippetGroupAutoOpen=1\nsnippetGroupCount=0\nsnippetMultiRect=0,0,0,0\nsnippetSavedCo
        
unt=0\nsnippetSingleRect=0,0,0,0\nsnippetToolTips=true\nsnippetVarInput=0\n"
    4056      1 kmail    RET   write 201/0xc9
    4056      1 kmail    CALL  lseek(0x19,0,0,1)
    4056      1 kmail    RET   lseek 201/0xc9
    4056      1 kmail    CALL  close(0x19)
    4056      1 kmail    RET   close 0
    4056      1 kmail    CALL  rename(0x7f7ff19110c0,0x7f7ff1911080)
    4056      1 kmail    NAMI  
"/home/rse/mlr/.kde/share/kde/config/kmailsnippetrcBGBVba.new"
    4056      1 kmail    NAMI  
"/home/rse/mlr/.kde/share/kde/config/kmailsnippetrc"
    4056      1 kmail    RET   rename 0
    4056      1 kmail    CALL  __lstat50(0x7f7ff1911080,0x7f7ff2d5cac0)
    4056      1 kmail    NAMI  
"/home/rse/mlr/.kde/share/kde/config/kmailsnippetrc"
    4056      1 kmail    RET   __lstat50 0
    4056      1 kmail    CALL  unlink(0x7f7ff1911080)
    4056      1 kmail    NAMI  
"/home/rse/mlr/.kde/share/kde/config/kmailsnippetrc.lock"
    4056      1 kmail    RET   unlink 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb00,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb10,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb10,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb10,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb70,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb70,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb60,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb70,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb70,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcb70,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcbd0,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcbd0,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcf20,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcc70,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcc30,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    CALL  __gettimeofday50(0x7f7fffffcc40,0)
    4056      1 kmail    RET   __gettimeofday50 0
    4056      1 kmail    PSIG  SIGSEGV caught handler=0x7f7fedd6c162 mask=(11): 
code=SEGV_MAPERR, addr=0x0, trap=6)
    4056      1 kmail    CALL  
__sigaction_sigtramp(SIGALRM,0x7f7fffffcac0,0x7f7fffffcaa0,0x7f7fe688e060,2)
    4056      1 kmail    RET   __sigaction_sigtramp 0
    4056      1 kmail    CALL  __setitimer50(0,0x7f7fffffcac0,0x7f7fffffcaa0)
    4056      1 kmail    RET   __setitimer50 0
    4056      1 kmail    CALL  
__sigaction_sigtramp(SIGKILL,0x7f7fffffcaa0,0x7f7fffffca80,0x7f7fe688e060,2)
    4056      1 kmail    RET   __sigaction_sigtramp -1 errno 22 Invalid argument
    4056      1 kmail    CALL  
__sigaction_sigtramp(SIGTERM,0x7f7fffffcaa0,0x7f7fffffca80,0x7f7fe688e060,2)
    4056      1 kmail    RET   __sigaction_sigtramp 0
    4056      1 kmail    CALL  
__sigaction_sigtramp(SIGHUP,0x7f7fffffcaa0,0x7f7fffffca80,0x7f7fe688e060,2)
    4056      1 kmail    RET   __sigaction_sigtramp 0
    4056      1 kmail    CALL  write(2,0x7f7fffffc1c0,0x23)
    4056      1 kmail    GIO   fd 2 wrote 35 bytes
         "*** KMail got signal 11 (Crashing)\n"
    4056      1 kmail    RET   write 35/0x23
 
 Yours,
 
 -Mike
 


Home | Main Index | Thread Index | Old Index