#12 CPM Crashes if .cpmdb is zero bytes.

v0.17beta
closed-fixed
GUI (11)
7
2009-03-02
2005-09-06
No

When launching cpm (0.17beta), if .cpmdb is 0 bytes,
the application crashes to segmentation fault.

Libs used:

Cdk 5.0.20050424
gpgme 1.0.2
cracklib 2.7
dotconf 1.0.12
libxml2 2.6.15
zlib 1.2.2.2.2

and switches for configure:

--prefix=/opt/cpm
--with-cdk=/usr/local/cdk
--with-crack-lib
--with-crack-dict=/usr/lib/cracklib_dict
--with-dotconf=/usr/local/dotconf
--with-gpgme
--with-xml2
--with-zlib

Discussion

  • Harry Brueckner

    Harry Brueckner - 2005-09-06
    • labels: --> GUI
     
  • Harry Brueckner

    Harry Brueckner - 2005-09-06

    Logged In: YES
    user_id=1175558

    Please answer the following questions:
    - what's your Linux distribution?
    - which kernel do you use?
    - what does "ulimit -l" show for "max locked memory"?

    Thanks!

     
  • Harry Brueckner

    Harry Brueckner - 2005-09-06
    • assigned_to: nobody --> harry_b
     
  • jani mikkonen

    jani mikkonen - 2005-09-06

    Logged In: YES
    user_id=228621

    Fedora Core 2
    Kernel version 2.6.5-1.358
    ulimit is unlimited for root and ordinary users.

    And ive tested this on root account and ordinary user account.

     
  • Harry Brueckner

    Harry Brueckner - 2005-09-06
    • milestone: 523293 --> v0.17beta
     
  • Harry Brueckner

    Harry Brueckner - 2005-09-06

    Logged In: YES
    user_id=1175558

    Did you use any older version of cpm before and did it run
    cleanly or is v0.17beta your first try?

     
  • jani mikkonen

    jani mikkonen - 2005-09-06

    Logged In: YES
    user_id=228621

    0.5b was the first version i tried and it didnt work due
    build issues, submitted bug report even then (id: 1190234 ).
    Been trying cpm ever since after release or two but this was
    the first one i was able to actually build without any
    errors during the build process.

    And no, previous versions havent worked either - but they
    have been due to build issues most caused by most likely
    similar "bugs" then the first bug report i made as the
    automake scripts (configure) didnt allow passing directories
    for depending libs.

     
  • Harry Brueckner

    Harry Brueckner - 2005-09-08

    Logged In: YES
    user_id=1175558

    What happens if .cpmdb does not exist at all?

     
  • Harry Brueckner

    Harry Brueckner - 2005-09-13
    • status: open --> closed-fixed
     
  • Harry Brueckner

    Harry Brueckner - 2005-09-13

    Logged In: YES
    user_id=1175558

    This bug will be fixed in version 0.18beta.

     
  • Harry Brueckner

    Harry Brueckner - 2009-03-02
    • priority: 5 --> 7
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks