FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

segmentation fault with simple tutorial

 
Post new topic   Reply to topic     Forum Index -> QtD
View previous topic :: View next topic  
Author Message
fennellstyle



Joined: 06 Aug 2011
Posts: 2

PostPosted: Sun Aug 07, 2011 5:11 pm    Post subject: segmentation fault with simple tutorial Reply with quote

I opened a ticket for this. Just wondering if anyone had any insight.

http://www.dsource.org/projects/qtd/ticket/107

Thanks
Back to top
View user's profile Send private message
fennellstyle



Joined: 06 Aug 2011
Posts: 2

PostPosted: Sun Aug 07, 2011 10:17 pm    Post subject: Reply with quote

I have some more information. I compiled in debug mode using:
{{{
dmd main.d -I/usr/local/include/d -L-L/usr/qt/4/lib -L-lqtdgui -L-lqtdcore -L-lcpp_core -L-lcpp_gui -L-lQtGui -L-lQtCore -debug -g
}}}

and ran through gdb. Tthis is gdb's output:
{{{
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff62fa056 in QUtf8::convertToUnicode (chars=0x4b <Address 0x4b out of bounds>, len=18, state=0x0) at codecs/qutfcodec.cpp:175
175 codecs/qutfcodec.cpp: No such file or directory.
in codecs/qutfcodec.cpp
}}}

Any idea why my string address is out of bounds?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> QtD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group