Re: [poedit-users] execution segmentation fault

"Martin d'Anjou" <[email protected]>
Newsgroups gmane.editors.poedit.user
Message-ID <[email protected]>
Le ven 08/10/2004 à 07:02, Vaclav Slavik a écrit :

> Sorry, but this is absolutely useless. First, forge about 1.2.3. 
> Second, do you realize that backtraces from binaries *without 
> debugging information* are of no value?

I thought the debug USE flag passed -g to the compiler and produced the
debug information. I did like this:

$ USE="unicode gtk2 debug" emerge wxGTK poedit

But obviously, that did not work... so I changed CFLAGS in make.conf to
be CFLAGS="-g -march=i686", re-emerged as above. Everything recompiled
and the -g is used everywhere. But the debug trace is as meaningless as
before:

#0  0x0807e533 in wxListItem::GetClassInfo() const ()
(gdb) bt
#0  0x0807e533 in wxListItem::GetClassInfo() const ()
#1  0x080692fe in ?? ()
#2  0x4026c8b5 in wxEntry(int, char**) () from
/usr/lib/libwx_gtk2ud-2.4.so
#3  0x080686db in ?? ()
#4  0x406c08a8 in __libc_start_main () from /lib/libc.so.6
#5  0x080598e1 in ?? ()
(gdb)

I am puzzled! So unless I figure out how to do this, I will 
try kbabel instead. I hope it is as good as poedit.

> > The segmentation fault happens right after I click OK. 
> 
> First you claimed it crashes when you launch it, now it is after you 
> click some OK button (which one? There are lots of them in the app.). 

I agree, my explanation is incomplete. This is what I do: First I type
poedit. Then a small window titled "Initialization" pops up and says
that this is the first time I use poEdit and that I should fill in my
name and email. This window has an OK button. I click the button. The
window closes. Then the command line says Segmentation Fault, and poedit
exits. When I run with --verbose, I get the message that the
poedit-wxstd catalog cannot be found, and the end result is the same:
segmentation fault. There is no other window appearing on the screen.

Sorry, I try to be as precise as I can be. I captured a screendump where
you can see the only two windows I get when I launch poedit with
--verbose and placed it here:
http://mda.zapto.org/files/mda/poedit_snapshot.png

Thanks,
Martin




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.