SEG fault in new svn (only downloaded it 30 mins ago)

Use this category to discuss anything related to the development of Guayadeque.
Post Reply
finndo77
Posts: 36
Joined: Wed Jan 26, 2011 8:22 am

SEG fault in new svn (only downloaded it 30 mins ago)

Post by finndo77 » Wed Mar 09, 2011 10:47 am

I used the copy to command (my personal favorite part of Guayadeque!!) to rename a file and re-save it in a new location, Guaya froze, but th egdb window showed a seg fault...


[New Thread 0x7fffe4bba700 (LWP 1898)]
12:39:13 PM: Using pattern '{a}-{t}'
12:39:13 PM: Copy /home/jperry/Music/Various Artists/Unknown Album/Bonus - 19 - Rise Against - Prayer Of The Refugee.mp3 =>> /home/jperry/Music/Rise Against/unknown album/Rise Against-Prayer Of The Refugee.mp3
12:39:13 PM: Error: Impossible to get permissions for file '' (error 2: No such file or directory)
12:39:13 PM: Could not copy the cover /home/jperry/Music/Rise Against/unknown album/
12:39:13 PM: Deleted '/home/jperry/Music/Various Artists/Unknown Album/Bonus - 19 - Rise Against - Prayer Of The Refugee.mp3'
12:39:13 PM: Libath: /home/jperry/Music/
12:39:13 PM: Deleting '/home/jperry/Music/Various Artists/Unknown Album'
[Thread 0x7fffe4bba700 (LWP 1898) exited]

Program received signal SIGSEGV, Segmentation fault.
wxStringBase (this=0x1dc8670, row=, col=0) at /usr/include/wx-2.8/wx/string.h:354
354 if ( stringSrc.empty() ) {
(gdb) bt
#0 wxStringBase (this=0x1dc8670, row=, col=0) at /usr/include/wx-2.8/wx/string.h:354
#1 wxString (this=0x1dc8670, row=, col=0) at /usr/include/wx-2.8/wx/string.h:690
#2 guSoListBox::OnGetItemText (this=0x1dc8670, row=, col=0)
at /home/jperry/build-loc/guayadeque/src/SoListBox.cpp:197
#3 0x0000000000697d1f in guListViewClient::DoDrawItem (this=0x1092980, dc=..., rect=, row=29, col=0)
at /home/jperry/build-loc/guayadeque/src/ListView.cpp:918
#4 0x0000000000693b2c in guListViewClient::OnDrawItem (this=0x1092980, dc=..., rect=,
n=) at /home/jperry/build-loc/guayadeque/src/ListView.cpp:952
#5 0x00000000006947a4 in guListViewClient::OnPaint (this=0x1092980, event=)
at /home/jperry/build-loc/guayadeque/src/ListView.cpp:893
#6 0x00007ffff7b6e310 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
from /usr/lib/libwx_baseu-2.8.so.0
#7 0x00007ffff7b6f2d4 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
#8 0x00007ffff7b6f3b7 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#9 0x00007ffff7669f05 in wxWindow::GtkSendPaintEvents() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#10 0x00007ffff766a408 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#11 0x00007ffff20569d8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00007ffff6116a6e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#13 0x00007ffff612cde7 in ?? () from /usr/lib/libgobject-2.0.so.0
#14 0x00007ffff612e0eb in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#15 0x00007ffff612e863 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#16 0x00007ffff216f6df in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00007ffff20501b6 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
---Type to continue, or q to quit---
#18 0x00007ffff1cb09da in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#19 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#20 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#21 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#22 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#23 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#24 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#25 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#26 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#27 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#28 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#29 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#30 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#31 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#32 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#33 0x00007ffff1cad46b in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#34 0x00007ffff1caf2e1 in gdk_window_process_all_updates () from /usr/lib/libgdk-x11-2.0.so.0
#35 0x00007ffff1caf349 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#36 0x00007ffff1c8a626 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#37 0x00007ffff5507342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#38 0x00007ffff550b2a8 in ?? () from /lib/libglib-2.0.so.0
#39 0x00007ffff550b7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#40 0x00007ffff20503e7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
---Type to continue, or q to quit---
#41 0x00007ffff7655578 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#42 0x00007ffff76dab1b in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#43 0x00007ffff7b14695 in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#44 0x000000000055f3f2 in main (argc=1, argv=0x1dc8670) at /home/jperry/build-loc/guayadeque/src/MainApp.cpp:39

