bugThe Om Modular Synthesizer - Bugs: bug #16802, om_gtk segfaults at startup if it...

 
 

bug #16802: om_gtk segfaults at startup if it can't resolve hostname

Submitted by:  None
Submitted on:  Fri 09 Jun 2006 11:54:14 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri 09 Jun 2006 11:54:14 PM UTC, original submission:

joe@edward ~ $ om
SSE2 detected
[AlsaMidiDriver] Successfully opened ALSA sequencer.
[OSC] Started OSC server at osc.udp://edward:16180/
[PreProcessor] Launching thread.
[PostProcessor] Starting.
lash_open_socket: could not connect to host 'localhost', service 'lash'
lash_comm_connect_to_server: could not create server connection
lash_init: could not connect to server 'localhost' - disabling LASH
lash_init: LASH_START_SERVER unset, not attempting to start server automatically
[LashDriver] Failed to connect to LASH. Session management will not function.

Then:

(gdb) r
Starting program: /usr/local/bin/om_gtk
[Thread debugging using libthread_db enabled]
[New Thread -1212196320 (LWP 18566)]
[GladeFactory] Loading widgets from /usr/local/share/om/om_gtk.glade
[New Thread -1219736656 (LWP 18569)]
[Configuration] Unable to open settings file /home/joe/.omgtkrc
lash_open_socket: could not connect to host 'localhost', service 'lash'
lash_comm_connect_to_server: could not create server connection
lash_init: could not connect to server 'localhost' - disabling LASH
lash_init: LASH_START_SERVER unset, not attempting to start server automatically
[LashController] Failed to connect to LASH. Session management will not function.
[OSCController] Started OSC listener on port 16520
[New Thread -1228653648 (LWP 18570)]
[OSCController] Attaching to engine at osc.udp://edward:16180/

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1212196320 (LWP 18566)]
0x471bd989 in free () from /lib/libc.so.6
(gdb) bt
#0 0x471bd989 in free () from /lib/libc.so.6
#1 0x47200650 in freeaddrinfo () from /lib/libc.so.6
#2 0xb7f973bb in send_data (a=0x814dce0, from=0x0, data=0x814dd90 "/om/ping", data_len=20) at send.c:376
#3 0xb7f975ee in lo_send_message_from (a=0x814dce0, from=0x0, path=0x814dd90 "/om/ping", msg=0x814dd60) at send.c:517
#4 0xb7f97641 in lo_send_message (a=0x646e656b, path=0x646e656b <Address 0x646e656b out of bounds>, msg=0x646e656b) at send.c:508
#5 0xb7f976d8 in lo_send_internal (t=0x814dce0, file=0x646e656b <Address 0x646e656b out of bounds>, line=1684956523,
path=0x646e656b <Address 0x646e656b out of bounds>, types=0x646e656b <Address 0x646e656b out of bounds>) at send.c:85
#6 0x080b138e in LibOmClient::OSCController::ping (this=0x813f558, id=1) at OSCController.cpp:242
#7 0x080b1045 in LibOmClient::OSCController::attach (this=0x813f558, engine_url=@0x8131720, client_port=0, block=false)
at OSCController.cpp:160
#8 0x080660b6 in OmGtk::Controller::attach (this=0x8131710) at Controller.cpp:63
#9 0x0805a7aa in OmGtk::ConnectWindow::gtk_callback (this=0x82e9818) at ConnectWindow.cpp:87
#10 0x0805c4fb in sigc::bound_mem_functor0<bool, OmGtk::ConnectWindow>::operator() (this=0x82e8aa4) at mem_fun.h:1787
#11 0x0805c270 in sigc::adaptor_functor<sigc::bound_mem_functor0<bool, OmGtk::ConnectWindow> >::operator() (this=0x82e8aa0)
at adaptor_trait.h:251
#12 0x0805be4a in sigc::internal::slot_call0<sigc::bound_mem_functor0<bool, OmGtk::ConnectWindow>, bool>::call_it (rep=0x82e8a88)
at slot.h:103
#13 0xb7ece1d8 in (anonymous namespace)::SourceCallbackData::destroy_notify_callback () from /usr/lib/libglibmm-2.4.so.1
#14 0xb7d15837 in g_main_context_is_owner () from /usr/lib/libglib-2.0.so.0
#15 0x08151e50 in ?? ()
#16 0x00000002 in ?? ()
#17 0x0812fd38 in ?? ()
#18 0xb7d11c58 in g_get_current_time () from /usr/lib/libglib-2.0.so.0
#19 0xb7d736e0 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0xb7d731b4 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0xb7d156c0 in g_main_context_is_owner () from /usr/lib/libglib-2.0.so.0
#22 0xb7d156ec in g_main_context_is_owner () from /usr/lib/libglib-2.0.so.0
#23 0xb7d731b4 in ?? () from /usr/lib/libglib-2.0.so.0
#24 0xb7d731b4 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00000000 in ?? ()
(gdb)

Segfault went away when I put edward in my hosts file

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

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):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup