Ticket #5 (reopened bug)

Opened 13 years ago

Last modified 6 years ago

partcl's [puts hi] exposes memory leaks in r33137

Reported by: coke Owned by:
Priority: major Milestone:
Component: core Version:
Severity: none Keywords: memory
Cc: Language: tcl
Patch status: Platform: linux

Description

First get a copy of parrot (r33137) and partcl (r172)

((  http://code.google.com/p/partcl/wiki/PartclSource ))

Once you've built partcl, run the following command:

valgrind --suppressions=/home/coke/sandbox/parrot/tools/dev/parrot.supp --num-callers=500 --leak-check=full --leak-resolution=high --show-reachable=yes ./parrot --leak-test languages/tcl/tcl.pbc -e "puts hi"

This generates the about-to-be-attached valgrind output. (I've suppressed some uninit. warnings in this output to highlight the memory issues.)

Change History

Changed 13 years ago by coke

Adding the file timed out. A copy can (temporarily) be found here:

 http://www.coleda.com/tmp/puts_hi.txt

Changed 13 years ago by coke

Still can't attach files to tickets. An updated copy can be found here:

 http://www.coleda.com/tmp/puts_hi2.txt

Was (r33137): definitely lost: 19,656 bytes in 1,002 blocks.
Now (r33343): definitely lost: 15,481 bytes in 379 blocks.

Changed 13 years ago by adu

I could not use valgrind because I am on Mac OS X. However, Apple has a tool called leaks which was very helpful. Here is the output  before and  after garbage collection (GC). The recommended way of using leaks is to run it on a PID while the program is running, and to do this I put manual hangs so that parrot would stay around long enough to be tested. This is what the files looked like for these tests.

For test 1 (before) main.c:main():

    ...
    /* testing for memory leaks */
    if (getenv("PARROT_LEAK_TEST"))
        sleep(120);

    Parrot_destroy(interp);
    ...

For test 2 (after) exit.c:Parrot_exit():

    ...
    /* testing for memory leaks */
    if (getenv("PARROT_LEAK_TEST"))
        sleep(120);

    exit(status);
    ...

Changed 13 years ago by coke

  • status changed from new to closed
  • resolution set to duplicate

This ticket has been replaced with some more specific tickets covering individual leaks.

Changed 6 years ago by 1parrota@…

  • status changed from closed to reopened
  • resolution duplicate deleted
Do we have some way of suppressing this spammer?

BTW, the SSL certificate is expired.

On 1/19/16, Parrot Languages <parrot-tickets@lists.parrot.org> wrote:
> #5: Get A Take care of On Video Advertising and marketing Below
> --------------------------------------------------------------------------------+
> Reporter:  TraceyRosman
>    |       Owner:  somebody
>     Type:  enhancement
>    |      Status:  new
> Priority:  critical
>    |   Component:  component2
> Keywords:  streaming gratuit regarder des films gratuitement streaming film
> vf  |        Lang:
>    Patch:
>    |
> --------------------------------------------------------------------------------+
>  Transform your firm into a prosperous endeavor by utilizing your time
>  wisely. This consists of engaging in advertising which actually will work.
>  This posting will enable you know how to leverage video clip promoting for
>  reaching goals in gains and revenue you one only dreamed of getting ready
>  to reach in small buy.
>
>
>
>  The biggest aspect of your video marketing needs to be your content.
>  Without having outstanding and appropriate information, your video
>  marketing will are unsuccessful. If viewers are not thinking about your
>  video tutorials, you can expect to not be able to come up with a purchase.
>  Make sure that you have intriguing and  full-streaming related content
>  material to be successful with online video marketing.
>
>  Visit industry events and meet with experts inside your niche. Men and
>  women want to hear from specialists. It will help construct have
>  confidence in from the niche and products. Trade events supply you with a
>  wonderful possibility to meet other folks, get wonderful video information
>  and make relationships that cause link backs in the expert's web site to
>  yours.
>
>  People enjoy rivalry, which explains why positioning a youtube video
>  challenge is such a great online marketing strategy. Request visitors to
>  make their particular videos then have everyone vote about them. This will
>  help generate audiences to the web site and stimulate them through giving
>  them a chance to acquire one thing.
>
>  Do you want that there was a way to advertise your company while using
>  images? If so, then you're lucky, because there is 1 technique that you
>  might be curious about attempting. The technique is named video marketing
>  and thru the next write-up, you'll figure out how to make use of it via a
>  wide range of tips.
>
>  A video is a excellent way to sector your company, but will not do it also
>  overtly. You can demonstrate your customers how to use your product or
>  service or how it really is serving to people today all-around the nation,
>  but will not cram your gross sales pitch down their throat - permit the
>  product or service market by itself in the video.
>
>  The headline of your respective online video is as vital as the
>  information when trying to attract audiences. Individuals who search on
>  Facebook or twitter, Youtube . com or Google will see the name very first,
>  so it must find their focus and attract these people to click. Spend some
>  time when deciding on a label and placed genuine imagined with it.
>
>  Create a online video, not really a commercial. Even when  streaming serie
>  you are offering anything, men and women don't like observing
>  advertisements, sometimes on tv or online. Instead, create a video that is
>  certainly entertaining or educational, although nevertheless associated
>  with your product or service. People checking out video lessons are
>  usually looking to be interested, not pitched to.
>
>  If you choose to employ a video marketing specialist to generate a video
>  for the organization, take a look at their stock portfolio initially. You
>  must employ a expert who can make some high quality videos, deal with a
>  certain area of interest and encourage customers to acquire something. Do
>  not waste your time and money with a skilled who does not have a good
>  collection.
>
>  If you have a merchandise that is quite complicated to use, you ought to
>  develop a video that will give  cpasbien phase-by-move instructions to
>  users. They will appreciate the time you took to clarify your merchandise
>  to them. This will make it  voir film en streaming additional probably
>  they will occur to you when hunting for extra solutions.
>
>  Video tutorials make your website much more entertaining but keep in mind
>  that they are certainly not an ideal remedy for your personal search
>  engine marketing campaign. It is possible to optimize your videos by
>  choosing descriptive titles full of key phrases and incorporating a
>  transcript or perhaps a breakdown of the information from the video you
>  wish to function.
>
>  If you are going to use YouTube, take advantage of different editing
>  characteristics the internet site hosts. For instance, you have the method
>  to put annotations during your videos. This provides the right means to
>  share links, add more additional information and facts or maybe provide a
>  discount code.
>
>  Think about purchasing a tripod. The only time a shaky camera is nice is
>  in a terror film. When attempting to promote your video tutorials, your
>  videos must be steady and have clean panning. It will require only an
>  issue of moments to your viewer to look for the price of your clip.
>
>  Shelling out some funds on a electronic microphone is a good purchase. It
>  is possible to find a device that may capture your video clip with great
>  quality of image. Nevertheless, sounding effectively may not take place
>  with similar device. Your authoritative and comfortable tone of voice are
>  capable of doing things no video snapshot possibly will.
>
>  Currently, if marketing with video   streaming films  regarder serie
>  gratuit can be a main a part of growing any business. Nevertheless,
>  creating a productive method isn't constantly that easy. The following
>  report has some helpful tricks and tips that you can use. Keep reading and
>  understand some good methods for you to boost your business' video
>  marketing  streaming cpasbien method.
>
>  If you loved this report and you would like to receive more info relating
>  k streaming to regarder serie  film streaming gratuit
>  ([http://i-79.tumblr.com/ i-79.tumblr.com]) kindly check out our website.
>
> --
> Ticket URL: <https://trac.parrot.org/languages/ticket/5>
> Parrot Languages <https://trac.parrot.org/languages/>
> Parrot Languages
> _______________________________________________
> parrot-tickets mailing list
> parrot-tickets@lists.parrot.org
> http://lists.parrot.org/mailman/listinfo/parrot-tickets
>

Note: See TracTickets for help on using tickets.