bugThe Om Modular Synthesizer - Bugs: bug #15713, om_gtk crashes when loading a...

 
 

bug #15713: om_gtk crashes when loading a subpatch

Submitted by:  Lars Luthman <larsl>
Submitted on:  Sat 11 Feb 2006 09:19:50 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Dave Robillard <drobilla>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 11 Feb 2006 09:44:18 PM UTC, comment #2:

Attaching a small patch that automatically adds the basename of the file as the patch name when saving a root patch.

Lars Luthman <larsl>
Project Member
Sat 11 Feb 2006 09:28:24 PM UTC, comment #1:

Looks like this happens when you save a root patch, and then try load it as a subpatch.

Lars Luthman <larsl>
Project Member
Sat 11 Feb 2006 09:19:50 PM UTC, original submission:

When I try to load the attached patch file as a subpatch of the root patch om_gtk dies with an uncaught exception:

terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid

GDB backtrace:

#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb6fccef1 in raise () from /lib/tls/libc.so.6
#2 0xb6fce83b in abort () from /lib/tls/libc.so.6
#3 0xb7190f81 in __gnu_cxx::__verbose_terminate_handler ()
from /usr/lib/libstdc++.so.6
#4 0xb718e8a5 in __gxx_personality_v0 () from /usr/lib/libstdc++.so.6
#5 0xb718e8e2 in std::terminate () from /usr/lib/libstdc++.so.6
#6 0xb718ea4a in __cxa_throw () from /usr/lib/libstdc++.so.6
#7 0xb7125d5f in std::__throw_logic_error () from /usr/lib/libstdc++.so.6
#8 0xb716a43b in std::string::_Rep::_M_destroy () from /usr/lib/libstdc++.so.6
#9 0xb716a5a9 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string () from /usr/lib/libstdc++.so.6
#10 0x080bb5a9 in LibOmClient::PatchLibrarian::load_patch (this=0x80f32e0,
pm=0x849e3e0, existing=false)
at ../../../src/clients/PatchLibrarian.cpp:382
#11 0x080a6e50 in OmGtk::LoadPatchEvent::execute (this=0x849e4f8)
at ../../../../src/clients/gtk/Loader.cpp:37
#12 0x080a708f in OmGtk::Loader::m_thread_function (this=0x80f3308)
at ../../../../src/clients/gtk/Loader.cpp:192
#13 0x080a70fd in OmGtk::Loader::thread_function (me=0x80f3308)
at ../../../../src/clients/gtk/Loader.cpp:180
#14 0xb72cac40 in start_thread () from /lib/tls/libpthread.so.0
#15 0xb70710ee in clone () from /lib/tls/libc.so.6

It looks like the call to xmlNodeListGetString() at PatchLibrarian.cpp:377 returns NULL, which then causes the string constructor called at PatchLibrarian.cpp:382 to throw a std::logic_error.

Lars Luthman <larsl>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #1983:  name_fix.diff added by larsl (1KiB - text/x-patch - Patch that adds names to saved root patches)
file #1982:  ubba.om added by larsl (2KiB - application/xml-om-patch - Patch that crashes om_gtk)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 21 Feb 2006 06:10:38 AM UTCdrobillaStatusNone=>Fixed
  Assigned toNone=>drobilla
  Open/ClosedOpen=>Closed
Sat 11 Feb 2006 09:44:18 PM UTClarslAttached File-=>Added name_fix.diff, #3389
Sat 11 Feb 2006 09:19:50 PM UTClarslAttached File-=>Added ubba.om, #3388

Back to the top


Powered by Savane 3.1-cleanup1