Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, May 2007
Segmentation fault when using postEvent to update mainGUI


Message 1 in thread

Hi,all
I have four time_consuming_func in my apps,they are called one after one.
When they exit ,certain messages  generate,and mainGUI should display
these messages.
At first,I put the four funcs in a list,and use thread to sequentially
run them,when one func ends
emit a signal to main ,and mainGUI show the messages. It more or less
works,but sometimes
crash with a lot X errors. I asked here and somebody suggest me to use
postEvent();
Then I moved  to postEvent(). At one func' exits , post a event with a
enum type to an eventfilter;
And the eventfilter emits a certain signal to mainGUI according to the type.
But apps crashes when starts,I use gdb to debug it,and found a strange
thing: it is always get
SIGSEGV when the third func' enevt posted. Both the third func and the
third func's call in thread
is fine,and same as the others,why it is always got SIGSEGV in the third?

+++++++++++++++++++++++++++++++++++++++++++
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1234020656 (LWP 1612)]
0xb7ab01cc in QWidget::style () from /usr/lib/qt/lib/libqt-mt.so.3
+++++++++++++++++++++++++++++++++++++++++++++
I'm sorry that the issus is not so 'direct'.
And what should I care about when using postEvent in thread?

Best regards

-- 
 [ signature omitted ] 

Message 2 in thread

On 20.05.07 23:27:23, jiang jefix wrote:
> Hi,all
> I have four time_consuming_func in my apps,they are called one after one.
> When they exit ,certain messages  generate,and mainGUI should display
> these messages.
> At first,I put the four funcs in a list,and use thread to sequentially
> run them,when one func ends
> emit a signal to main ,and mainGUI show the messages. It more or less
> works,but sometimes
> crash with a lot X errors. I asked here and somebody suggest me to use
> postEvent();
> Then I moved  to postEvent(). At one func' exits , post a event with a
> enum type to an eventfilter;
> And the eventfilter emits a certain signal to mainGUI according to the type.
> But apps crashes when starts,I use gdb to debug it,and found a strange
> thing: it is always get
> SIGSEGV when the third func' enevt posted. Both the third func and the
> third func's call in thread
> is fine,and same as the others,why it is always got SIGSEGV in the third?
> 
> +++++++++++++++++++++++++++++++++++++++++++
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1234020656 (LWP 1612)]
> 0xb7ab01cc in QWidget::style () from /usr/lib/qt/lib/libqt-mt.so.3
> +++++++++++++++++++++++++++++++++++++++++++++
> I'm sorry that the issus is not so 'direct'.
> And what should I care about when using postEvent in thread?

You certainly don't want to pass pointers around unless you are sure
that the pointer exists for quite some time. Also you need to create a
backtrace to know where exactly it crashes and to get some hint on which
pointer may be null. Mostly segmentation faults happen when accessing a
pointer that either points to garbage or that points to 0.

And without the postEvent code and the eventfilter that handles the even
we can't tell you what might be wrong.

Andreas

-- 
 [ signature omitted ] 

Message 3 in thread

Hi,how to create a backtrace? A core?
It is strange that my Slackware11 cannot create core,
ulimit -a show core size is 20000,but no core creates,
Please tell me how to create a backtrace,
thanks a lot

2007/5/20, Andreas Pakulat <apaku@xxxxxx>:
> On 20.05.07 23:27:23, jiang jefix wrote:
> > Hi,all
> > I have four time_consuming_func in my apps,they are called one after one.
> > When they exit ,certain messages  generate,and mainGUI should display
> > these messages.
> > At first,I put the four funcs in a list,and use thread to sequentially
> > run them,when one func ends
> > emit a signal to main ,and mainGUI show the messages. It more or less
> > works,but sometimes
> > crash with a lot X errors. I asked here and somebody suggest me to use
> > postEvent();
> > Then I moved  to postEvent(). At one func' exits , post a event with a
> > enum type to an eventfilter;
> > And the eventfilter emits a certain signal to mainGUI according to the type.
> > But apps crashes when starts,I use gdb to debug it,and found a strange
> > thing: it is always get
> > SIGSEGV when the third func' enevt posted. Both the third func and the
> > third func's call in thread
> > is fine,and same as the others,why it is always got SIGSEGV in the third?
> >
> > +++++++++++++++++++++++++++++++++++++++++++
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread -1234020656 (LWP 1612)]
> > 0xb7ab01cc in QWidget::style () from /usr/lib/qt/lib/libqt-mt.so.3
> > +++++++++++++++++++++++++++++++++++++++++++++
> > I'm sorry that the issus is not so 'direct'.
> > And what should I care about when using postEvent in thread?
>
> You certainly don't want to pass pointers around unless you are sure
> that the pointer exists for quite some time. Also you need to create a
> backtrace to know where exactly it crashes and to get some hint on which
> pointer may be null. Mostly segmentation faults happen when accessing a
> pointer that either points to garbage or that points to 0.
>
> And without the postEvent code and the eventfilter that handles the even
> we can't tell you what might be wrong.
>
> Andreas
>
> --
> You fill a much-needed gap.
>
> --
> 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 ] 

Message 4 in thread

Use gdb to run your software... you lunch it with gdb /path/to/ur/app
Then type "r" and press enter... when program starts make it segfault  
running function with postEvent.
When you software hang type bt and it will post Backtrace... And  
don't forget to build you application with debug option enabled, and  
with release option disabled

On May 20, 2007, at 6:06 PM, jiang jefix wrote:

> Hi,how to create a backtrace? A core?
> It is strange that my Slackware11 cannot create core,
> ulimit -a show core size is 20000,but no core creates,
> Please tell me how to create a backtrace,
> thanks a lot
>
> 2007/5/20, Andreas Pakulat <apaku@xxxxxx>:
>> On 20.05.07 23:27:23, jiang jefix wrote:
>> > Hi,all
>> > I have four time_consuming_func in my apps,they are called one  
>> after one.
>> > When they exit ,certain messages  generate,and mainGUI should  
>> display
>> > these messages.
>> > At first,I put the four funcs in a list,and use thread to  
>> sequentially
>> > run them,when one func ends
>> > emit a signal to main ,and mainGUI show the messages. It more or  
>> less
>> > works,but sometimes
>> > crash with a lot X errors. I asked here and somebody suggest me  
>> to use
>> > postEvent();
>> > Then I moved  to postEvent(). At one func' exits , post a event  
>> with a
>> > enum type to an eventfilter;
>> > And the eventfilter emits a certain signal to mainGUI according  
>> to the type.
>> > But apps crashes when starts,I use gdb to debug it,and found a  
>> strange
>> > thing: it is always get
>> > SIGSEGV when the third func' enevt posted. Both the third func  
>> and the
>> > third func's call in thread
>> > is fine,and same as the others,why it is always got SIGSEGV in  
>> the third?
>> >
>> > +++++++++++++++++++++++++++++++++++++++++++
>> > Program received signal SIGSEGV, Segmentation fault.
>> > [Switching to Thread -1234020656 (LWP 1612)]
>> > 0xb7ab01cc in QWidget::style () from /usr/lib/qt/lib/libqt-mt.so.3
>> > +++++++++++++++++++++++++++++++++++++++++++++
>> > I'm sorry that the issus is not so 'direct'.
>> > And what should I care about when using postEvent in thread?
>>
>> You certainly don't want to pass pointers around unless you are sure
>> that the pointer exists for quite some time. Also you need to  
>> create a
>> backtrace to know where exactly it crashes and to get some hint on  
>> which
>> pointer may be null. Mostly segmentation faults happen when  
>> accessing a
>> pointer that either points to garbage or that points to 0.
>>
>> And without the postEvent code and the eventfilter that handles  
>> the even
>> we can't tell you what might be wrong.
>>
>> Andreas
>>
>> --
>> You fill a much-needed gap.
>>
>> --
>> 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/
>>
>>
>
>
> -- 
> qt 3.3.6
> kde 3.5
> thanks for your help
>
> --
> 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 ] 

