Loading ...
Sorry, an error occurred while loading the content.

Compilation problems

Expand Messages
  • backtopopagain
    Hello, I ve been trying to install Skylendar on my machine (AMD64, Gentoo 2.16, gcc 4.1.1, KDE 3.5.6, qt 4.1.4). However, it fails to compile: astroutils.cpp:
    Message 1 of 9 , May 3, 2007
    • 0 Attachment
      Hello,
      I've been trying to install Skylendar on my machine (AMD64, Gentoo
      2.16, gcc
      4.1.1, KDE 3.5.6, qt 4.1.4). However, it fails to compile:
      astroutils.cpp: In function 'AstroString& Sprintf(const AstroString&,
      AstroString*, ...)':
      astroutils.cpp:206: warning: dereferencing type-punned pointer will break
      strict-aliasing rules
      astroutils.cpp:216: error: cast from 'char*' to 'int' loses precision
      astroutils.cpp:224: error: cast from 'char*' to 'int' loses precision

      Switching int to long allows the program to compile (the same
      modification should be done on astrosql.cpp, lines :211: and:218:).
      However, skylendar crashes at the opening (nothing is displayed at
      all, I just got the message "KCrash: Application 'skylendar'
      crashing..." when using the command line skylendar&).
      Obviously, the switch from int to long should be more systematic, but
      I don't where to look.

      What should I do ?
      Thanks a lot in advance
    • C.G.
      ... Post your question on my newsgroup. It could be useful for possible future users.
      Message 2 of 9 , May 7, 2007
      • 0 Attachment
        --- backtopopagain <backtopopagain@...> wrote:

        > Hello,
        > I've been trying to install Skylendar on my machine
        > (AMD64, Gentoo
        > 2.16, gcc
        > 4.1.1, KDE 3.5.6, qt 4.1.4). However, it fails to
        > compile:
        > astroutils.cpp: In function 'AstroString&
        > Sprintf(const AstroString&,
        > AstroString*, ...)':
        > astroutils.cpp:206: warning: dereferencing
        > type-punned pointer will break
        > strict-aliasing rules
        > astroutils.cpp:216: error: cast from 'char*' to
        > 'int' loses precision
        > astroutils.cpp:224: error: cast from 'char*' to
        > 'int' loses precision
        >
        > Switching int to long allows the program to compile
        > (the same
        > modification should be done on astrosql.cpp, lines
        > :211: and:218:).
        > However, skylendar crashes at the opening (nothing
        > is displayed at
        > all, I just got the message "KCrash: Application
        > 'skylendar'
        > crashing..." when using the command line
        > skylendar&).
        > Obviously, the switch from int to long should be
        > more systematic, but
        > I don't where to look.
        >
        > What should I do ?
        > Thanks a lot in advance

        Post your question on my newsgroup. It could be useful
        for possible future users.




        ____________________________________________________________________________________
        Don't pick lemons.
        See all the new 2007 cars at Yahoo! Autos.
        http://autos.yahoo.com/new_cars.html
      • skylendar
        ... AstroString&, ... break ... precision ... precision ... but ... Ah, you have already sent your question via the newsgroup. Ok, sorry... As for your
        Message 3 of 9 , May 7, 2007
        • 0 Attachment
          --- In skylendar@yahoogroups.com, "backtopopagain"
          <backtopopagain@...> wrote:
          >
          > Hello,
          > I've been trying to install Skylendar on my machine (AMD64, Gentoo
          > 2.16, gcc
          > 4.1.1, KDE 3.5.6, qt 4.1.4). However, it fails to compile:
          > astroutils.cpp: In function 'AstroString& Sprintf(const
          AstroString&,
          > AstroString*, ...)':
          > astroutils.cpp:206: warning: dereferencing type-punned pointer will
          break
          > strict-aliasing rules
          > astroutils.cpp:216: error: cast from 'char*' to 'int' loses
          precision
          > astroutils.cpp:224: error: cast from 'char*' to 'int' loses
          precision
          >
          > Switching int to long allows the program to compile (the same
          > modification should be done on astrosql.cpp, lines :211: and:218:).
          > However, skylendar crashes at the opening (nothing is displayed at
          > all, I just got the message "KCrash: Application 'skylendar'
          > crashing..." when using the command line skylendar&).
          > Obviously, the switch from int to long should be more systematic,
          but
          > I don't where to look.
          >
          > What should I do ?
          > Thanks a lot in advance
          >

          Ah, you have already sent your question via the newsgroup. Ok,
          sorry...

          As for your problem, it could be related to the fact that you use a
          64 bits version of linux. I'll check the faulty lines on astroutils,
          but since I don't have any amd 64, I can't tell you if your crash is
          due to your OS, or to another internal problem.
          So far, I haven't received almost no return from the users. Does it
          exist a user who succeeded in running sk on an amd64 ? Who wants to
          answer ????
        • skylendar
          ... Try to replace, in the function Sprintf(), the (int) statements by (long) Recompile and execute. Tell me if it works. C.
          Message 4 of 9 , May 10, 2007
          • 0 Attachment
            --- In skylendar@yahoogroups.com, "skylendar" <skylendar@...> wrote:
            >
            > --- In skylendar@yahoogroups.com, "backtopopagain"
            > <backtopopagain@> wrote:
            > >
            > > Hello,
            > > I've been trying to install Skylendar on my machine (AMD64, Gentoo
            > > 2.16, gcc
            > > 4.1.1, KDE 3.5.6, qt 4.1.4). However, it fails to compile:
            > > astroutils.cpp: In function 'AstroString& Sprintf(const
            > AstroString&,
            > > AstroString*, ...)':
            > > astroutils.cpp:206: warning: dereferencing type-punned pointer will

            Try to replace, in the function Sprintf(), the (int) statements by
            (long)

            Recompile and execute. Tell me if it works.

            C.
          • backtopopagain
            ... OK, so I replaced int by long in astroutils Sprintf, and ditto in astrosql.cpp AstroRequest::Exec. The program compile, but still crashes when launched.
            Message 5 of 9 , May 10, 2007
            • 0 Attachment
              > Try to replace, in the function Sprintf(), the (int) statements by
              > (long)
              >
              > Recompile and execute. Tell me if it works.

              OK, so I replaced int by long in astroutils Sprintf, and ditto in
              astrosql.cpp AstroRequest::Exec.

              The program compile, but still crashes when launched. Here's an
              excerpt of the error report from valkyrie (a valgrind GUI):


              <error>
              <unique>0xF</unique>
              <tid>1</tid>
              <kind>InvalidRead</kind>
              <what>Invalid read of size 1</what>
              <stack>
              <frame>
              <ip>0x4A20992</ip>
              <obj>/usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so</obj>
              <fn>strlen</fn>
              </frame>
              <frame>
              <ip>0x6DBFA9C</ip>
              <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
              </frame>
              <frame>
              <ip>0x6DC0A52</ip>
              <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
              <fn>QString::fromLatin1(char const*, int)</fn>
              </frame>
              <frame>
              <ip>0x6DC0BCC</ip>
              <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
              <fn>QString::fromAscii(char const*, int)</fn>
              </frame>
              <frame>
              <ip>0x4A69FD</ip>
              <obj>/usr/kde/3.5/bin/skylendar</obj>
              <fn>AstroPixmap::AstroPixmap(char const*, char const*)</fn>
              </frame>
              <frame>
              <ip>0x4745D4</ip>
              <obj>/usr/kde/3.5/bin/skylendar</obj>
              <fn>AstroResources::SetPixmaps(char const*, ...)</fn>
              </frame>
              <frame>
              <ip>0x494F4B</ip>
              <obj>/usr/kde/3.5/bin/skylendar</obj>
              <fn>AstroResources::AstroResources()</fn>
              </frame>
              <frame>
              <ip>0x4AFD23</ip>
              <obj>/usr/kde/3.5/bin/skylendar</obj>
              <fn>AstroApp::AstroApp(int, char**)</fn>
              </frame>
              <frame>
              <ip>0x4B0071</ip>
              <obj>/usr/kde/3.5/bin/skylendar</obj>
              <fn>main</fn>
              </frame>
              </stack>
              <auxwhat>Address 0xFFFFFFFF is not stack'd, malloc'd or (recently)
              free'd</auxwhat>
              </error>
            • skylendar
              ... by ... linux/vgpreload_memcheck.so ... hmmm, let me check...
              Message 6 of 9 , May 14, 2007
              • 0 Attachment
                --- In skylendar@yahoogroups.com, "backtopopagain"
                <backtopopagain@...> wrote:
                >
                >
                > > Try to replace, in the function Sprintf(), the (int) statements
                by
                > > (long)
                > >
                > > Recompile and execute. Tell me if it works.
                >
                > OK, so I replaced int by long in astroutils Sprintf, and ditto in
                > astrosql.cpp AstroRequest::Exec.
                >
                > The program compile, but still crashes when launched. Here's an
                > excerpt of the error report from valkyrie (a valgrind GUI):
                >
                >
                > <error>
                > <unique>0xF</unique>
                > <tid>1</tid>
                > <kind>InvalidRead</kind>
                > <what>Invalid read of size 1</what>
                > <stack>
                > <frame>
                > <ip>0x4A20992</ip>
                > <obj>/usr/lib64/valgrind/amd64-
                linux/vgpreload_memcheck.so</obj>
                > <fn>strlen</fn>
                > </frame>
                > <frame>
                > <ip>0x6DBFA9C</ip>
                > <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
                > </frame>
                > <frame>
                > <ip>0x6DC0A52</ip>
                > <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
                > <fn>QString::fromLatin1(char const*, int)</fn>
                > </frame>
                > <frame>
                > <ip>0x6DC0BCC</ip>
                > <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
                > <fn>QString::fromAscii(char const*, int)</fn>
                > </frame>
                > <frame>
                > <ip>0x4A69FD</ip>
                > <obj>/usr/kde/3.5/bin/skylendar</obj>
                > <fn>AstroPixmap::AstroPixmap(char const*, char const*)</fn>
                > </frame>
                > <frame>
                > <ip>0x4745D4</ip>
                > <obj>/usr/kde/3.5/bin/skylendar</obj>
                > <fn>AstroResources::SetPixmaps(char const*, ...)</fn>
                > </frame>
                > <frame>
                > <ip>0x494F4B</ip>
                > <obj>/usr/kde/3.5/bin/skylendar</obj>
                > <fn>AstroResources::AstroResources()</fn>
                > </frame>
                > <frame>
                > <ip>0x4AFD23</ip>
                > <obj>/usr/kde/3.5/bin/skylendar</obj>
                > <fn>AstroApp::AstroApp(int, char**)</fn>
                > </frame>
                > <frame>
                > <ip>0x4B0071</ip>
                > <obj>/usr/kde/3.5/bin/skylendar</obj>
                > <fn>main</fn>
                > </frame>
                > </stack>
                > <auxwhat>Address 0xFFFFFFFF is not stack'd, malloc'd or (recently)
                > free'd</auxwhat>
                > </error>


                hmmm, let me check...
              • skylendar
                ... (recently) ... in AstroResources(), replace all the zeroes within the various calls of the fill() method, with 0L or NULL. Also, replace -1 with -1L in the
                Message 7 of 9 , May 18, 2007
                • 0 Attachment
                  --- In skylendar@yahoogroups.com, "skylendar" <skylendar@...> wrote:
                  >
                  > --- In skylendar@yahoogroups.com, "backtopopagain"
                  > <backtopopagain@> wrote:
                  > >
                  > >
                  > > > Try to replace, in the function Sprintf(), the (int) statements
                  > by
                  > > > (long)
                  > > >
                  > > > Recompile and execute. Tell me if it works.
                  > >
                  > > OK, so I replaced int by long in astroutils Sprintf, and ditto in
                  > > astrosql.cpp AstroRequest::Exec.
                  > >
                  > > The program compile, but still crashes when launched. Here's an
                  > > excerpt of the error report from valkyrie (a valgrind GUI):
                  > >
                  > >
                  > > <error>
                  > > <unique>0xF</unique>
                  > > <tid>1</tid>
                  > > <kind>InvalidRead</kind>
                  > > <what>Invalid read of size 1</what>
                  > > <stack>
                  > > <frame>
                  > > <ip>0x4A20992</ip>
                  > > <obj>/usr/lib64/valgrind/amd64-
                  > linux/vgpreload_memcheck.so</obj>
                  > > <fn>strlen</fn>
                  > > </frame>
                  > > <frame>
                  > > <ip>0x6DBFA9C</ip>
                  > > <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
                  > > </frame>
                  > > <frame>
                  > > <ip>0x6DC0A52</ip>
                  > > <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
                  > > <fn>QString::fromLatin1(char const*, int)</fn>
                  > > </frame>
                  > > <frame>
                  > > <ip>0x6DC0BCC</ip>
                  > > <obj>/usr/qt/3/lib64/libqt-mt.so.3.3.8</obj>
                  > > <fn>QString::fromAscii(char const*, int)</fn>
                  > > </frame>
                  > > <frame>
                  > > <ip>0x4A69FD</ip>
                  > > <obj>/usr/kde/3.5/bin/skylendar</obj>
                  > > <fn>AstroPixmap::AstroPixmap(char const*, char const*)</fn>
                  > > </frame>
                  > > <frame>
                  > > <ip>0x4745D4</ip>
                  > > <obj>/usr/kde/3.5/bin/skylendar</obj>
                  > > <fn>AstroResources::SetPixmaps(char const*, ...)</fn>
                  > > </frame>
                  > > <frame>
                  > > <ip>0x494F4B</ip>
                  > > <obj>/usr/kde/3.5/bin/skylendar</obj>
                  > > <fn>AstroResources::AstroResources()</fn>
                  > > </frame>
                  > > <frame>
                  > > <ip>0x4AFD23</ip>
                  > > <obj>/usr/kde/3.5/bin/skylendar</obj>
                  > > <fn>AstroApp::AstroApp(int, char**)</fn>
                  > > </frame>
                  > > <frame>
                  > > <ip>0x4B0071</ip>
                  > > <obj>/usr/kde/3.5/bin/skylendar</obj>
                  > > <fn>main</fn>
                  > > </frame>
                  > > </stack>
                  > > <auxwhat>Address 0xFFFFFFFF is not stack'd, malloc'd or
                  (recently)
                  > > free'd</auxwhat>
                  > > </error>

                  in AstroResources(), replace all the zeroes within the various calls
                  of the fill() method, with 0L or NULL.
                  Also, replace -1 with -1L in the body of SetPixmaps().
                  Recompile as usual, run and tell me if it works.

                  C.
                • backtopopagain
                  ... Hello, Sorry for the delayed answer. The compilation runs fine. Skylendar still crashes, however: here s the output of valgrind: Syscall param write(buf)
                  Message 8 of 9 , May 22, 2007
                  • 0 Attachment
                    --- In skylendar@yahoogroups.com, "skylendar" <skylendar@...> wrote:

                    > in AstroResources(), replace all the zeroes within the various calls
                    > of the fill() method, with 0L or NULL.
                    > Also, replace -1 with -1L in the body of SetPixmaps().
                    > Recompile as usual, run and tell me if it works.

                    Hello,
                    Sorry for the delayed answer.
                    The compilation runs fine. Skylendar still crashes, however: here's
                    the output of valgrind:

                    Syscall param write(buf) points to uninitialised byte(s)
                    at 0x8999B10: __write_nocancel (in /lib64/libpthread-2.4.so)
                    by 0x82A2FDE: (within /usr/lib64/libX11.so.6.2.0)
                    by 0x829B3CE: (within /usr/lib64/libX11.so.6.2.0)
                    by 0x829B4C0: _XReply (in /usr/lib64/libX11.so.6.2.0)
                    by 0x828493D: XInternAtom (in /usr/lib64/libX11.so.6.2.0)
                    by 0x82983F2: XSetWMProperties (in /usr/lib64/libX11.so.6.2.0)
                    by 0x6AB94DA: QWidget::create(unsigned long, bool, bool) (in
                    /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                    by 0x6B6C4E9: QWidget::QWidget(QWidget*, char const*, unsigned)
                    (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                    by 0x5B3CDFB: KApplication::init(bool) (in
                    /usr/kde/3.5/lib64/libkdecore.so.4.2.0)
                    by 0x5B4B2C1: KApplication::KApplication(bool, bool) (in
                    /usr/kde/3.5/lib64/libkdecore.so.4.2.0)
                    by 0x4AFCDB: AstroApp::AstroApp(int, char**) (in
                    /usr/kde/3.5/bin/skylendar)
                    by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)

                    Address 0x918FB70 is 248 bytes inside a block of size 16,384 alloc'd
                    at 0x4A1EC0C: calloc (in
                    /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
                    by 0x8289834: XOpenDisplay (in /usr/lib64/libX11.so.6.2.0)
                    by 0x6A8A49E: qt_init_internal(int*, char**, _XDisplay*, unsigned
                    long, unsigned long) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                    by 0x6AEB98C: QApplication::construct(int&, char**,
                    QApplication::Type) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                    by 0x5B4B103: KApplication::KApplication(bool, bool) (in
                    /usr/kde/3.5/lib64/libkdecore.so.4.2.0)
                    by 0x4AFCDB: AstroApp::AstroApp(int, char**) (in
                    /usr/kde/3.5/bin/skylendar)
                    by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)

                    Syscall param writev(vector[...]) points to uninitialised byte(s)
                    at 0x8DBC2F6: (within /lib64/libc-2.4.so)
                    by 0x82A2F9B: (within /usr/lib64/libX11.so.6.2.0)
                    by 0x829B1DC: _XSend (in /usr/lib64/libX11.so.6.2.0)
                    by 0x828F54E: XQueryExtension (in /usr/lib64/libX11.so.6.2.0)
                    by 0x8283F83: XInitExtension (in /usr/lib64/libX11.so.6.2.0)
                    by 0x63CFCB9: XFixesFindDisplay (in /usr/lib64/libXfixes.so.3.1.0)
                    by 0x63CDBCA: XFixesSetCursorName (in /usr/lib64/libXfixes.so.3.1.0)
                    by 0x7943798: XcursorImagesLoadCursor (in
                    /usr/lib64/libXcursor.so.1.0.2)
                    by 0x7946391: XcursorLibraryLoadCursor (in
                    /usr/lib64/libXcursor.so.1.0.2)
                    by 0x6A954C0: QCursor::update() const (in
                    /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                    by 0x6A9580E: QCursor::handle() const (in
                    /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                    by 0x6AB6B12: qt_x11_enforce_cursor(QWidget*) (in
                    /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                    Address 0x918FB71 is 249 bytes inside a block of size 16,384 alloc'd
                    at 0x4A1EC0C: calloc (in
                    /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
                    by 0x8289834: XOpenDisplay (in /usr/lib64/libX11.so.6.2.0)
                    by 0x6A8A49E: qt_init_internal(int*, char**, _XDisplay*, unsigned
                    long, unsigned long) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                    by 0x6AEB98C: QApplication::construct(int&, char**,
                    QApplication::Type) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                    by 0x5B4B103: KApplication::KApplication(bool, bool) (in
                    /usr/kde/3.5/lib64/libkdecore.so.4.2.0)
                    by 0x4AFCDB: AstroApp::AstroApp(int, char**) (in
                    /usr/kde/3.5/bin/skylendar)
                    by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)

                    Invalid read of size 1
                    at 0x4A20992: strlen (in
                    /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
                    by 0x6DBFA9C: (within /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                    by 0x6DC0A52: QString::fromLatin1(char const*, int) (in
                    /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                    by 0x6DC0BCC: QString::fromAscii(char const*, int) (in
                    /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                    by 0x4A6A1D: AstroPixmap::AstroPixmap(char const*, char const*)
                    (in /usr/kde/3.5/bin/skylendar)
                    by 0x4745D4: AstroResources::SetPixmaps(char const*, ...) (in
                    /usr/kde/3.5/bin/skylendar)
                    by 0x494F6B: AstroResources::AstroResources() (in
                    /usr/kde/3.5/bin/skylendar)
                    by 0x4AFD43: AstroApp::AstroApp(int, char**) (in
                    /usr/kde/3.5/bin/skylendar)
                    by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)
                  • skylendar
                    ... calls ... alloc d ... unsigned ... (in /usr/lib64/libXfixes.so.3.1.0) ... (in /usr/lib64/libXfixes.so.3.1.0) ... alloc d ... unsigned ... An error seems to
                    Message 9 of 9 , May 24, 2007
                    • 0 Attachment
                      --- In skylendar@yahoogroups.com, "backtopopagain"
                      <backtopopagain@...> wrote:
                      >
                      > --- In skylendar@yahoogroups.com, "skylendar" <skylendar@> wrote:
                      >
                      > > in AstroResources(), replace all the zeroes within the various
                      calls
                      > > of the fill() method, with 0L or NULL.
                      > > Also, replace -1 with -1L in the body of SetPixmaps().
                      > > Recompile as usual, run and tell me if it works.
                      >
                      > Hello,
                      > Sorry for the delayed answer.
                      > The compilation runs fine. Skylendar still crashes, however: here's
                      > the output of valgrind:
                      >
                      > Syscall param write(buf) points to uninitialised byte(s)
                      > at 0x8999B10: __write_nocancel (in /lib64/libpthread-2.4.so)
                      > by 0x82A2FDE: (within /usr/lib64/libX11.so.6.2.0)
                      > by 0x829B3CE: (within /usr/lib64/libX11.so.6.2.0)
                      > by 0x829B4C0: _XReply (in /usr/lib64/libX11.so.6.2.0)
                      > by 0x828493D: XInternAtom (in /usr/lib64/libX11.so.6.2.0)
                      > by 0x82983F2: XSetWMProperties (in /usr/lib64/libX11.so.6.2.0)
                      > by 0x6AB94DA: QWidget::create(unsigned long, bool, bool) (in
                      > /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                      > by 0x6B6C4E9: QWidget::QWidget(QWidget*, char const*, unsigned)
                      > (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                      > by 0x5B3CDFB: KApplication::init(bool) (in
                      > /usr/kde/3.5/lib64/libkdecore.so.4.2.0)
                      > by 0x5B4B2C1: KApplication::KApplication(bool, bool) (in
                      > /usr/kde/3.5/lib64/libkdecore.so.4.2.0)
                      > by 0x4AFCDB: AstroApp::AstroApp(int, char**) (in
                      > /usr/kde/3.5/bin/skylendar)
                      > by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)
                      >
                      > Address 0x918FB70 is 248 bytes inside a block of size 16,384
                      alloc'd
                      > at 0x4A1EC0C: calloc (in
                      > /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
                      > by 0x8289834: XOpenDisplay (in /usr/lib64/libX11.so.6.2.0)
                      > by 0x6A8A49E: qt_init_internal(int*, char**, _XDisplay*,
                      unsigned
                      > long, unsigned long) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                      > by 0x6AEB98C: QApplication::construct(int&, char**,
                      > QApplication::Type) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                      > by 0x5B4B103: KApplication::KApplication(bool, bool) (in
                      > /usr/kde/3.5/lib64/libkdecore.so.4.2.0)
                      > by 0x4AFCDB: AstroApp::AstroApp(int, char**) (in
                      > /usr/kde/3.5/bin/skylendar)
                      > by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)
                      >
                      > Syscall param writev(vector[...]) points to uninitialised byte(s)
                      > at 0x8DBC2F6: (within /lib64/libc-2.4.so)
                      > by 0x82A2F9B: (within /usr/lib64/libX11.so.6.2.0)
                      > by 0x829B1DC: _XSend (in /usr/lib64/libX11.so.6.2.0)
                      > by 0x828F54E: XQueryExtension (in /usr/lib64/libX11.so.6.2.0)
                      > by 0x8283F83: XInitExtension (in /usr/lib64/libX11.so.6.2.0)
                      > by 0x63CFCB9: XFixesFindDisplay
                      (in /usr/lib64/libXfixes.so.3.1.0)
                      > by 0x63CDBCA: XFixesSetCursorName
                      (in /usr/lib64/libXfixes.so.3.1.0)
                      > by 0x7943798: XcursorImagesLoadCursor (in
                      > /usr/lib64/libXcursor.so.1.0.2)
                      > by 0x7946391: XcursorLibraryLoadCursor (in
                      > /usr/lib64/libXcursor.so.1.0.2)
                      > by 0x6A954C0: QCursor::update() const (in
                      > /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                      > by 0x6A9580E: QCursor::handle() const (in
                      > /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                      > by 0x6AB6B12: qt_x11_enforce_cursor(QWidget*) (in
                      > /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                      > Address 0x918FB71 is 249 bytes inside a block of size 16,384
                      alloc'd
                      > at 0x4A1EC0C: calloc (in
                      > /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
                      > by 0x8289834: XOpenDisplay (in /usr/lib64/libX11.so.6.2.0)
                      > by 0x6A8A49E: qt_init_internal(int*, char**, _XDisplay*,
                      unsigned
                      > long, unsigned long) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                      > by 0x6AEB98C: QApplication::construct(int&, char**,
                      > QApplication::Type) (in /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                      > by 0x5B4B103: KApplication::KApplication(bool, bool) (in
                      > /usr/kde/3.5/lib64/libkdecore.so.4.2.0)
                      > by 0x4AFCDB: AstroApp::AstroApp(int, char**) (in
                      > /usr/kde/3.5/bin/skylendar)
                      > by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)
                      >
                      > Invalid read of size 1
                      > at 0x4A20992: strlen (in
                      > /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
                      > by 0x6DBFA9C: (within /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                      > by 0x6DC0A52: QString::fromLatin1(char const*, int) (in
                      > /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                      > by 0x6DC0BCC: QString::fromAscii(char const*, int) (in
                      > /usr/qt/3/lib64/libqt-mt.so.3.3.8)
                      > by 0x4A6A1D: AstroPixmap::AstroPixmap(char const*, char const*)
                      > (in /usr/kde/3.5/bin/skylendar)
                      > by 0x4745D4: AstroResources::SetPixmaps(char const*, ...) (in
                      > /usr/kde/3.5/bin/skylendar)
                      > by 0x494F6B: AstroResources::AstroResources() (in
                      > /usr/kde/3.5/bin/skylendar)
                      > by 0x4AFD43: AstroApp::AstroApp(int, char**) (in
                      > /usr/kde/3.5/bin/skylendar)
                      > by 0x4B0091: main (in /usr/kde/3.5/bin/skylendar)
                      >

                      An error seems to occur within the AstroPixmap constructor. Try to
                      print its argument via a classical printf() or cout << something.
                      Check the pointers, i.e. if the provided arguments are correctly
                      retrieved by the method.

                      C.
                    Your message has been successfully submitted and would be delivered to recipients shortly.