Qt-interest Archive, September 2007
QHttp Problem with many requests [Qt-4.3]
Message 1 in thread
Hello !
Is there a known error in Qt-4.3* (tried 4.3.1 and
4.3.2-snapshot-050907, Linux and Mac Platform) in the QHttp class with
many requests?
I use QHttp to look multiple webpages, for this I use a QStringList with
URLs and than I download every page listed in the QStringList.
If the QStringList has only 10 entries, every thing works fine, if the
list has 6000 entries, the following error occurs:
I don't know, where I should look know.
If someone knows the answer or had a tip for me, this would be great !
Thanks a lot for helping !
Best regards,
Heiko Steindl
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1231415632 (LWP 29571)]
0xb707ff0a in QHttpPrivate::finishedWithSuccess (this=0xc016d70)
at qhttp.cpp:2476
2476 delete r;
(gdb) bt
#0 0xb707ff0a in QHttpPrivate::finishedWithSuccess (this=0xc016d70)
at qhttp.cpp:2476
#1 0xb707ff68 in QHttpPrivate::_q_slotDoFinished (this=0xc016d70)
at qhttp.cpp:2874
#2 0xb7086af5 in QHttp::qt_metacall (this=0x8198320,
_c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xc074c08)
at .moc/debug-shared/moc_qhttp.cpp:122
#3 0xb6fa1518 in QMetaCallEvent::placeMetaCall (this=0xc067100,
object=0x8198320) at kernel/qobject.cpp:538
#4 0xb6fa6a47 in QObject::event (this=0x8198320, e=0xc067100)
at kernel/qobject.cpp:1124
#5 0xb74108e9 in QApplicationPrivate::notify_helper (this=0x80d3610,
receiver=0x8198320, e=0xc067100) at kernel/qapplication.cpp:3558
#6 0xb7410b92 in QApplication::notify (this=0xbfbb9814, receiver=0x8198320,
e=0xc067100) at kernel/qapplication.cpp:3117
#7 0xb6f92d96 in QCoreApplication::notifyInternal (this=0xbfbb9814,
receiver=0x8198320, event=0xc067100) at kernel/qcoreapplication.cpp:532
#8 0xb6f968c1 in QCoreApplication::sendEvent (receiver=0x8198320,
event=0xc067100)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:202
#9 0xb6f93275 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0,
event_type=0, data=0x80d36b8) at kernel/qcoreapplication.cpp:1118
#10 0xb6f93497 in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=-1) at kernel/qcoreapplication.cpp:1003
#11 0xb6fbf49a in postEventSourceDispatch (s=0x80da0a0)
at kernel/qeventdispatcher_glib.cpp:209
#12 0xb6e10e1d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
--
[ signature omitted ]
Message 2 in thread
Hello !
The problem was in my own code, it was not in Qt ! (It was very
difficult to find it)
Thanks a lot and have a nice weekend !
Heiko
Am 06.09.2007 um 15:57 schrieb Heiko Steindl:
> Hello !
>
> Is there a known error in Qt-4.3* (tried 4.3.1 and
> 4.3.2-snapshot-050907, Linux and Mac Platform) in the QHttp class with
> many requests?
>
> I use QHttp to look multiple webpages, for this I use a QStringList
> with
> URLs and than I download every page listed in the QStringList.
>
> If the QStringList has only 10 entries, every thing works fine, if the
> list has 6000 entries, the following error occurs:
>
> I don't know, where I should look know.
>
> If someone knows the answer or had a tip for me, this would be great !
>
> Thanks a lot for helping !
>
> Best regards,
>
> Heiko Steindl
>
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1231415632 (LWP 29571)]
> 0xb707ff0a in QHttpPrivate::finishedWithSuccess (this=0xc016d70)
> at qhttp.cpp:2476
> 2476 delete r;
> (gdb) bt
> #0 0xb707ff0a in QHttpPrivate::finishedWithSuccess (this=0xc016d70)
> at qhttp.cpp:2476
> #1 0xb707ff68 in QHttpPrivate::_q_slotDoFinished (this=0xc016d70)
> at qhttp.cpp:2874
> #2 0xb7086af5 in QHttp::qt_metacall (this=0x8198320,
> _c=QMetaObject::InvokeMetaMethod, _id=19, _a=0xc074c08)
> at .moc/debug-shared/moc_qhttp.cpp:122
> #3 0xb6fa1518 in QMetaCallEvent::placeMetaCall (this=0xc067100,
> object=0x8198320) at kernel/qobject.cpp:538
> #4 0xb6fa6a47 in QObject::event (this=0x8198320, e=0xc067100)
> at kernel/qobject.cpp:1124
> #5 0xb74108e9 in QApplicationPrivate::notify_helper (this=0x80d3610,
> receiver=0x8198320, e=0xc067100) at kernel/qapplication.cpp:3558
> #6 0xb7410b92 in QApplication::notify (this=0xbfbb9814,
> receiver=0x8198320,
> e=0xc067100) at kernel/qapplication.cpp:3117
> #7 0xb6f92d96 in QCoreApplication::notifyInternal (this=0xbfbb9814,
> receiver=0x8198320, event=0xc067100) at kernel/
> qcoreapplication.cpp:532
> #8 0xb6f968c1 in QCoreApplication::sendEvent (receiver=0x8198320,
> event=0xc067100)
> at ../../include/QtCore/../../src/corelib/kernel/
> qcoreapplication.h:202
> #9 0xb6f93275 in QCoreApplicationPrivate::sendPostedEvents
> (receiver=0x0,
> event_type=0, data=0x80d36b8) at kernel/qcoreapplication.cpp:1118
> #10 0xb6f93497 in QCoreApplication::sendPostedEvents (receiver=0x0,
> event_type=-1) at kernel/qcoreapplication.cpp:1003
> #11 0xb6fbf49a in postEventSourceDispatch (s=0x80da0a0)
> at kernel/qeventdispatcher_glib.cpp:209
> #12 0xb6e10e1d in g_main_context_dispatch () from /usr/lib/
> libglib-2.0.so.0
>
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx
> with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
--
[ signature omitted ]