[josm-dev] Latest josm seems to be crashing Xorg

ael law_ence.dev at ntlworld.com
Wed Feb 10 19:48:38 UTC 2016


On Wed, Feb 10, 2016 at 07:28:08PM +0100, Richard wrote:
> On Tue, Feb 09, 2016 at 03:45:02PM +0000, ael wrote:
> > On Mon, Feb 08, 2016 at 11:20:06PM +0100, Richard wrote:
> > > On Mon, Feb 08, 2016 at 08:14:37PM +0000, ael wrote:
> > > > I am not sure what is happeing here, but downloading the latest
> > > > josm version a few minutes ago and attempting to run it crashes 
> > > > Xorg with "Bus error at address 0x0".
> > > > 
> > > > I am on debian testing, and using
> > > 
> 
> gdb is surely the best thing to do, even without the debug packages.
> However sometimes strace/ltrace might also be very usefull.
> BTW I find it handy to attach strace, ltrace or gdb to running processes
> with "-p PID"
> 
> it might be related to the particular video driver in the kernel. Did you
> look at kernel messages?

Yes, I consulted /var/log/kern.log and even (spit) journalctl.
The later just had the Xorg.O.log message already reported.

I tried strace and ltrace in the hope that they might help me select 
which processes to aim at with gdb. The strace log was not very
informative, at least to me. Much more interesting was that the
crash *did not occur" when using ltrace.

However, ltrace reported 

[pid 3819] __libc_start_main(0x400660, 3, 0x7ffc1057f658, 0x4007a0 <unfinished ...>
[pid 3819] JLI_Launch(3, 0x7ffc1057f658, 1, 0 <no return ...>
[pid 3820] --- SIGSEGV (Segmentation fault) ---
[pid 3820] --- SIGSEGV (Segmentation fault) ---
[pid 3820] --- SIGSEGV (Segmentation fault) ---
[pid 3820] --- SIGSEGV (Segmentation fault) ---
[pid 3840] --- Called exec() ---
[pid 3840] __libc_start_main(0x401a20, 2, 0x7ffdca1534b8, 0x405420 <unfinished ...>

right at the start. I haven't worked out what process was running as
3820, but it seems like the first obvious target for gbd.

I imagine that JLI_Launch is from
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/jli/libjli.so 
but it seems to have been stripped of symbols.

I hope to have more to report later.

I suppose that I should also try with java-8.

ael



More information about the josm-dev mailing list