Opened 5 years ago

Closed 5 years ago

#235 closed defect (invalid)

Exporting to JPEG2000 results in SIGABRT

Reported by: dmisev Owned by: dmisev
Priority: major Milestone: Future
Component: conversion Version: 8.3
Keywords: Cc: pbaumann
Complexity:

Description

Running the below query kills the server:

select encode(c, "JPEG2000") from Case1_HRE10G324642N1170747W_Uxx AS c

It seems like a bug with JPEG2000 driver in GDAL, because the same query exporting to GTiff works fine.

Below is the stacktrace from gdb:

Program received signal SIGABRT, Aborted.
0x00007f6cd6057475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007f6cd6057475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f6cd605a6f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007f6cd6050621 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007f6cd262c939 in ?? () from /usr/lib/libjasper.so.1
#4  0x00007f6cd262cd0c in ?? () from /usr/lib/libjasper.so.1
#5  0x00007f6cd262d7b2 in jpc_encode () from /usr/lib/libjasper.so.1
#6  0x00007f6cd2622ddd in jp2_write_codestream () from /usr/lib/libjasper.so.1
#7  0x00007f6cd262350e in jp2_encode_uuid () from /usr/lib/libjasper.so.1
#8  0x00007f6cd86d5e7c in ?? () from /usr/lib/libgdal.so.1
#9  0x00007f6cd88130ea in GDALDriver::CreateCopy(char const*, GDALDataset*, int, char**, int (*)(double, char const*, void*), void*) () from /usr/lib/libgdal.so.1
#10 0x00000000004a1873 in QtEncode::evaluateMDD(QtMDD*) ()
#11 0x00000000004a2007 in QtEncode::evaluate(std::vector<QtData*, std::allocator<QtData*> >*) ()
#12 0x000000000046e08b in QtOperationIterator::next() ()
#13 0x000000000049f52a in QueryTree::evaluateRetrieval() ()
#14 0x00000000004386cc in ServerComm::executeQuery(unsigned long, char const*, ExecuteQueryRes&) ()
#15 0x000000000044232d in HttpServer::processRequest(unsigned long, char*, int, char*, int, char*, int, char*&, char*) ()
#16 0x000000000042fab4 in RasServerEntry::compat_executeQueryHttp(char const*, int, char*&) ()
#17 0x0000000000444efd in RnpRasDaManComm::executeQueryHttp() ()
#18 0x0000000000447c48 in RnpRasDaManComm::decodeFragment() ()
#19 0x0000000000446fd1 in RnpRasDaManComm::processRequest(akg::CommBuffer*, akg::CommBuffer*, rnp::RnpTransport::CarrierProtocol, rnp::RnpServerJob*) ()
#20 0x000000000044a73c in rnp::RnpServerJob::processRequest() ()
#21 0x000000000052ae4e in akg::NbCommunicator::processJobs() ()
#22 0x000000000052b0b8 in akg::NbCommunicator::mainLoop() ()
#23 0x0000000000443e24 in startRnpServer() ()
#24 0x000000000040a0bc in main ()

Change History (2)

comment:1 Changed 5 years ago by pbaumann

  • Milestone set to Future

this should get promoted to a GDAL ticket.

comment:2 Changed 5 years ago by dmisev

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.