• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClient error Segmentation fault (core dumped)

Flower

New Member
Joined
Jan 9, 2009
Messages
16
Reaction score
0
Compiled latest source, getting this error when starting otclient. Where do I go from here? I did have some problems locating libGLEW at first, but I don't know if this is related.

Code:
$ ./otclient
GPU Mesa DRI Intel(R) 945GM x86/MMX/SSE2
OpenGL 1.4 Mesa 9.2.1
ERROR: Application crashed
app name: OTClient
app version: 0.6.5
build compiler: gcc 4.8.1
build date: Oct 11 2014
build type: RelWithDebInfo
build revision: 0 (devel)
crash date: Oct 11 2014 11:52:48
  at eip = 0
     eax = 0x19fd4168
     ebx = 0x19fd4168
     ecx = 0xb74db440
     edx = 0x19fd4168
     esi = 0x19fd4168
     edi = 0x87c1b00
     ebp = 0xbfb2a158
     esp = 0xbfb2a12c
     efl = 0x10286

  backtrace:

Crash report saved to file crash_report.log
Segmentation fault (core dumped)
GDB:
Code:
 $ gdb otclient
GNU gdb (GDB) 7.6.1-ubuntu
Reading symbols from /home/otclient/build/otclient...done.
(gdb) run
Starting program: /home/otclient/build/otclient
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xb7ac3b40 (LWP 8812)]
GPU Mesa DRI Intel(R) 945GM x86/MMX/SSE2
OpenGL 1.4 Mesa 9.2.1
[New Thread 0xb57e2b40 (LWP 8813)]
[Thread 0xb57e2b40 (LWP 8813) exited]
[New Thread 0xb57e2b40 (LWP 8814)]
[New Thread 0xb0dffb40 (LWP 8815)]

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb)

(gdb) bt
#0  0x00000000 in ?? ()
#1  0x083f0610 in ShaderProgram::ShaderProgram (this=0x18a74168)
    at /home/otclient/src/framework/graphics/shaderprogram.cpp:33
#2  0x083efbeb in PainterShaderProgram::PainterShaderProgram (this=0x18a74168)
    at /home/otclient/src/framework/graphics/paintershaderprogram.cpp:31
#3  0x083622e0 in ShaderManager::createShader (
    this=this@entry=0x87c1b00 <g_shaders>, name=...)
    at /home/otclient/src/client/shadermanager.cpp:58
#4  0x083628f3 in ShaderManager::createFragmentShaderFromCode (
    this=this@entry=0x87c1b00 <g_shaders>, name=..., code=...)
    at /home/otclient/src/client/shadermanager.cpp:88
#5  0x08362c80 in ShaderManager::init (this=0x87c1b00 <g_shaders>)
    at /home/otclient/src/client/shadermanager.cpp:36
#6  0x0834c133 in Client::init (this=0x87c1928 <g_client>, args=...)
    at /home/otclient/src/client/client.cpp:44
#7  0x083bba0a in main (argc=1, argv=0xbffff304)
    at /home/otclient/src/main.cpp:39
(gdb)

Lubuntu 13.10
Linux version 3.11.0-26-generic (buildd@batsu) (gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu8) ) #45-Ubuntu SMP Tue Jul 15 04:04:15 UTC 2014

Specs:
Code:
   description: Notebook
    product: 9457Y1X ()
    vendor: LENOVO
    version: ThinkPad R60
    serial: LPLCWM0
    width: 32 bits
    capabilities: smbios-2.4 dmi-2.4 smp-1.4 smp
    configuration: administrator_password=disabled boot=normal chassis=notebook cpus=2 family=ThinkPad R60 frontpanel_password=unknown keyboard_password=disabled power-on_password=disabled
  *-core
  description: Motherboard
  product: 9457Y1X
  vendor: LENOVO
  physical id: 0
  version: Not Available
  serial: 1ZBWK69127L
  *-firmware
  description: BIOS
  vendor: LENOVO
  physical id: 0
  version: 7CET49WW (1.04 )
  date: 05/11/2006
  size: 144KiB
  capacity: 1984KiB
  capabilities: pci pcmcia pnp upgrade shadowing escd cdboot bootselect socketedrom edd acpi usb biosbootspecification
  *-cpu:0
  description: CPU
  product: Genuine Intel(R) CPU  T2500  @ 2.00GHz
  vendor: Intel Corp.
  physical id: 6
  bus info: cpu@0
  version: 6.14.8
  serial: 0000-06E8-0000-0000-0000-0000
  slot: None
  size: 1GHz
  capacity: 2GHz
  width: 32 bits
  clock: 167MHz
  capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon bts aperfmperf pni monitor vmx est tm2 xtpr pdcm dtherm cpufreq
  configuration: id=1
  *-memory
  description: System Memory
  physical id: 29
  slot: System board or motherboard
  size: 2GiB
  capacity: 2GiB
  *-pci
  description: Host bridge
  product: Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub
  vendor: Intel Corporation
  physical id: 100
  bus info: pci@0000:00:00.0
  version: 03
  width: 32 bits
  clock: 33MHz
  configuration: driver=agpgart-intel
  resources: irq:0
  *-display:0
  description: VGA compatible controller
  product: Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller
  vendor: Intel Corporation
  physical id: 2
  bus info: pci@0000:00:02.0
  version: 03
  width: 32 bits
  clock: 33MHz
  capabilities: msi pm vga_controller bus_master cap_list rom
  configuration: driver=i915 latency=0
  resources: irq:16 memory:ee100000-ee17ffff ioport:1800(size=8) memory:d0000000-dfffffff memory:ee200000-ee23ffff
  *-multimedia
  description: Audio device
  product: NM10/ICH7 Family High Definition Audio Controller
  vendor: Intel Corporation
  physical id: 1b
  bus info: pci@0000:00:1b.0
  version: 02
  width: 64 bits
  clock: 33MHz
  capabilities: pm msi pciexpress bus_master cap_list
  configuration: driver=snd_hda_intel latency=0
  resources: irq:45 memory:ee240000-ee243fff
 
Back
Top