#61 terminate called after throwing instance of 'std::bad_alloc

open
Jin
5
2010-01-08
2010-01-08
joepschroen
No

Using SVN Rev 2041. OMAP ARM system with 256MB RAM.

When importing (with help of the Webinterface) a MP3 with a big cover image attached will crash during import.

LOG:
2010-01-08 21:14:56 DEBUG: [../src/web/add.cc:53] process(): add: start
2010-01-08 21:14:56 DEBUG: [../src/content_manager.cc:2338] run(): running add file task with path /media/sda5/MP3/TAGGED/Artiest_Albums/Guus Meeuwis/1 Voor Allen/01 - Denk Nou Eens Na.mp3 recursive: 1
2010-01-08 21:14:56 DEBUG: [../src/web/add.cc:67] process(): add: returning
2010-01-08 21:14:56 DEBUG: [../src/singleton.cc:73] registerSingleton(): registering new singleton... - 10 -> 11
2010-01-08 21:14:56 INFO: Loaded /usr/local/share/mediatomb/js/import-dvd.js
2010-01-08 21:14:56 DEBUG: [../src/storage/mysql/mysql_storage.cc:105] checkMysqlThreadInit(): running mysql_thread_init(); thread_id=1165722768
2010-01-08 21:14:58 DEBUG: [../src/web_callbacks.cc:72] create_request_handler(): Filename: /content/interface?req_type=void&return_type=xml&sid=98123a47d9b46a867215c092e7dfcfb6, Path: (null)
2010-01-08 21:14:58 DEBUG: [../src/web_request_handler.cc:247] open(): request: /content/interface?req_type=void&return_type=xml&sid=98123a47d9b46a867215c092e7dfcfb6
2010-01-08 21:15:00 DEBUG: [../src/web_callbacks.cc:72] create_request_handler(): Filename: /content/interface?req_type=void&return_type=xml&sid=98123a47d9b46a867215c092e7dfcfb6, Path: (null)
2010-01-08 21:15:00 DEBUG: [../src/web_request_handler.cc:247] open(): request: /content/interface?req_type=void&return_type=xml&sid=98123a47d9b46a867215c092e7dfcfb6
2010-01-08 21:15:01 DEBUG: [../src/web_callbacks.cc:72] create_request_handler(): Filename: /content/interface?req_type=void&return_type=xml&sid=98123a47d9b46a867215c092e7dfcfb6, Path: (null)
2010-01-08 21:15:01 DEBUG: [../src/web_request_handler.cc:247] open(): request: /content/interface?req_type=void&return_type=xml&sid=98123a47d9b46a867215c092e7dfcfb6
2010-01-08 21:15:02 DEBUG: [../src/web_callbacks.cc:72] create_request_handler(): Filename: /content/interface?req_type=void&return_type=xml&sid=98123a47d9b46a867215c092e7dfcfb6, Path: (null)
2010-01-08 21:15:02 DEBUG: [../src/web_request_handler.cc:247] open(): request: /content/interface?req_type=void&return_type=xml&sid=98123a47d9b46a867215c092e7dfcfb6
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted

When more information or copy MP3 is required, please let me know.

Discussion

  • Jin
    Jin
    2010-01-18

    Hmm, I think the question is - does it happen in our code or inside taglib? Indeed, could you please send me that mp3 file so I could try and reproduce it here? Thanks.

     
  • Jin
    Jin
    2010-01-20

    Please email it to me, to jin@mediatomb.cc, do not use the SF messaging system.