Bug 54445

Summary: kde crashing on alaska air form submit
Product: [Applications] konqueror Reporter: Sean Chittenden <sean>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: FreeBSD Ports   
OS: FreeBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sean Chittenden 2003-02-11 01:43:04 UTC
Version:            (using KDE KDE 3.1)
Installed from:    FreeBSD Ports
Compiler:          gcc version 3.2.1 [FreeBSD] 20021119 (release) 
OS:          FreeBSD

Went to book a flight today on AlaskaAir.com, dumped in my departure dates and times, clicked round trip and it SEGV's on me (I think before posting data back to the server).  

#0  0x29074463 in kill () from /usr/lib/libc.so.5
#1  0x290d7737 in abort () from /usr/lib/libc.so.5
#2  0x290d5fbe in tcflow () from /usr/lib/libc.so.5
#3  0x290d5feb in tcflow () from /usr/lib/libc.so.5
#4  0x290d6aaf in malloc () from /usr/lib/libc.so.5
#5  0x28fb6dce in operator new(unsigned) () from /usr/lib/libstdc++.so.4
#6  0x28fb6d6f in operator new[](unsigned) () from /usr/lib/libstdc++.so.4
#7  0x28c90695 in QString::setLength(unsigned) ()
   from /usr/X11R6/lib/libqt-mt.so.3
#8  0x28c96c79 in QString::fromUtf8(char const*, int) ()
   from /usr/X11R6/lib/libqt-mt.so.3
#9  0x281e8886 in genericsig_handler(int) (sigNumber=6) at kdebug.h:176
#10 0x29014ac1 in _thread_sig_handler () from /usr/lib/libc_r.so.5
#11 0x29014927 in _thread_sig_handler () from /usr/lib/libc_r.so.5
#12 <signal handler called>
#13 0x29074463 in kill () from /usr/lib/libc.so.5
#14 0x290d5fbe in tcflow () from /usr/lib/libc.so.5
#15 0x290d5feb in tcflow () from /usr/lib/libc.so.5
#16 0x290d6aaf in malloc () from /usr/lib/libc.so.5
#17 0x28fb6dce in operator new(unsigned) () from /usr/lib/libstdc++.so.4
#18 0x28fb6d6f in operator new[](unsigned) () from /usr/lib/libstdc++.so.4
#19 0x28c90695 in QString::setLength(unsigned) ()
   from /usr/X11R6/lib/libqt-mt.so.3
#20 0x28c96c79 in QString::fromUtf8(char const*, int) ()
   from /usr/X11R6/lib/libqt-mt.so.3
#21 0x281e8886 in genericsig_handler(int) (sigNumber=15) at kdebug.h:176
#22 0x29014ac1 in _thread_sig_handler () from /usr/lib/libc_r.so.5
#23 0x29014927 in _thread_sig_handler () from /usr/lib/libc_r.so.5
#24 <signal handler called>
#25 0x290d6a9f in malloc () from /usr/lib/libc.so.5
#26 0x28fb6dce in operator new(unsigned) () from /usr/lib/libstdc++.so.4
#27 0x28c78c40 in QGArray::newData() () from /usr/X11R6/lib/libqt-mt.so.3
#28 0x28c77b68 in QGArray::QGArray(int) () from /usr/X11R6/lib/libqt-mt.so.3
#29 0x28c6a69c in QCString::QCString(int) () from /usr/X11R6/lib/libqt-mt.so.3
#30 0x2866fd22 in QMapPrivate<KEntryKey, KEntry>::insert(QMapNodeBase*, QMapNodeBase*, KEntryKey const&) (this=0x80b86e0, x=0x0, y=0x80b5b40, k=@0xbfbfde70)
    at qmap.h:86
#31 0x2866f9e7 in QMapPrivate<KEntryKey, KEntry>::insertSingle(KEntryKey const&) (this=0x80b86e0, k=@0xbfbfde70) at qmap.h:542
#32 0x2866f610 in QMap<KEntryKey, KEntry>::insert(KEntryKey const&, KEntry const&, bool) (this=0xbfbfe164, key=@0x0, value=@0xbfbfdd10, overwrite=true)
    at qmap.h:834
#33 0x2866f73d in QMap<KEntryKey, KEntry>::operator[](KEntryKey const&) (
    this=0xbfbfe164, k=@0xbfbfde70) at kconfigdata.h:35
#34 0x2866e960 in KConfig::putData(KEntryKey const&, KEntry const&, bool) (
    this=0xbfbfe164, _key=@0xbfbfde70, _data=@0xbfbfdeb0, _checkGroup=227)
    at kconfig.cpp:204
#35 0x28672477 in KConfigINIBackEnd::parseSingleConfigFile(QFile&, QMap<KEntryKey, KEntry>*, bool, bool) (this=0x80b0300, rFile=@0xbfbfdfa0,
    pWriteBackMap=0x0, bGlobal=true, bDefault=false) at kconfigbackend.cpp:557
#36 0x2867143f in KConfigINIBackEnd::parseConfigFiles() (this=0x80b0300)
    at qvaluelist.h:186
#37 0x2866c1e1 in KConfigBase::parseConfigFiles() (this=0xbfbfe120)
    at kconfigbase.cpp:1562
#38 0x2866e60c in KConfig::reparseConfiguration() (this=0xbfbfe120)
    at kconfig.cpp:159
#39 0x2866dc91 in KConfig (this=0xbfbfe120, fileName=@0x0, bUseKderc=true,
    resType=0x0) at kconfig.cpp:62
#40 0x28174ff5 in KSSLCertificateHome::getDefaultCertificateName(KSSLCertificateHome::KSSLAuthAction*) (aa=0xbfbfe21c) at ksslcertificatehome.cc:138
#41 0x281e224b in KIO::TCPSlaveBase::certificatePrompt() (this=0xbfbff0d8)
    at tcpslavebase.cpp:514
#42 0x281e836d in KIO::TCPSlaveBase::doSSLHandShake(bool) (this=0xbfbff0d8,
    sendError=false) at tcpslavebase.cpp:1196
#43 0x281e15b1 in KIO::TCPSlaveBase::connectToHost(QString const&, unsigned, bool) (this=0xbfbff0d8, host=@0xbfbff130, _port=443, sendError=false)
    at tcpslavebase.cpp:360
#44 0x29337641 in HTTPProtocol::httpOpenConnection() (this=0xbfbff0b0)
    at http.cc:1810
#45 0x2933bc2b in HTTPProtocol::httpOpen() (this=0xbfbff0b0) at http.cc:2310
#46 0x2932a6bb in HTTPProtocol::retrieveHeader(bool) (this=0xbfbff0b0,
    close_connection=false) at http.cc:409
#47 0x2932a3ad in HTTPProtocol::retrieveContent(bool) (this=0xbfbff0b0,
    dataInternal=false) at http.cc:379
#48 0x293317bf in HTTPProtocol::get(KURL const&) (this=0xbfbff0b0,
    url=@0xbfbfee70) at http.cc:1126
#49 0x281ef05a in KIO::SlaveBase::dispatch(int, QMemArray<char> const&) (
    this=0xbfbff0d8, command=67, data=@0xbfbfefb0) at slavebase.cpp:933
#50 0x281e98d4 in KIO::SlaveBase::dispatchLoop() (this=0xbfbff0d8)
    at slavebase.cpp:264
#51 0x2932588f in kdemain (argc=4, argv=0x807c060) at http.cc:91
#52 0x0804cb16 in launch (argc=4, _name=0x8071204 "kio_http",
    args=0x8071271 "", cwd=0x0, envc=0, envs=0x8071275 "", reset_env=false,
    tty=0x0, avoid_loops=false, startup_id_str=0x0) at kinit.cpp:547
#53 0x0804d906 in handle_launcher_request (sock=9) at kinit.cpp:1021
#54 0x0804de57 in handle_requests (waitForPid=0) at kinit.cpp:1189
#55 0x0804ef43 in main (argc=3, argv=0xbfbffc34, envp=0x0) at kinit.cpp:1540
#56 0x0804b115 in _start ()
Comment 1 Stephan Kulow 2003-10-19 13:08:05 UTC
The FreeBSD ports are with full debug infos? 
The stack trace shows it tried to save SSL certificates. As I know this works, I guess your memory
was corrupted already at the moment, but KDE 3.1.0 is just too old. Please try to reproduce it with
KDE 3.1.4 and give better infos how to reproduce it.