Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Ubuntu buildbot error

From: Ravi Kondamuru <ravikondamuru@xxxxxxxxx>
Date: Mon, 1 Jun 2009 21:07:45 -0700
The compilation on ubuntu-7.10-x86-64 seems to be completing without warnings now. But it seems to be continuously failing at
fuzz-menagerie. The stdio log file ends like this:

    /var/lib/buildbot/menagerie/menagerie/mtl.cap:  OK
/var/lib/buildbot/menagerie/menagerie/multi-example.asn1:
ERROR
Processing failed. Capture info follows:

Input file: /var/lib/buildbot/menagerie/menagerie/multi-example.asn1
stderr follows:

/home/buildbot/bb-wireshark/trunk/ubuntu710x86/build/tools/fuzz-test.sh: line 119: 16944 CPU time limit exceeded (core dumped) "$CAPINFOS" "$CF" > /dev/null 2> $TMP_DIR/$ERR_FILE
ls: cannot access /dev/shm/buildbot/ubuntu710x86/menagerie-fuzz/fuzz-*.pcap: No such file or directory
program finished with exit code 1


On Mon, Jun 1, 2009 at 1:52 PM, Jakub Zawadzki <darkjames@xxxxxxxxxxxxxxxx> wrote:
On Mon, Jun 01, 2009 at 10:46:40PM +0200, Jakub Zawadzki wrote:
> On Mon, Jun 01, 2009 at 09:05:29PM +0200, Stig Bj?rlykke wrote:
> > Hi.
> >
> > I don't get the same warnings on my Ubuntu 8.04 or 9.04 as the
> > buildbot get.
> > Anyone able to find a fix for this?
>
> Sample code:
>
> #include <stdio.h>
>
> int main() {
>         int *ptr = NULL;
>
>         int bad = (int) ptr;  /* this generates warning for 64bit systems
>                                  cast from pointer to integer
>                                  of different size */
>         int good = (int) (long) ptr; /* this doesn't */
>
>         return 0;
> }

Me again, I just realized wireshark is using glib and it should use
glib-portable GPOINTER_TO_INT() :)
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe