PDA

View Full Version : ShowEQ Crashing after finding the EQ client



tomtom
03-19-2009, 05:20 AM
Hi folks

I just instaled ShowEQ the other day on Ubuntu 8.10 And finally got around to trying it out yesterday.But it kept crashing as soon as it found the EQ client. For a moment i would see the loaded zone (maybe a minute or so) then it would be terminated.

The output on the console is below. Hopefully in the right code tags.




user@user-laptop:~$ sudo showeq
ShowEQ 5.13.2.0, released under the GPL.
SINS 0.5, released under the GPL.
All ShowEQ source code is Copyright (C) 2000-2005 by the respective ShowEQ Developers
ShowEQ comes with NO WARRANTY.

You may redistribute copies of ShowEQ under the terms of
The GNU General Public License.
See: http://www.gnu.org/copyleft/gpl.html for more details...

For updates and information, please visit http://seq.sourceforge.net/
ShowEQ 5.13.2.0, Built from 'main.cpp' on Mar 18 2009 at 12:08:14
CVS: @(#) $Id: main.cpp 718 2009-01-20 17:41:14Z ieatacid $ $Name$
Using GCC version: 4.3.2
Using glibc version: 2.8
Using Qt version: 3.3.8b
Running on Linux release 2.6.27-11-generic for processor i686

Using config file '/home/user/.showeq/showeq.xml'
Loaded preferences file: /usr/local/share/showeq/seqdef.xml!
Unable to open file: /home/user/.showeq/showeq.xml!
Info: Listening for first client seen.
Info: Initializing Packet Capture Thread:
Info: Filtering packets on device eth0, searching for EQ client...
Warning: Spells: Failed to open: '/usr/local/share/showeq/spells_us.txt'
Warning: GuildMgr: Could not load guildsfile, /home/user/.showeq/tmp/guilds2.dat
Info: Loading Filters from '/home/user'
Info: Loading Zone Filter File: /home/user
Info: Loading Zone Filter File: /home/user
Info: Categories Reloaded
Info: No Map found for zone 'unknown'!
Info: Checked for all variants of 'unknown.map', 'unknown.txt', and 'unknown_1.txt'
Info: in directories '/home/user/.showeq/maps' and '/usr/local/share/showeq/maps'!
Warning: EQStr: Failed to open '/usr/local/share/showeq/eqstr_us.txt'
Info: Client Detected: 192.168.12.4
Zone: EntryCode: Client
Info: Loaded SOE map: '/usr/local/share/showeq/maps/poknowledge_1.txt'
Info: Loading Zone Filter File: /home/user
Zone: Zoning, Please Wait... (Zone: 'poknowledge')
Player: Name: '' Last: ''
Player: Level: 18
Player: PlayerMoney: P=27 G=5 S=4 C=5
Player: BankMoney: P=0 G=0 S=0 C=0
Player: CursorMoney: P=0 G=0 S=0 C=0
Player: SharedMoney: P=1000
Player: DoN Crystals: Radiant=0 Ebon=0
Player: Exp: 6,124,946
Player: ExpAA: 0 (aa spent: 0, aa unspent: 0)
Player: You have buff Shielding duration left is 27 in ticks.
Player: LDoN Earned Guk Points: 0
Player: LDoN Earned Mira Points: 0
Player: LDoN Earned MMC Points: 0
Player: LDoN Earned Ruj Points: 0
Player: LDoN Earned Tak Points: 0
Player: LDoN Unspent Points: 0
Debug: Player::backfill(bind): Pos (146.000000/-320.000000/-28.000000) Heading: 0.000000
Debug: Player::backfill(): Pos (1350.426392/212.863602/-111.332649) Heading: 68.000000
Player: ExpAA: Set: 0 total, with 0 aapoints
Time: Mon Jul 20,3181 - 06:51 am
Debug: Welcome to lovely downtown 'The Plane of Knowledge' with an experience multiplier of 1.000000
Debug: Safe Point (-285.000000, -148.000000, -159.000000)
Warning: Can't find spawn point file /home/user
Info: Loading Zone Filter File: /home/user
Zone: Entered: ShortName = 'poknowledge' LongName = The Plane of Knowledge
Zone: NewCode: Zone: PoKnowledge (The Plane of Knowledge)
Warning: INVALID PACKET: Bad CRC [192.168.12.9:1038 -> 224.0.0.253:3544] netOp 0060 seq 0000 len 40 crc (0001 != 6a00)
Player: ExpAA: < 45454, 0 (0/330) with 15000000 left
Player: Exp: Set: 6124946 total, with 720646 (235/330) into level with 290254 left, where 1/330 = 3063
*** buffer overflow detected ***: showeq terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb768f6d8]
/lib/tls/i686/cmov/libc.so.6[0xb768d800]
/lib/tls/i686/cmov/libc.so.6[0xb768cef8]
/lib/tls/i686/cmov/libc.so.6(__overflow+0x53)[0xb7603543]
/lib/tls/i686/cmov/libc.so.6(__printf_fp+0x17b1)[0xb75db3e1]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x3ca)[0xb75d4d8a]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa4)[0xb768cfa4]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0xb768ceed]
showeq[0x80a88ba]
showeq[0x80e3f63]
/usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectio nListP8QUObject+0xed)[0xb7b2730d]
showeq[0x8125988]
showeq[0x8125c5e]
showeq[0x81278d7]
/usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectio nListP8QUObject+0x16a)[0xb7b2738a]
showeq[0x8091946]
showeq[0x808eaeb]
showeq[0x808f5b5]
showeq[0x808f6e2]
showeq[0x808ff70]
showeq[0x8098848]
showeq[0x809895d]
showeq[0x809c2f0]
/usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEP15QConnectio nListP8QUObject+0x16a)[0xb7b2738a]
/usr/lib/libqt-mt.so.3(_ZN7QObject15activate_signalEi+0x9b)[0xb7b298ab]
/usr/lib/libqt-mt.so.3(_ZN6QTimer7timeoutEv+0x29)[0xb7e88ca9]
/usr/lib/libqt-mt.so.3(_ZN6QTimer5eventEP6QEvent+0x3c)[0xb7b4b96c]
/usr/lib/libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjec tP6QEvent+0xe5)[0xb7ac24f5]
/usr/lib/libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent +0xf6)[0xb7ac3536]
/usr/lib/libqt-mt.so.3(_ZN10QEventLoop14activateTimersEv+0x233)[0xb7ab7d13]
/usr/lib/libqt-mt.so.3(_ZN10QEventLoop13processEventsEj+0xb27)[0xb7a6d147]
/usr/lib/libqt-mt.so.3(_ZN10QEventLoop9enterLoopEv+0x40)[0xb7adaf00]
/usr/lib/libqt-mt.so.3(_ZN10QEventLoop4execEv+0x26)[0xb7adadc6]
/usr/lib/libqt-mt.so.3(_ZN12QApplication4execEv+0x1f)[0xb7ac2b8f]
showeq[0x8069f68]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb75ab685]
showeq[0x8066e81]
======= Memory map: ========
08048000-08269000 r-xp 00000000 08:07 699687 /usr/local/bin/showeq
08269000-0826a000 r--p 00220000 08:07 699687 /usr/local/bin/showeq
0826a000-0826c000 rw-p 00221000 08:07 699687 /usr/local/bin/showeq
0826c000-0826d000 rw-p 0826c000 00:00 0
08bee000-09011000 rw-p 08bee000 00:00 0 [heap]
b6600000-b6621000 rw-p b6600000 00:00 0
b6621000-b6700000 ---p b6621000 00:00 0
b67f5000-b6809000 r--p 00000000 08:07 753706 /usr/share/fonts/type1/gsfonts/n019003l.pfb
b6809000-b6814000 r-xp 00000000 08:07 999973 /usr/lib/qt3/plugins/inputmethods/libqxim.so
b6814000-b6815000 rw-p 0000a000 08:07 999973 /usr/lib/qt3/plugins/inputmethods/libqxim.so
b6815000-b6839000 r-xp 00000000 08:07 999972 /usr/lib/qt3/plugins/inputmethods/libqsimple.so
b6839000-b683a000 rw-p 00024000 08:07 999972 /usr/lib/qt3/plugins/inputmethods/libqsimple.so
b683a000-b683e000 r-xp 00000000 08:07 999971 /usr/lib/qt3/plugins/inputmethods/libqimsw-none.so
b683e000-b683f000 rw-p 00003000 08:07 999971 /usr/lib/qt3/plugins/inputmethods/libqimsw-none.so
b683f000-b6848000 r-xp 00000000 08:07 999970 /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so
b6848000-b6849000 rw-p 00008000 08:07 999970 /usr/lib/qt3/plugins/inputmethods/libqimsw-multi.so
b6849000-b68de000 r--p 00000000 08:07 747183 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b68de000-b68df000 ---p b68de000 00:00 0
b68df000-b70df000 rw-p b68df000 00:00 0
b70df000-b7107000 r-xp 00000000 08:07 601014 /usr/lib/libkdefx.so.4.2.0
b7107000-b7108000 ---p 00028000 08:07 601014 /usr/lib/libkdefx.so.4.2.0
b7108000-b7109000 r--p 00028000 08:07 601014 /usr/lib/libkdefx.so.4.2.0
b7109000-b710a000 rw-p 00029000 08:07 601014 /usr/lib/libkdefx.so.4.2.0
b710a000-b7128000 r-xp 00000000 08:07 1009840 /usr/lib/kde3/plugins/styles/plastik.so
b7128000-b7129000 r--p 0001d000 08:07 1009840 /usr/lib/kde3/plugins/styles/plastik.so
b7129000-b712a000 rw-p 0001e000 08:07 1009840 /usr/lib/kde3/plugins/styles/plastik.so
b712a000-b712b000 rw-p b712a000 00:00 0
b712b000-b7131000 r--s 00000000 08:07 468037 /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2
b7131000-b7132000 r--s 00000000 08:07 468030 /var/cache/fontconfig/99e8ed0e538f840c565b6ed5dad60d56-x86.cache-2
b7132000-b7135000 r--s 00000000 08:07 468021 /var/cache/fontconfig/e383d7ea5fbe662a33d9b44caf393297-x86.cache-2
b7135000-b7136000 r--s 00000000 08:07 468019 /var/cache/fontconfig/fd9505950c048a77dc4b710eb6a628ed-x86.cache-2
b7136000-b7137000 r--s 00000000 08:07 468018 /var/cache/fontconfig/a2ab74764b07279e7c36ddb1d302cf26-x86.cache-2
b7137000-b713a000 r--s 00000000 08:07 468016 /var/cache/fontconfig/6eb3985aa4124903f6ff08ba781cd364-x86.cache-2
b713a000-b713b000 r--s 00000000 08:07 468015 /var/cache/fontconfig/4c73fe0c47614734b17d736dbde7580a-x86.cache-2
b713b000-b713d000 r--s 00000000 08:07 468013 /var/cache/fontconfig/646addb8444faa74ee138aa00ab0b6a0-x86.cache-2
b713d000-b7140000 r--s 00000000 08:07 468012 /var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-x86.cache-2
b7140000-b7143000 r--s 00000000 08:07 468011 /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-x86.cache-2
b7143000-b7146000 r--s 00000000 08:07 468010 /var/cache/fontconfig/de156ccd2eddbdc19d37a45b8b2aac9c-x86.cache-2
b7146000-b7148000 r--s 00000000 08:07 468009 /var/cache/fontconfig/da1bd5ca8443ffe22927a23ce431d198-x86.cache-2
b7148000-b7150000 r--s 00000000 08:07 468008 Aborted
user@user-laptop:~$



Can somone give ma pointer please in what to do '?
Any help is greatly apreciated.

Best regards

purple
03-19-2009, 11:43 AM
http://www.showeq.net/forums/showthread.php?p=44360

tomtom
03-19-2009, 12:25 PM
Hi

Thanks for the link

But unfortunatly that didnt fix it for me

i changed all the values as show in the src/interface.cpp

then uninstalled, reconfigured , make and make install

but still crashes :(

Any idea what else i could be doing wrong ?

Or did you change anything else on ther interface.cpp ?

Best regards

purple
03-19-2009, 01:46 PM
Just comment out the contents of the function and wait for the next version of ShowEQ for a real fix. The only downside is the exp display on the status bar of the main window.

tomtom
03-19-2009, 03:58 PM
Hi here

I am too dumb for this world.

Okay to make sure i have the right file:

I edit in showeq-extracted-folder/src/interface.cpp

In there are 2 functions that use the expperc part :


void EQInterface::setExp(uint32_t totalExp, uint32_t totalTick,
uint32_t minExpLevel, uint32_t maxExpLevel,
uint32_t tickExpLevel)
{
/*
if (m_stsbarExp)
{
// 19-03-09 Teclis22 - changed 1 line according to forum post char expperc from 5 to 20
char expperc[20];
sprintf(expperc, "%.2f", totalTick*100.0/330.0);

m_stsbarExp->setText(QString("Exp: %1 (%2/330, %3%)")
.arg(Commanate(totalExp)).arg(totalTick).arg(exppe rc));

}
*/
}

void EQInterface::newExp(uint32_t newExp, uint32_t totalExp,
uint32_t totalTick,
uint32_t minExpLevel, uint32_t maxExpLevel,
uint32_t tickExpLevel)
{
/*
uint32_t leftExp = maxExpLevel - totalExp;

if (newExp)
{
uint32_t needKills = leftExp / newExp;
// format a string for the status bar
if (m_stsbarStatus)
m_stsbarStatus->setText(QString("Exp: %1; %2 (%3/330); %4 left [~ %5 kills]")
.arg(Commanate(newExp))
.arg(Commanate(totalExp - minExpLevel))
.arg(totalTick)
.arg(Commanate(leftExp))
.arg(needKills));

if (m_stsbarExp)
{

char expperc[20];
sprintf(expperc, "%.2f", totalTick*100.0/330.0);

m_stsbarExp->setText(QString("Exp: %1 (%2/330, %3%)")
.arg(Commanate(totalExp)).arg(totalTick).arg(exppe rc));

}
}
else
{
if (m_stsbarStatus)
m_stsbarStatus->setText(QString("Exp: <%1; %2 (%3/330); %4 left")
.arg(Commanate(tickExpLevel))
.arg(Commanate(totalExp - minExpLevel))
.arg(totalTick).arg(Commanate(leftExp)));

if (m_stsbarExp)
{

char expperc[20];
sprintf(expperc, "%.2f", totalTick*100.0/330.0);

m_stsbarExp->setText(QString("Exp: %1 (%2/330, %3%)")
.arg(Commanate(totalExp)).arg(totalTick).arg(exppe rc));

}
}
*/
}


Okay then i did in the extracted folder

sudo make uninstall
sudo ./configure
sudo make
sudo make install

Still i have that freaking error ?

What did i do wrong ?
Chance you could post your edited file and give a run down on implementing the change please.

Best regards

brainiac
03-19-2009, 05:41 PM
I can't reproduce this crash, the best I can give is a suggestion. Can you post a stack trace with debug symbols (use gdb)?