To track where segfaults come from on my app I run:
valgrind --leak-check=yes --log-file=valgrind.out.txt ./${EXE_NAME}
--docroot="static-content;/resources" --deploy-path="/"
--no-compression --http-address=0.0.0.0 --http-port=8000 -c
wt-config.xml
Then after the app has crashed .. read valgrind.out.txt .. and scroll down
until you find the bit in your code that caused the error.
99% chance it's something in your code ;)
Kind Regards,
Matthew Sherborne
On Fri, Sep 16, 2011 at 4:31 AM, Mohammed Rashad <mohammedrasha...@gmail.com
> wrote:
> i think it a bug in WFileUpload
> its seg fault is because of this line
> upload->spoolFileName() which is under Wt's control
> also file is getting uploaded....
>
>
> On Thu, Sep 15, 2011 at 11:57 PM, H.S.Rai <hardeep....@gmail.com> wrote:
>
>> On Thu, Sep 15, 2011 at 7:19 PM, PARVINDER RAJPUT <m...@parvinder.co.in>
>> wrote:
>> > when i have run this application through gdb
>> > it give me segmentation fault error.
>>
>> Segmentation fault me programming error, memory issue, or division by
>> zero.
>>
>> If segmentation error is there, it will be there either you use gdb or
>> not.
>>
>> --
>> H.S.Rai
>>
>>
>> ------------------------------------------------------------------------------
>> Doing More with Less: The Next Generation Virtual Desktop
>> What are the key obstacles that have prevented many mid-market businesses
>> from deploying virtual desktops? How do next-generation virtual desktops
>> provide companies an easier-to-deploy, easier-to-manage and more
>> affordable
>> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
>> _______________________________________________
>> witty-interest mailing list
>> witty-interest@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>
>
>
> --
> Regards,
> Mohammed Rashad K M
> M.S. (By Research) student
> Lab for Spatial Informatics
> Department of CSE
> International Institute of Information Technology
> Hyderabad, India
>
>
>
> ------------------------------------------------------------------------------
> Doing More with Less: The Next Generation Virtual Desktop
> What are the key obstacles that have prevented many mid-market businesses
> from deploying virtual desktops? How do next-generation virtual desktops
> provide companies an easier-to-deploy, easier-to-manage and more affordable
> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest