--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp
You can very easily find the problematic code lines using valgrind. An
example for a valgrind call could be:
valgrind --leak-check=full --track-origins=yes --show-reachable=yes
--log-file=valgrindlog.txt ./NAME_OF_YOUR_EXECUTABLE -r RUN_NUMBER -u
Cmdenv -c NAME_OF_YOUR_CONFIGURATION -n NED_PATH1; NED_PATH2 -l
LIB_PATH1 -l LIB_PATH2 --record-eventlog=false --debug-on-errors=false
./omnetpp.ini
All errors that occur will be logged to valgrindlog.txt and you can
check the sometimes rather lengthy file for the code lines resulting in
either memory holes or "seg faults".
Am 29.03.2012 21:32, schrieb Rudolf Hornig:
> Unix systems return errono 128+signal when a signal received. 128 + 11 =
> 139 . SIgnal 11 is SIGSEV (i.e. segmentation violation). = There is a
> memory access bug in your C++ code.
>
> Rudolf
>
> On Thu, Mar 29, 2012 at 10:35 AM, Sagar Pareek <sagar...@gmail.com
> <mailto:sagar...@gmail.com>> wrote:
>
> There must be some other errors too
> check out other details in console...
>
>
> On Thu, Mar 29, 2012 at 11:50 AM, Neeraj Mudgil
> <mudgil...@gmail.com <mailto:mudgil...@gmail.com>> wrote:
>
> Hello Everyone,
>
> Can anyone please tell me what is the meaning of exit code 139
> in omnet++ ?
>
> Thank you!
>
> --
> Neeraj Mudgil
> M.Tech Computer Engg.(2010-12)
> NIT Kurukshetra
>
> */
> /**/(�`�.���) Alwayz
> `�.�(�`�.���) Keep
> (�`�.���)�.�� Smiling!
> `�.�.�� /*
>
> --
> Sent from the OMNeT++ mailing list. To configure your membership,
> visit http://groups.google.com/group/omnetpp
>
>
>
>
> --
> /**/KIND REGARDS --
> SAGAR PAREEK
> COMPUTER SCIENCE AND ENGINEERING
> NIT ALLAHABAD
>
> --
> Sent from the OMNeT++ mailing list. To configure your membership,
> visit http://groups.google.com/group/omnetpp
>
>
> /**/(จ`ท.ทดจ) Alwayz
> `ท.ธ(จ`ท.ทดจ) Keep
> (จ`ท.ทดจ)ธ.ทด Smiling!
> `ท.ธ.ทด /*
On 03/30/2012 10:28 AM, Rudolf Hornig wrote:
> I'm not sure everybody knows, but a tip for today :)
>
> OMNeT++ IDE contais CDT's Linux Tools project and it can start
> valgrind too (if installed in your distro).
>
> Choose the project in question in the project explorer, right click
> and select Profile As.. | OMNeT++ simulation.
> After running your project, the valgrind output will appear in a
> separate view at the bottom...
>
> Rudolf
>
> On Fri, Mar 30, 2012 at 9:57 AM, Daniel Pfefferkorn
> <daniel.pf...@ims.uni-hannover.de
> <mailto:daniel.pf...@ims.uni-hannover.de>> wrote:
>
> As Rudolf indicated this is a segmentation fault or "seg fault".
>
> You can very easily find the problematic code lines using valgrind. An
> example for a valgrind call could be:
>
> valgrind --leak-check=full --track-origins=yes --show-reachable=yes
> --log-file=valgrindlog.txt ./NAME_OF_YOUR_EXECUTABLE -r RUN_NUMBER -u
> Cmdenv -c NAME_OF_YOUR_CONFIGURATION -n NED_PATH1; NED_PATH2 -l
> LIB_PATH1 -l LIB_PATH2 --record-eventlog=false --debug-on-errors=false
> ./omnetpp.ini
>
> All errors that occur will be logged to valgrindlog.txt and you can
> check the sometimes rather lengthy file for the code lines
> resulting in
> either memory holes or "seg faults".
>
>
> Am 29.03.2012 <tel:29.03.2012> 21:32, schrieb Rudolf Hornig:
> > Unix systems return errono 128+signal when a signal received.
> 128 + 11 =
> > 139 . SIgnal 11 is SIGSEV (i.e. segmentation violation). = There
> is a
> > memory access bug in your C++ code.
> >
> > Rudolf
> >
> > On Thu, Mar 29, 2012 at 10:35 AM, Sagar Pareek
> <sagar...@gmail.com <mailto:sagar...@gmail.com>
> > <mailto:sagar...@gmail.com <mailto:sagar...@gmail.com>>>
> wrote:
> >
> > There must be some other errors too
> > check out other details in console...
> >
> >
> > On Thu, Mar 29, 2012 at 11:50 AM, Neeraj Mudgil
> > <mudgil...@gmail.com <mailto:mudgil...@gmail.com>
> <mailto:mudgil...@gmail.com <mailto:mudgil...@gmail.com>>>
If you want to determine what kind of non-algorithmic errors there are
in your code (mem access etc.) it saves a lot of time to go with
valgrind directly IMHO.
Cheers,
Dan
Am 30.03.2012 10:34, schrieb Sagar Pareek:
> Debug is another option
>
> On Fri, Mar 30, 2012 at 1:58 PM, Rudolf Hornig <rudolf...@gmail.com
> <mailto:rudolf...@gmail.com>> wrote:
>
> I'm not sure everybody knows, but a tip for today :)
>
> OMNeT++ IDE contais CDT's Linux Tools project and it can start
> valgrind too (if installed in your distro).
>
> Choose the project in question in the project explorer, right click
> and select Profile As.. | OMNeT++ simulation.
> After running your project, the valgrind output will appear in a
> separate view at the bottom...
>
> Rudolf
>
> On Fri, Mar 30, 2012 at 9:57 AM, Daniel Pfefferkorn
> <daniel.pf...@ims.uni-hannover.de
> > <mailto:sagar...@gmail.com <mailto:sagar...@gmail.com>>>
> wrote:
> >
> > There must be some other errors too
> > check out other details in console...
> >
> >
> > On Thu, Mar 29, 2012 at 11:50 AM, Neeraj Mudgil
> > <mudgil...@gmail.com <mailto:mudgil...@gmail.com>
> <mailto:mudgil...@gmail.com <mailto:mudgil...@gmail.com>>>
> wrote:
> >
> > Hello Everyone,
> >
> > Can anyone please tell me what is the meaning of exit
> code 139
> > in omnet++ ?
> >
> > Thank you!
> >
> > --
> > Neeraj Mudgil
> > M.Tech Computer Engg.(2010-12)
> > NIT Kurukshetra
> >
> > */
> > /**/(๏ฟฝ`๏ฟฝ.๏ฟฝ๏ฟฝ๏ฟฝ) Alwayz
> > `๏ฟฝ.๏ฟฝ(๏ฟฝ`๏ฟฝ.๏ฟฝ๏ฟฝ๏ฟฝ) Keep
> > (๏ฟฝ`๏ฟฝ.๏ฟฝ๏ฟฝ๏ฟฝ)๏ฟฝ.๏ฟฝ๏ฟฝ Smiling!
> > `๏ฟฝ.๏ฟฝ.๏ฟฝ๏ฟฝ /*
Cheers,
Daniel
Am 30.03.2012 10:28, schrieb Rudolf Hornig:
> I'm not sure everybody knows, but a tip for today :)
>
> OMNeT++ IDE contais CDT's Linux Tools project and it can start valgrind
> too (if installed in your distro).
>
> Choose the project in question in the project explorer, right click and
> select Profile As.. | OMNeT++ simulation.
> After running your project, the valgrind output will appear in a
> separate view at the bottom...
>
> Rudolf
>
> On Fri, Mar 30, 2012 at 9:57 AM, Daniel Pfefferkorn
> <daniel.pf...@ims.uni-hannover.de
> <mailto:daniel.pf...@ims.uni-hannover.de>> wrote:
>
> As Rudolf indicated this is a segmentation fault or "seg fault".
>
> You can very easily find the problematic code lines using valgrind. An
> example for a valgrind call could be:
>
> valgrind --leak-check=full --track-origins=yes --show-reachable=yes
> --log-file=valgrindlog.txt ./NAME_OF_YOUR_EXECUTABLE -r RUN_NUMBER -u
> Cmdenv -c NAME_OF_YOUR_CONFIGURATION -n NED_PATH1; NED_PATH2 -l
> LIB_PATH1 -l LIB_PATH2 --record-eventlog=false --debug-on-errors=false
> ./omnetpp.ini
>
> All errors that occur will be logged to valgrindlog.txt and you can
> check the sometimes rather lengthy file for the code lines resulting in
> either memory holes or "seg faults".
>
>
> Am 29.03.2012 <tel:29.03.2012> 21:32, schrieb Rudolf Hornig:
> > Unix systems return errono 128+signal when a signal received. 128
> + 11 =
> > 139 . SIgnal 11 is SIGSEV (i.e. segmentation violation). = There is a
> > memory access bug in your C++ code.
> >
> > Rudolf
> >
> > On Thu, Mar 29, 2012 at 10:35 AM, Sagar Pareek
> <sagar...@gmail.com <mailto:sagar...@gmail.com>
> > <mailto:sagar...@gmail.com <mailto:sagar...@gmail.com>>> wrote:
> >
> > There must be some other errors too
> > check out other details in console...
> >
> >
> > On Thu, Mar 29, 2012 at 11:50 AM, Neeraj Mudgil
> > <mudgil...@gmail.com <mailto:mudgil...@gmail.com>
> <mailto:mudgil...@gmail.com <mailto:mudgil...@gmail.com>>> wrote:
> >
> > Hello Everyone,
> >
> > Can anyone please tell me what is the meaning of exit code 139
> > in omnet++ ?
> >
> > Thank you!
> >
> > --
> > Neeraj Mudgil
> > M.Tech Computer Engg.(2010-12)
> > NIT Kurukshetra
> >
> > */
> > /**/(๏ฟฝ`๏ฟฝ.๏ฟฝ๏ฟฝ๏ฟฝ) Alwayz
> > `๏ฟฝ.๏ฟฝ(๏ฟฝ`๏ฟฝ.๏ฟฝ๏ฟฝ๏ฟฝ) Keep
> > (๏ฟฝ`๏ฟฝ.๏ฟฝ๏ฟฝ๏ฟฝ)๏ฟฝ.๏ฟฝ๏ฟฝ Smiling!
> > `๏ฟฝ.๏ฟฝ.๏ฟฝ๏ฟฝ /*
The best answer forever ever
How do we link valgrind with OMNeT????
On 03/30/2012 10:28 AM, Rudolf Hornig wrote:
I'm not sure everybody knows, but a tip for today :)
OMNeT++ IDE contais CDT's Linux Tools project and it can start valgrind too (if installed in your distro).
Choose the project in question in the project explorer, right click and select Profile As.. | OMNeT++ simulation.
After running your project, the valgrind output will appear in a separate view at the bottom...
Rudolf
>>>>> daniel.pf...@ims.uni-**hannover.de<daniel.pf...@ims.uni-hannover.de><mailto:
>>>>> daniel.pfefferkorn@**ims.uni-hannover.de<daniel.pf...@ims.uni-hannover.de>>>
>>>>> > <mailto:sagar...@gmail.com <mailto:sagar...@gmail.com>**>>
>>>>>
>>>>> wrote:
>>>>> >
>>>>> > There must be some other errors too
>>>>> > check out other details in console...
>>>>> >
>>>>> >
>>>>> > On Thu, Mar 29, 2012 at 11:50 AM, Neeraj Mudgil
>>>>> > <mudgil...@gmail.com <mailto:mudgil...@gmail.com**>
>>>>> <mailto:mudgil...@gmail.com <mailto:mudgil...@gmail.com**>>>
>>>>>
>>>>> wrote:
>>>>> >
>>>>> > Hello Everyone,
>>>>> >
>>>>> > Can anyone please tell me what is the meaning of exit
>>>>> code 139
>>>>> > in omnet++ ?
>>>>> >
>>>>> > Thank you!
>>>>> >
>>>>> > --
>>>>> > Neeraj Mudgil
>>>>> > M.Tech Computer Engg.(2010-12)
>>>>> > NIT Kurukshetra
>>>>> >
>>>>> > */
>>>>> > /**/(จ`ท.ทดจ) Alwayz
>>>>> > `ท.ธ(จ`ท.ทดจ) Keep
>>>>> > (จ`ท.ทดจ)ธ.ทด Smiling!
>>>>> > `ท.ธ.ทด /*
>>>>> >
>>>>> > --
>>>>> > Sent from the OMNeT++ mailing list. To configure your
>>>>> membership,
>>>>> > visit
>>>>> http://groups.google.com/**group/omnetpp<http://groups.google.com/group/omnetpp>
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> > --
>>>>> > /**/KIND REGARDS --
>>>>> > SAGAR PAREEK
>>>>> > COMPUTER SCIENCE AND ENGINEERING
>>>>> > NIT ALLAHABAD
>>>>> >
>>>>> > --
>>>>> > Sent from the OMNeT++ mailing list. To configure your
>>>>> membership,
>>>>> > visit
>>>>> http://groups.google.com/**group/omnetpp<http://groups.google.com/group/omnetpp>
>>>>> >
>>>>> >
>>>>> > --
>>>>> > Sent from the OMNeT++ mailing list. To configure your membership,
>>>>> > visit
>>>>> http://groups.google.com/**group/omnetpp<http://groups.google.com/group/omnetpp>
>>>>>
>>>>> --
>>>>> Sent from the OMNeT++ mailing list. To configure your membership,
>>>>> visit
>>>>> http://groups.google.com/**group/omnetpp<http://groups.google.com/group/omnetpp>
>>>>>
>>>>>
>>>>> --
>>>>> Sent from the OMNeT++ mailing list. To configure your membership,
>>>>> visit
>>>>> http://groups.google.com/**group/omnetpp<http://groups.google.com/group/omnetpp>
>>>>>
>>>>
>>>> --
>>>> Sent from the OMNeT++ mailing list. To configure your membership, visit
>>>> http://groups.google.com/**group/omnetpp<http://groups.google.com/group/omnetpp>
>>>>
>>>
>>> --
>>> Sent from the OMNeT++ mailing list. To configure your membership,
>>> visit http://groups.google.com/group/omnetpp
>>>
>>
>>
>>
>> --
>> Neeraj Mudgil
>> M.Tech Computer Engg.(2010-12)
>> NIT Kurukshetra
>> Contact: 09992300873
>> *
>> **(¨`·.·´¨) Alwayz
>> `·.¸(¨`·.·´¨) Keep
>> (¨`·.·´¨)¸.·´ Smiling!
>> `·.¸.·´ *
>>
>> --
>> Sent from the OMNeT++ mailing list. To configure your membership,
>> visit http://groups.google.com/group/omnetpp
>>
>
> --
> Sent from the OMNeT++ mailing list. To configure your membership,
> visit http://groups.google.com/group/omnetpp
>
--
Neeraj Mudgil
M.Tech Computer Engg.(2010-12)
NIT Kurukshetra
Contact: 09992300873
*
**(¨`·.·´¨) Alwayz
`·.¸(¨`·.·´¨) Keep
(¨`·.·´¨)¸.·´ Smiling!
`·.¸.·´ *
On 4/1/12, Alfonso Ariza Quintana <aari...@hotmail.com> wrote:
>
>
> have you checked the number of element in the queue?
> If you are adding element but never extract the simulation will crass if the
> number of element are bigger that the maximum
>
>
*
**(¨`·.·´¨) Alwayz
`·.¸(¨`·.·´¨) Keep
(¨`·.·´¨)¸.·´ Smiling!
`·.¸.·´ *
How can I print the max_size of std::vector
ev<<vector::max_size is not working and it gives error vector not
declared also ev<<std::vector::max_size not working.
You need to check if the iterator is valid
GroupList::iterator group = groupList.find( joinDeny->getGroupId());
if (group != groupList.end())
{
// is valid
……
--
--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp
---
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.