Message 5 in thread

thanks,when got SIGSEGV
backtrack show these
#0  0xb7afe1cc in ?? ()
#1  0xb7f28970 in ?? ()
#2  0xb7f119b4 in ?? ()
#3  0xbfb57ed8 in ?? ()
#4  0xb7afed52 in ?? ()
#5  0x081bca10 in ?? ()
#6  0xb6d63120 in ?? ()
#7  0x00000030 in ?? ()
hmm....

2007/5/21, Naresh <naresh@xxxxxxx>:
> Use gdb to run your software... you lunch it with gdb /path/to/ur/app
> Then type "r" and press enter... when program starts make it segfault
> running function with postEvent.
> When you software hang type bt and it will post Backtrace... And
> don't forget to build you application with debug option enabled, and
> with release option disabled
>
> On May 20, 2007, at 6:06 PM, jiang jefix wrote:
>
> > Hi,how to create a backtrace? A core?
> > It is strange that my Slackware11 cannot create core,
> > ulimit -a show core size is 20000,but no core creates,
> > Please tell me how to create a backtrace,
> > thanks a lot
> >
> > 2007/5/20, Andreas Pakulat <apaku@xxxxxx>:
> >> On 20.05.07 23:27:23, jiang jefix wrote:
> >> > Hi,all
> >> > I have four time_consuming_func in my apps,they are called one
> >> after one.
> >> > When they exit ,certain messages  generate,and mainGUI should
> >> display
> >> > these messages.
> >> > At first,I put the four funcs in a list,and use thread to
> >> sequentially
> >> > run them,when one func ends
> >> > emit a signal to main ,and mainGUI show the messages. It more or
> >> less
> >> > works,but sometimes
> >> > crash with a lot X errors. I asked here and somebody suggest me
> >> to use
> >> > postEvent();
> >> > Then I moved  to postEvent(). At one func' exits , post a event
> >> with a
> >> > enum type to an eventfilter;
> >> > And the eventfilter emits a certain signal to mainGUI according
> >> to the type.
> >> > But apps crashes when starts,I use gdb to debug it,and found a
> >> strange
> >> > thing: it is always get
> >> > SIGSEGV when the third func' enevt posted. Both the third func
> >> and the
> >> > third func's call in thread
> >> > is fine,and same as the others,why it is always got SIGSEGV in
> >> the third?
> >> >
> >> > +++++++++++++++++++++++++++++++++++++++++++
> >> > Program received signal SIGSEGV, Segmentation fault.
> >> > [Switching to Thread -1234020656 (LWP 1612)]
> >> > 0xb7ab01cc in QWidget::style () from /usr/lib/qt/lib/libqt-mt.so.3
> >> > +++++++++++++++++++++++++++++++++++++++++++++
> >> > I'm sorry that the issus is not so 'direct'.
> >> > And what should I care about when using postEvent in thread?
> >>
> >> You certainly don't want to pass pointers around unless you are sure
> >> that the pointer exists for quite some time. Also you need to
> >> create a
> >> backtrace to know where exactly it crashes and to get some hint on
> >> which
> >> pointer may be null. Mostly segmentation faults happen when
> >> accessing a
> >> pointer that either points to garbage or that points to 0.
> >>
> >> And without the postEvent code and the eventfilter that handles
> >> the even
> >> we can't tell you what might be wrong.
> >>
> >> Andreas
> >>
> >> --
> >> You fill a much-needed gap.
> >>
> >> --
> >> 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/
> >>
> >>
> >
> >
> > --
> > qt 3.3.6
> > kde 3.5
> > thanks for your help
> >
> > --
> > 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/
> >
>
> --
> 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 ] 

Message 6 in thread

On 21.05.07 00:24:12, jiang jefix wrote:
> thanks,when got SIGSEGV
> backtrack show these
> #0  0xb7afe1cc in ?? ()
> #1  0xb7f28970 in ?? ()
> #2  0xb7f119b4 in ?? ()
> #3  0xbfb57ed8 in ?? ()
> #4  0xb7afed52 in ?? ()
> #5  0x081bca10 in ?? ()
> #6  0xb6d63120 in ?? ()
> #7  0x00000030 in ?? ()
> hmm....

You didn't build with debug enabled. Are you using QMake as buildsystem?
If so use 

CONFIG -= release
CONFIG += debug

If not make sure to link against the debug libraries of Qt, not the
release ones. IIRC the debug ones are called QtCore_debug, but am not
sure...

Andreas

-- 
 [ signature omitted ] 

Message 7 in thread

On 21.05.07 00:06:28, jiang jefix wrote:
> Hi,how to create a backtrace? A core?
> It is strange that my Slackware11 cannot create core,
> ulimit -a show core size is 20000,but no core creates,
> Please tell me how to create a backtrace,

Run your app in gdb and when it crashes type bt at the gdb prompt.

Andreas

-- 
 [ signature omitted ] 

Message 8 in thread

backtrace show these

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1954]
0xb7b741cc in ?? ()
(gdb) bt
#0  0xb7b741cc in ?? ()
#1  0xb7f9e970 in ?? ()
#2  0xb7f879b4 in ?? ()
#3  0xbf9a8d38 in ?? ()
#4  0xb7b74d52 in ?? ()
#5  0x081b6508 in ?? ()
#6  0xb6dd9120 in ?? ()
#7  0x00000030 in ?? ()
#8  0xb6eeaff4 in ?? ()
#9  0xb7f9e970 in ?? ()
#10 0x00000000 in ?? ()
(gdb)
why '??()'

2007/5/21, Andreas Pakulat <apaku@xxxxxx>:
> On 21.05.07 00:06:28, jiang jefix wrote:
> > Hi,how to create a backtrace? A core?
> > It is strange that my Slackware11 cannot create core,
> > ulimit -a show core size is 20000,but no core creates,
> > Please tell me how to create a backtrace,
>
> Run your app in gdb and when it crashes type bt at the gdb prompt.
>
> Andreas
>
> --
> You are a very redundant person, that's what kind of person you are.
>
> --
> 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 ] 

Message 9 in thread

when use n in gdb
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1233713456 (LWP 1970)]
0xb7afb1cc in QWidget::style () from /usr/lib/qt/lib/libqt-mt.so.3
(gdb) bt
#0  0xb7afb1cc in QWidget::style () from /usr/lib/qt/lib/libqt-mt.so.3
#1  0xb7afbd52 in QWidget::isActiveWindow () from /usr/lib/qt/lib/libqt-mt.so.3
#2  0xb7326d58 in (anonymous namespace)::QXEmbedAppFilter::eventFilter
() from /opt/kde/lib/libkdeui.so.4
#3  0xb7a642a3 in QApplication::internalNotify () from
/usr/lib/qt/lib/libqt-mt.so.3
#4  0xb7a643dc in QApplication::notify () from /usr/lib/qt/lib/libqt-mt.so.3
#5  0xb75bfac5 in KApplication::notify () from /opt/kde/lib/libkdecore.so.4
#6  0xb7a652f0 in QApplication::sendPostedEvents () from
/usr/lib/qt/lib/libqt-mt.so.3
#7  0xb7a65384 in QApplication::sendPostedEvents () from
/usr/lib/qt/lib/libqt-mt.so.3
#8  0xb7a0fea6 in QEventLoop::processEvents () from
/usr/lib/qt/lib/libqt-mt.so.3
#9  0xb7a7a961 in QEventLoop::enterLoop () from /usr/lib/qt/lib/libqt-mt.so.3
#10 0xb7a7a8b6 in QEventLoop::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#11 0xb7a6339f in QApplication::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#12 0x0807845b in main (argc=134770312, argv=0xb6d60160) at main.cc:47

#0  0xb7afb1cc in QWidget::style () from /usr/lib/qt/lib/libqt-mt.so.3
#1  0xb7afbd52 in QWidget::isActiveWindow () from /usr/lib/qt/lib/libqt-mt.so.3
#2  0xb7326d58 in (anonymous namespace)::QXEmbedAppFilter::eventFilter
() from /opt/kde/lib/libkdeui.so.4
#3  0xb7a642a3 in QApplication::internalNotify () from
/usr/lib/qt/lib/libqt-mt.so.3
#4  0xb7a643dc in QApplication::notify () from /usr/lib/qt/lib/libqt-mt.so.3
#5  0xb75bfac5 in KApplication::notify () from /opt/kde/lib/libkdecore.so.4
#6  0xb7a652f0 in QApplication::sendPostedEvents () from
/usr/lib/qt/lib/libqt-mt.so.3
#7  0xb7a65384 in QApplication::sendPostedEvents () from
/usr/lib/qt/lib/libqt-mt.so.3
#8  0xb7a0fea6 in QEventLoop::processEvents () from
/usr/lib/qt/lib/libqt-mt.so.3
#9  0xb7a7a961 in QEventLoop::enterLoop () from /usr/lib/qt/lib/libqt-mt.so.3
#10 0xb7a7a8b6 in QEventLoop::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#11 0xb7a6339f in QApplication::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#12 0x0807845b in main (argc=134770312, argv=0xb6d60160) at main.cc:47


2007/5/21, jiang jefix <jefix214@xxxxxxxxx>:
> backtrace show these
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to LWP 1954]
> 0xb7b741cc in ?? ()
> (gdb) bt
> #0  0xb7b741cc in ?? ()
> #1  0xb7f9e970 in ?? ()
> #2  0xb7f879b4 in ?? ()
> #3  0xbf9a8d38 in ?? ()
> #4  0xb7b74d52 in ?? ()
> #5  0x081b6508 in ?? ()
> #6  0xb6dd9120 in ?? ()
> #7  0x00000030 in ?? ()
> #8  0xb6eeaff4 in ?? ()
> #9  0xb7f9e970 in ?? ()
> #10 0x00000000 in ?? ()
> (gdb)
> why '??()'
>
> 2007/5/21, Andreas Pakulat <apaku@xxxxxx>:
> > On 21.05.07 00:06:28, jiang jefix wrote:
> > > Hi,how to create a backtrace? A core?
> > > It is strange that my Slackware11 cannot create core,
> > > ulimit -a show core size is 20000,but no core creates,
> > > Please tell me how to create a backtrace,
> >
> > Run your app in gdb and when it crashes type bt at the gdb prompt.
> >
> > Andreas
> >
> > --
> > You are a very redundant person, that's what kind of person you are.
> >
> > --
> > 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/
> >
> >
>
>
> --
> qt 3.3.6
> kde 3.5
> thanks for your help
>


-- 
 [ signature omitted ] 

Message 10 in thread

On 5/20/07, jiang jefix <jefix214@xxxxxxxxx> wrote:
>
> Hi,all
> I have four time_consuming_func in my apps,they are called one after one.
> When they exit ,certain messages  generate,and mainGUI should display
> these messages.
> At first,I put the four funcs in a list,and use thread to sequentially
> run them,when one func ends
> emit a signal to main ,and mainGUI show the messages. It more or less
> works,but sometimes
> crash with a lot X errors. I asked here and somebody suggest me to use
> postEvent();
> Then I moved  to postEvent(). At one func' exits , post a event with a
> enum type to an eventfilter;
> And the eventfilter emits a certain signal to mainGUI according to the
> type.
> But apps crashes when starts,I use gdb to debug it,and found a strange
> thing: it is always get
> SIGSEGV when the third func' enevt posted. Both the third func and the
> third func's call in thread
> is fine,and same as the others,why it is always got SIGSEGV in the third?
>
> +++++++++++++++++++++++++++++++++++++++++++
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1234020656 (LWP 1612)]
> 0xb7ab01cc in QWidget::style () from /usr/lib/qt/lib/libqt-mt.so.3
> +++++++++++++++++++++++++++++++++++++++++++++


It looks like you're trying to do something with a QWidget from the worker
thread, is that correct? Remember, all accesses to widgets must be from the
main thread.

Tom

Message 11 in thread

When use n it shows
#0  0xb7afb1cc in QWidget::style () from /usr/lib/qt/lib/libqt-mt.so.3
#1  0xb7afbd52 in QWidget::isActiveWindow () from /usr/lib/qt/lib/libqt-mt.so.3
#2  0xb7326d58 in (anonymous namespace)::QXEmbedAppFilter::eventFilter
() from /opt/kde/lib/libkdeui.so.4
#3  0xb7a642a3 in QApplication::internalNotify () from
/usr/lib/qt/lib/libqt-mt.so.3
#4  0xb7a643dc in QApplication::notify () from /usr/lib/qt/lib/libqt-mt.so.3
#5  0xb75bfac5 in KApplication::notify () from /opt/kde/lib/libkdecore.so.4
#6  0xb7a652f0 in QApplication::sendPostedEvents () from
/usr/lib/qt/lib/libqt-mt.so.3
#7  0xb7a65384 in QApplication::sendPostedEvents () from
/usr/lib/qt/lib/libqt-mt.so.3
#8  0xb7a0fea6 in QEventLoop::processEvents () from
/usr/lib/qt/lib/libqt-mt.so.3
#9  0xb7a7a961 in QEventLoop::enterLoop () from /usr/lib/qt/lib/libqt-mt.so.3
#10 0xb7a7a8b6 in QEventLoop::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#11 0xb7a6339f in QApplication::exec () from /usr/lib/qt/lib/libqt-mt.so.3
#12 0x0807845b in main (argc=134770312, argv=0xb6d60160) at main.cc:47


20 May 2007 09:39:00 -0700, Scott Aron Bloom <scott@xxxxxxxxxxxx>:
> you don't have your symbols loaded... Did you build a release build?
> --Scott
> -----Original Message-----
> From: "jiang jefix" <jefix214@xxxxxxxxx>
> Date: Sunday, May 20, 2007 9:43 am
> Subject: Re: Segmentation fault when using postEvent to update mainGUI
> To: qt-interest@xxxxxxxxxxxxx
>
> backtrace show these
> >
> >Program received signal SIGSEGV, Segmentation fault.
> >[Switching to LWP 1954]
> >0xb7b741cc in ?? ()
> >(gdb) bt
> >#0  0xb7b741cc in ?? ()
> >#1  0xb7f9e970 in ?? ()
> >#2  0xb7f879b4 in ?? ()
> >#3  0xbf9a8d38 in ?? ()
> >#4  0xb7b74d52 in ?? ()
> >#5  0x081b6508 in ?? ()
> >#6  0xb6dd9120 in ?? ()
> >#7  0x00000030 in ?? ()
> >#8  0xb6eeaff4 in ?? ()
> >#9  0xb7f9e970 in ?? ()
> >#10 0x00000000 in ?? ()
> >(gdb)
> >why '??()'
> >
> >2007/5/21, Andreas Pakulat <apaku@xxxxxx>:
> > On 21.05.07 00:06:28, jiang jefix wrote:
> > > Hi,how to create a backtrace? A core?
> > > It is strange that my Slackware11 cannot create core,
> > > ulimit -a show core size is 20000,but no core creates,
> > > Please tell me how to create a backtrace,
> >
> >> Run your app in gdb and when it crashes type bt at the gdb prompt.
> >
> >> Andreas
> >
> >> --
> > You are a very redundant person, that's what kind of person you are.
> >
> >> --
> > 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/
> >
> >>
> >
> >
> >-- qt 3.3.6
> >kde 3.5
> >thanks for your help
> >
> >--
> >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 ]