#9 Daemon crashes on first run

closed-fixed
nobody
None
5
2011-11-01
2011-07-28
David Heremans
No

The provided deb package required libc6-i686 which conflicted with the regular libc6 on my Kubuntu so I tried from source.

After installing kchildlock it crashed on line 40 in daemon/consumption_file.cpp (see crash report)
According to man fclose(3):
"The behaviour of fclose() is undefined if the stream parameter is an illegal pointer, or is a descriptor already passed to a
previous invocation of fclose()."
It seems that the fclose of a NULL pointer seems to cause a local crash at my system.

So I currently comment that line in my build and as result I have a "it-works-for-me(tm)" situation.
Just wanted to let you know.

PS: A "compile.txt" would have been nice for me, since I never used cmake enough, it took me some time before I figured out I how to compile this on my kubuntu. I turned out I needed a line like: "cmake . -DCMAKE_INSTALL_PREFIX=/usr/"

Discussion

  • RLandert
    RLandert
    2011-08-15

    Thank you for your information. A bug fix will be included in the next version

     
  • RLandert
    RLandert
    2011-11-01

    The bug with the fclose on the NULL pointer will be fixed in version 0.90.4

    The file INSTALL already explains with which commands to compile and make the package.

     
  • RLandert
    RLandert
    2011-11-01

    • status: open --> closed-fixed