finndo77
Posts: 36
Joined: Wed Jan 26, 2011 8:22 am

SEG fault in new svn (only downloaded it 30 mins ago)

Post by finndo77 » Wed Mar 09, 2011 11:03 am

Ubuntu 10.10 x64 current generic kernel, current Guayadeque svn build 1518

this is the first time I have used the copy to feature (starting with svn 1518)
and I agree this is by far the best media player available for linux. put ratings in metadata, get one or two more glitches fixed that are causing seg faults and I'll donate $10 or $20 for your work as at that point it will be (as far as I use it) as polished as any commercial app.

not sure if this is mostly the same, but it immediately crashed again when I tried "copy to" on another file after restarting. I believe this one was caused by the file name including " in the name (the reason I was trying to rename it!), also it is possible the previous error was caused by by music folder being a bind mount? I included this second backtrace, because the number of lines reported is 14 longer


[New Thread 0x7fffe7520700 (LWP 2206)]
12:56:22 PM: Using pattern '{a}-{t}'
12:56:22 PM: Copy /home/jperry/Music/Isaac Hayes/Kill Bill (Volume One)/Isaac Hayes-''Run Fay Run''.mp3 =>> /home/jperry/Music/Isaac Hayes/Kill Bill (Volume One)/Isaac Hayes-''Run Fay Run''.mp3
12:56:22 PM: Deleted '/home/jperry/Music/Isaac Hayes/Kill Bill (Volume One)/Isaac Hayes-''Run Fay Run''.mp3'
12:56:22 PM: Libath: /home/jperry/Music/
12:56:22 PM: Deleting '/home/jperry/Music/Isaac Hayes/Kill Bill (Volume One)'
12:56:22 PM: Deleting '/home/jperry/Music/Isaac Hayes'
[Thread 0x7fffe7520700 (LWP 2206) exited]

(guayadeque:2187): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

