[Sony Cross-Device General] ZeGuido:
Hello,

I'am posting a report for what seems to be the same issue as I previously reported with 0.6.6.0 linux.

Here's a link for reference :

Report error : flash aborted.

Flashtool 0.7.1.0 Linux.

.tft SEMC debrandEngine.

As previously, the flash doesn't proceed when I plug the X10 back in flashmode, and I get a abort error.

I tried to plug the X10 in flashmode before flashing. Flashtool correctly detect the device connected in flashmode. When I hit the flash button and select the .tft file to flash, flashtool crashed and I got this log from java :

log file name : hs_err_pid5147.log

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0069eb7a, pid=5147, tid=2380983152
#
# JRE version: 7.0_04-b20
# Java VM: Java HotSpot(TM) Server VM (23.0-b21 mixed mode linux-x86 )
# Problematic frame:
# C [libusb-1.0.so.0+0x6b7a] libusb_control_transfer+0xdda
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T H R E A D ---------------

Current thread (0x8dcdf400): JavaThread "Foxtrot Single Worker Thread #1" daemon [_thread_in_native, id=5185, stack(0x8de5e000,0x8deaf000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x62696c69

Registers:
EAX=0x00000000, EBX=0x006a3ff4, ECX=0x62696c63, EDX=0x0929fd34
ESP=0x8dead060, EBP=0x8dead0e8, ESI=0x09495650, EDI=0x093868b0
EIP=0x0069eb7a, EFLAGS=0x00210216, CR2=0x62696c69

Top of Stack: (sp=0x8dead060)
...

Instructions: (pc=0x0069eb7a)
...
Register to memory mapping:

EAX=0x00000000 is an unknown value
EBX=0x006a3ff4: <offset 0xbff4> in /usr/lib/libusb-1.0.so.0 at 0x00698000
ECX=0x62696c63 is an unknown value
EDX=0x0929fd34 is an unknown value
ESP=0x8dead060 is pointing into the stack for thread: 0x8dcdf400
EBP=0x8dead0e8 is pointing into the stack for thread: 0x8dcdf400
ESI=0x09495650 is an unknown value
EDI=0x093868b0 is an unknown value

Stack: [0x8de5e000,0x8deaf000], sp=0x8dead060, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libusb-1.0.so.0+0x6b7a] libusb_control_transfer+0xdda
C [libusb-1.0.so.0+0x4d95] libusb_cancel_transfer+0x445
C [libusb-1.0.so.0+0x5571] libusb_handle_events_timeout+0x71
C [libusb-1.0.so.0+0x5612] libusb_handle_events+0x32
C [libusb-1.0.so.0+0x5c0d] libusb_alloc_transfer+0x32d
C [jna7400227627049553684.tmp+0x10bca] ffi_call_SYSV+0x1a
C [jna7400227627049553684.tmp+0x10957] ffi_call+0x63
C [jna7400227627049553684.tmp+0x4966]
C [jna7400227627049553684.tmp+0x738e] Java_com_sun_jna_Native_invokeInt+0x37
j com.sun.jna.Native.invokeInt(JI[Ljava/lang/Object;)I+0
j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object;+333
j com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+214
j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+341
j $Proxy0.libusb_bulk_transfer(Lcom/sun/jna/Pointer;B[BI[II)I+49
j se.marell.libusb.UsbDevice.bulk_read(I[BI)I+21
j linuxlib.JUsb.readS1Device()Lflashsystem/S1Packet;+16
j flashsystem.io.USBFlashLinux.readS1Reply()V+0
j flashsystem.io.USBFlash.readS1Reply()V+17
j flashsystem.X10flash.openDevice(Z)Z+23
j flashsystem.X10flash.openDevice()Z+8
j gui.FlasherGUI$43.run()Ljava/lang/Object;+175
j foxtrot.AbstractWorkerThread$1.run()Ljava/lang/Object;+4
v ~StubRoutines::call_stub
V [libjvm.so+0x40ebb5] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x315
V [libjvm.so+0x5d3e39] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19
V [libjvm.so+0x40d9cf] JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x2f
V [libjvm.so+0x468544] JVM_DoPrivileged+0x274
C [libjava.so+0x9a0a] Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2Ljava_security_AccessControlContext_2+0x3a
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j foxtrot.AbstractWorkerThread.runTask(Lfoxtrot/Task;)V+13
j foxtrot.workers.SingleWorkerThread.run(Lfoxtrot/Task;)V+2
j foxtrot.workers.SingleWorkerThread.run()V+14
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [libjvm.so+0x40ebb5] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x315
V [libjvm.so+0x5d3e39] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x19
V [libjvm.so+0x40d9cf] JavaCalls::call(JavaValue*, methodHandle, JavaCallArguments*, Thread*)+0x2f
V [libjvm.so+0x40ed62] JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*)+0x122
V [libjvm.so+0x459299] thread_entry(JavaThread*, Thread*)+0xd9
V [libjvm.so+0x6dddb4] JavaThread::thread_main_inner()+0xf4
V [libjvm.so+0x6ddf41] JavaThread::run()+0x161
V [libjvm.so+0x5da9a1] java_start(Thread*)+0x111
C [libpthread.so.0+0x596e] start_thread+0xbe

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.jna.Native.invokeInt(JI[Ljava/lang/Object;)I+0
j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object;+333
j com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+214
j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+341
j $Proxy0.libusb_bulk_transfer(Lcom/sun/jna/Pointer;B[BI[II)I+49
j se.marell.libusb.UsbDevice.bulk_read(I[BI)I+21
j linuxlib.JUsb.readS1Device()Lflashsystem/S1Packet;+16
j flashsystem.io.USBFlashLinux.readS1Reply()V+0
j flashsystem.io.USBFlash.readS1Reply()V+17
j flashsystem.X10flash.openDevice(Z)Z+23
j flashsystem.X10flash.openDevice()Z+8
j gui.FlasherGUI$43.run()Ljava/lang/Object;+175
j foxtrot.AbstractWorkerThread$1.run()Ljava/lang/Object;+4
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j foxtrot.AbstractWorkerThread.runTask(Lfoxtrot/Task;)V+13
j foxtrot.workers.SingleWorkerThread.run(Lfoxtrot/Task;)V+2
j foxtrot.workers.SingleWorkerThread.run()V+14
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------
...

--------------- S Y S T E M ---------------

OS:squeeze/sid

uname:Linux 2.6.32-41-generic #88-Ubuntu SMP Thu Mar 29 13:08:43 UTC 2012 i686
libc:glibc 2.11.1 NPTL 2.11.1
rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity
load average:0,60 0,55 0,42

/proc/meminfo:
MemTotal: 2052400 kB
MemFree: 452508 kB
Buffers: 35048 kB
Cached: 1219168 kB
SwapCached: 0 kB
Active: 726748 kB
Inactive: 792504 kB
Active(anon): 232836 kB
Inactive(anon): 106720 kB
Active(file): 493912 kB
Inactive(file): 685784 kB
Unevictable: 16 kB
Mlocked: 16 kB
HighTotal: 1178440 kB
HighFree: 23728 kB
LowTotal: 873960 kB
LowFree: 428780 kB
SwapTotal: 2572280 kB
SwapFree: 2572280 kB
Dirty: 4764 kB
Writeback: 0 kB
AnonPages: 265088 kB
Mapped: 91020 kB
Shmem: 74464 kB
Slab: 46056 kB
SReclaimable: 33848 kB
SUnreclaim: 12208 kB
KernelStack: 2320 kB
PageTables: 5016 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 3598480 kB
Committed_AS: 1247080 kB
VmallocTotal: 122880 kB
VmallocUsed: 27796 kB
VmallocChunk: 82252 kB
HardwareCorrupted: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 4096 kB
DirectMap4k: 20472 kB
DirectMap4M: 888832 kB

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 14 stepping 12, cmov, cx8, fxsr, mmx, sse, sse2, sse3, tsc

/proc/cpuinfo:
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model	: 14
model name	: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz
stepping	: 12
cpu MHz	: 1000.000
...
flags	: fpu vme de pse tsc msr pae mce cx8 apic 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
bogomips	: 3324.35
clflush size	: 64
cache_alignment	: 64
address sizes	: 32 bits physical, 32 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model	: 14
model name	: Intel(R) Core(TM) Duo CPU L2400 @ 1.66GHz
stepping	: 12
cpu MHz	: 1000.000
cache size	: 2048 KB
physical id	: 0
siblings	: 2
core id	: 1
cpu cores	: 2
apicid	: 1
initial apicid	: 1
fdiv_bug	: no
hlt_bug	: no
f00f_bug	: no
coma_bug	: no
fpu	: yes
fpu_exception	: yes
cpuid level	: 10
wp	: yes
flags	: fpu vme de pse tsc msr pae mce cx8 apic 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
bogomips	: 3325.12
clflush size	: 64
cache_alignment	: 64
address sizes	: 32 bits physical, 32 bits virtual
power management:

Memory: 4k page, physical 2052400k(452508k free), swap 2572280k(2572280k free)

vm_info: Java HotSpot(TM) Server VM (23.0-b21) for linux-x86 JRE (1.7.0_04-b20), built on Apr 12 2012 02:22:23 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)

time: Wed May 23 12:02:41 2012
elapsed time: 28 seconds

This is just an assumption as I'm just a front end user and not big hat, but I have the feeling that the issue is related to the java instal on my setup. Could be a permission setting issue or anything like this. I am using a normal user acount for general purpose , no admin account, so may be flashtool require some more.

Could anybody give me any suggestion or a link to understand the usage of "ulimit -c unlimited" command line suggested by the log (I don't type down command line without at least an idea of what I am doing).

NOTE : I had to trim the log for it was to long for the board, so if some info is missing, I can provide the full log for developers.