[Pidgin] #2034: GntFileSel crashes on location update

Pidgin trac at pidgin.im
Wed Jul 4 20:19:51 EDT 2007


#2034: GntFileSel crashes on location update
---------------------------------+------------------------------------------
 Reporter:  aluink               |       Owner:  aluink
     Type:  defect               |      Status:  new   
 Priority:  minor                |   Milestone:        
Component:  finch (gnt/ncurses)  |     Version:        
 Keywords:  gnt finch            |     Pending:  0     
---------------------------------+------------------------------------------
 #0  0xb7e1d592 in update_location (sel=0x82aa838) at gntfilesel.c:201
 201             old = g_strdup_printf("%s%s%s", sel->current,
 sel->current[1] ? G_DIR_SEPARATOR_S : "", tmp ? tmp : "");
 (gdb) bt
 #0  0xb7e1d592 in update_location (sel=0x82aa838) at gntfilesel.c:201
 #1  0xb7c82c23 in g_cclosure_marshal_VOID__VOID () from
 /usr/lib/libgobject-2.0.so.0

 sel->current == NULL

 I get this error and backtrace when executing this line.

 gnt_widget_show(gnt_file_sel_new());

 I know this isn't functional, but my point is that when creating an empty
 file selector and just showing it causes a crash.  If this is a known
 behavior, we should document it somehow to make sure can build them
 properly.

-- 
Ticket URL: <http://d.pidgin.im/ticket/2034>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list