Program received signal SIGSEGV, Segmentation fault.
_int_malloc (av=0x7ffff2cd4e40, bytes=32) at malloc.c:4636
4636 malloc.c: No such file or directory.
in malloc.c
(gdb) bt
#0 _int_malloc (av=0x7ffff2cd4e40, bytes=32) at malloc.c:4636
#1 0x00007ffff29d238e in __libc_malloc (bytes=32) at malloc.c:3660
#2 0x00007ffff113a9e5 in ?? () from /usr/lib/libfontconfig.so.1
#3 0x00007ffff11376a5 in FcFontRenderPrepare () from /usr/lib/libfontconfig.so.1
#4 0x00007ffff182e5cf in ?? () from /usr/lib/libpangoft2-1.0.so.0
#5 0x00007ffff182ea1d in ?? () from /usr/lib/libpangoft2-1.0.so.0
#6 0x00007ffff15f36e0 in ?? () from /usr/lib/libpango-1.0.so.0
#7 0x00007ffff15f3c88 in ?? () from /usr/lib/libpango-1.0.so.0
#8 0x00007ffff15f42a8 in pango_itemize_with_base_dir () from /usr/lib/libpango-1.0.so.0
#9 0x00007ffff15fc249 in ?? () from /usr/lib/libpango-1.0.so.0
#10 0x00007ffff15fd5ac in ?? () from /usr/lib/libpango-1.0.so.0
#11 0x00007ffff15ff16e in pango_layout_get_pixel_extents () from /usr/lib/libpango-1.0.so.0
#12 0x00007ffff15ff1be in pango_layout_get_pixel_size () from /usr/lib/libpango-1.0.so.0
#13 0x00007ffff764efce in wxWindowDC::DoDrawText(wxString const&, int, int) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#14 0x0000000000697d35 in DrawText (this=0x183b8b0, dc=..., rect=, row=29, col=0)
at /usr/include/wx-2.8/wx/dc.h:277
#15 guListViewClient::DoDrawItem (this=0x183b8b0, dc=..., rect=, row=29, col=0)
at /home/jperry/build-loc/guayadeque/src/ListView.cpp:918
#16 0x0000000000693b2c in guListViewClient::OnDrawItem (this=0x183b8b0, dc=..., rect=,
n=) at /home/jperry/build-loc/guayadeque/src/ListView.cpp:952
#17 0x00000000006947a4 in guListViewClient::OnPaint (this=0x183b8b0, event=)
at /home/jperry/build-loc/guayadeque/src/ListView.cpp:893
#18 0x00007ffff7b6e310 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
---Type to continue, or q to quit---
from /usr/lib/libwx_baseu-2.8.so.0
#19 0x00007ffff7b6f2d4 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () from /usr/lib/libwx_baseu-2.8.so.0
#20 0x00007ffff7b6f3b7 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0
#21 0x00007ffff7669f05 in wxWindow::GtkSendPaintEvents() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#22 0x00007ffff766a408 in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#23 0x00007ffff20569d8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007ffff6116a6e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#25 0x00007ffff612cde7 in ?? () from /usr/lib/libgobject-2.0.so.0
#26 0x00007ffff612e0eb in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#27 0x00007ffff612e863 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#28 0x00007ffff216f6df in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#29 0x00007ffff20501b6 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x00007ffff1cb09da in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#31 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#32 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#33 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#34 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#35 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#36 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#37 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#38 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#39 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#40 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
---Type to continue, or q to quit---
#41 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#42 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#43 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#44 0x00007ffff1cb0987 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#45 0x00007ffff1cad46b in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#46 0x00007ffff1caf2e1 in gdk_window_process_all_updates () from /usr/lib/libgdk-x11-2.0.so.0
#47 0x00007ffff1caf349 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#48 0x00007ffff1c8a626 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#49 0x00007ffff5507342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#50 0x00007ffff550b2a8 in ?? () from /lib/libglib-2.0.so.0
#51 0x00007ffff550b7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#52 0x00007ffff20503e7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#53 0x00007ffff7655578 in wxEventLoop::Run() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#54 0x00007ffff76dab1b in wxAppBase::MainLoop() () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#55 0x00007ffff7b14695 in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#56 0x000000000055f3f2 in main (argc=1, argv=0x0) at /home/jperry/build-loc/guayadeque/src/MainApp.cpp:39
(gdb)

finndo77
Posts: 36
Joined: Wed Jan 26, 2011 8:22 am

SEG fault in new svn (only downloaded it 30 mins ago)

Post by finndo77 » Wed Mar 09, 2011 11:09 am

the file being renamed in the second BT was completely deleted from my drive

User avatar
anonbeat
Posts: 1960
Joined: Thu Sep 16, 2010 9:47 pm

SEG fault in new svn (only downloaded it 30 mins ago)

Post by anonbeat » Wed Mar 09, 2011 1:52 pm

I need to know how can I reproduce it ? What are the settings of the Copy To option you used ? transcoding enabled ?

Thanks for your help

finndo77
Posts: 36
Joined: Wed Jan 26, 2011 8:22 am

SEG fault in new svn (only downloaded it 30 mins ago)

Post by finndo77 » Sun Mar 13, 2011 8:02 am

sure thing, oh and I do understand the file was deleted because I told Guaya to do so, but it would be nice to have a prompt if the copy fails before removing the original (or just plain does not do the delete after a failed operation.

copy to
rename: {a}-{t}
keep format
remove source files

mp3 convert: {a}-{t}
format: mp3
remove source files

User avatar
anonbeat
Posts: 1960
Joined: Thu Sep 16, 2010 9:47 pm

SEG fault in new svn (only downloaded it 30 mins ago)

Post by anonbeat » Sun Mar 13, 2011 2:12 pm

If the copy fails guayadeque should not delete the files but something went wrong.

The first segfault report happens in a function not related to copy to function. I cant reproduce it here.
The second segfault report happens outside guayadeque. In a pango function.

I will try to find where the problem was.

Thanks for your help

finndo77
Posts: 36
Joined: Wed Jan 26, 2011 8:22 am

SEG fault in new svn (only downloaded it 30 mins ago)

Post by finndo77 » Mon Mar 14, 2011 10:31 am

any additional information you need, just let me know. I can install the svn in a virtual machine and copy some mp3's over and wma files (to convert) and see if I can get it to reproduce more regularly.

Post Reply