some problems when editing

General discussions
Locked
camaron
Posts: 462
Joined: Sat Sep 25, 2010 3:38 am

some problems when editing

Post by camaron »

I place now my bug report in its own thread:)

Crash happens when editing song from muy desktop

Some more information:

The crash seems to happen only when the tracks I'm editing are being played. Also I've noted that guayadeque does no save the metadata to the actual track being reproduced and I think this might make it crash.

Bt:


New Thread 0x7fffd22b2700 (LWP 5200)]
07:35:49: ReloadControls...00000214
[Thread 0x7fffd22b2700 (LWP 5200) exited]
07:35:49: UpdateCover: 'Ketama, Toumani Diabate, Danny Thompson' /// 'Songhai' 0
[New Thread 0x7fffd22b2700 (LWP 5201)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff773aef0 in wxImage::IsOk() const () from /usr/lib/libwx_gtk2u_core-2.8.so.0
(gdb) bt
#0 0x00007ffff773aef0 in wxImage::IsOk() const () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#1 0x00007ffff767b5de in wxBitmap::CreateFromImage(wxImage const&, int) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#2 0x0000000000571966 in wxBitmap (depth=-1, image=, this=0x7fffffffdd70) at /usr/include/wx-2.8/wx/gtk/bitmap.h:65
#3 guPlayerPanel::UpdateCoverImage (this=0x20b03f0, shownotify=false) at /home/jorge/guayadeque/src/PlayerPanel.cpp:2038
#4 0x00007ffff7b6eec5 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
from /usr/lib/libwx_baseu-2.8.so.0
#5 0x00007ffff7b6f28f in wxEvtHandler::SearchDynamicEventTable(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#6 0x00007ffff7b6f342 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#7 0x00007ffff7b6ee30 in wxEvtHandler::ProcessPendingEvents() () from /usr/lib/libwx_baseu-2.8.so.0
#8 0x00007ffff7af0739 in wxAppConsole::ProcessPendingEvents() () from /usr/lib/libwx_baseu-2.8.so.0
#9 0x00007ffff7702de9 in wxAppBase::ProcessIdle() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#10 0x00007ffff7677a6d in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#11 0x00007ffff60bba5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff60bc258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff60bc792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff3616db7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#15 0x00007ffff768b848 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#16 0x00007ffff7702c0b in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#17 0x00007ffff7b1fb2b in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#18 0x000000000049ce82 in main (argc=1, argv=) at /home/jorge/guayadeque/src/MainApp.cpp:40
(gdb)
User avatar
anonbeat
Posts: 2048
Joined: Thu Sep 16, 2010 9:47 pm

some problems when editing

Post by anonbeat »

Can you give me the backtrace using the latest version from svn please ?

Thanks for your help
camaron
Posts: 462
Joined: Sat Sep 25, 2010 3:38 am

some problems when editing

Post by camaron »

I tought I had the last version install Anonbeat,
I'll do this tonight..
cheers
camaron
Posts: 462
Joined: Sat Sep 25, 2010 3:38 am

some problems when editing

Post by camaron »

So far i've been unable to reproduce the crash but it still does not save metadato de de track that is being played. I'm poretty sure this did not happened before.
User avatar
anonbeat
Posts: 2048
Joined: Thu Sep 16, 2010 9:47 pm

some problems when editing

Post by anonbeat »

The metadata of the track being played is saved once the track finish playing. This is a fix for the glitch that happens when lyrics are found while playing.
camaron
Posts: 462
Joined: Sat Sep 25, 2010 3:38 am

some problems when editing

Post by camaron »

anonbeat wrote:The metadata of the track being played is saved once the track finish playing. This is a fix for the glitch that happens when lyrics are found while playing.
Ok anonbeat, thank you. I personally think that you created a not so minor issue by trying to solve a minor issue.... but it is impossible to keep everyone happy isn't? :)

Thanks again.
User avatar
anonbeat
Posts: 2048
Joined: Thu Sep 16, 2010 9:47 pm

some problems when editing

Post by anonbeat »

camaron wrote:
anonbeat wrote:The metadata of the track being played is saved once the track finish playing. This is a fix for the glitch that happens when lyrics are found while playing.
Ok anonbeat, thank you. I personally think that you created a not so minor issue by trying to solve a minor issue.... but it is impossible to keep everyone happy isn't? :)

Thanks again.
The problem was that this issue caused the software to crash specially for flac and wma files. For mp3s was just a litle glitch but caused crashes for other file formats.
I guess saving being delayed is not an issue.
Can you explain me what is the problem please ?

Thanks for your help
camaron
Posts: 462
Joined: Sat Sep 25, 2010 3:38 am

some problems when editing

Post by camaron »

No, it is fine anonbeat. I thought you meant just the glitch. If it made the program crash that's obviously major and it has to be fixed. No complains about this.

Still, it seems that guayadeque wont save the metadata even if you pause the music. I'm not sure now as I'm not home but I belive that it won't save it even if you actually STOP the music (but the track is still selected in the player). I've not idea if there could be a workaround for this or it is still part of the fix for the crashes.

Thanks for your attention
User avatar
anonbeat
Posts: 2048
Joined: Thu Sep 16, 2010 9:47 pm

some problems when editing

Post by anonbeat »

When track is stopped the pending changes should be saved. Please let me know if that doestn happen. For me is working fine.

Thanks for your help
Locked