I tried to run this query:
SELECT
|
b.ekperif, s.short_description, s.imagesXrwma
|
FROM
|
(SELECT
|
ps.synolo,
|
se.id_syndiasmosSeEnotita,
|
se.id_syndiasmos,
|
se.id_perifereiakiEnotita,
|
se.id_eklogikhPerifereia
|
FROM
|
(SELECT
|
SUM(ps.psifoiSyndiasmou) AS synolo,
|
ps.id_syndiasmosSeEnotita
|
FROM
|
psifoiSyndiasmon AS ps
|
WHERE
|
ps.id_diexagogiEklogon = 3
|
GROUP BY (ps.id_syndiasmosSeEnotita)) AS ps
|
LEFT JOIN syndiasmosSeEnotita se ON ps.id_syndiasmosSeEnotita =
|
se.id_syndiasmosSeEnotita
|
WHERE
|
se.active = 1) AS a
|
INNER JOIN
|
(SELECT
|
MAX(t.synolo) AS maxsynolo,
|
t.id_eklogikhPerifereia AS ekperif
|
FROM
|
(SELECT
|
ps.synolo,
|
se.id_syndiasmosSeEnotita,
|
se.id_syndiasmos,
|
se.id_perifereiakiEnotita,
|
se.id_eklogikhPerifereia
|
FROM
|
(SELECT
|
SUM(ps.psifoiSyndiasmou) AS synolo,
|
ps.id_syndiasmosSeEnotita
|
FROM
|
psifoiSyndiasmon AS ps
|
WHERE
|
ps.id_diexagogiEklogon = 3
|
GROUP BY (ps.id_syndiasmosSeEnotita)) AS ps
|
LEFT JOIN syndiasmosSeEnotita se ON ps.id_syndiasmosSeEnotita =
|
se.id_syndiasmosSeEnotita
|
WHERE
|
se.active = 1) AS t
|
GROUP BY t.id_eklogikhPerifereia) AS b ON a.id_eklogikhPerifereia =
|
b.ekperif
|
LEFT JOIN
|
syndiasmos s ON a.id_syndiasmos = s.id_syndiasmos
|
WHERE
|
a.synolo = b.maxsynolo;
|
and the server crashed. Log:
140205 15:58:42 Percona XtraDB (http://www.percona.com) 5.5.35-MariaDB-33.0 started; log sequence number 151241109
|
140205 15:58:42 [Note] Event Scheduler: Loaded 0 events
|
140205 15:58:42 [Note] /usr/sbin/mysqld: ready for connections.
|
Version: '5.5.35-MariaDB-log' socket: '/var/run/mysqld/mysqld.sock' port: 0 Source distribution
|
140205 17:24:25 [ERROR] mysqld got signal 11 ;
|
This could be because you hit a bug. It is also possible that this binary
|
or one of the libraries it was linked against is corrupt, improperly built,
|
or misconfigured. This error can also be caused by malfunctioning hardware.
|
|
To report this bug, see http://kb.askmonty.org/en/reporting-bugs
|
|
We will try our best to scrape up some info that will hopefully help
|
diagnose the problem, but since we have already crashed,
|
something is definitely wrong and this may fail.
|
|
Server version: 5.5.35-MariaDB-log
|
key_buffer_size=25165824
|
read_buffer_size=131072
|
max_used_connections=1
|
max_threads=52
|
thread_count=1
|
It is possible that mysqld could use up to
|
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 138638 K bytes of memory
|
Hope that's ok; if not, decrease some variables in the equation.
|
|
Thread pointer: 0x0x7fb8acac1000
|
Attempting backtrace. You can use the following information to find out
|
where mysqld died. If you see no messages after this, something went
|
terribly wrong...
|
stack_bottom = 0x7fb8c88afed8 thread_stack 0x48000
|
/usr/sbin/mysqld(my_print_stacktrace+0x26)[0x9ca0d6]
|
/usr/sbin/mysqld(handle_fatal_signal+0x398)[0x69a458]
|
/lib64/libpthread.so.0(+0xfbb0)[0x7fb8c9cc1bb0]
|
/usr/sbin/mysqld(_ZN10Item_field10fix_fieldsEP3THDPP4Item+0x19e)[0x6b416e]
|
/usr/sbin/mysqld(_ZN9Item_func10fix_fieldsEP3THDPP4Item+0x180)[0x6dddc0]
|
/usr/sbin/mysqld(_Z11setup_condsP3THDP10TABLE_LISTR4ListIS1_EPP4Item+0x1e6)[0x550fa6]
|
/usr/sbin/mysqld(_ZN4JOIN7prepareEPPP4ItemP10TABLE_LISTjS1_jP8st_orderbS7_S1_S7_P13st_select_lexP18st_select_lex_unit+0x394)[0x5bf8f4]
|
/usr/sbin/mysqld(_ZN18st_select_lex_unit7prepareEP3THDP13select_resultm+0x95d)[0x5feced]
|
/usr/sbin/mysqld(_Z21mysql_derived_prepareP3THDP3LEXP10TABLE_LIST+0x235)[0x56dc45]
|
/usr/sbin/mysqld(_Z27mysql_handle_single_derivedP3LEXP10TABLE_LISTj+0xec)[0x56e92c]
|
/usr/sbin/mysqld(_ZN13st_select_lex14handle_derivedEP3LEXj+0x3e)[0x580bce]
|
/usr/sbin/mysqld(_ZN4JOIN7prepareEPPP4ItemP10TABLE_LISTjS1_jP8st_orderbS7_S1_S7_P13st_select_lexP18st_select_lex_unit+0xea)[0x5bf64a]
|
/usr/sbin/mysqld(_Z12mysql_selectP3THDPPP4ItemP10TABLE_LISTjR4ListIS1_ES2_jP8st_orderSB_S2_SB_yP13select_resultP18st_select_lex_unitP13st_select_lex+0x8ec)[0x5c9d5c]
|
/usr/sbin/mysqld(_Z13handle_selectP3THDP3LEXP13select_resultm+0x2cc)[0x5cfabc]
|
/usr/sbin/mysqld[0x58388b]
|
/usr/sbin/mysqld(_Z21mysql_execute_commandP3THD+0x4a02)[0x58d272]
|
/usr/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x119)[0x58f479]
|
/usr/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x135e)[0x59086e]
|
/usr/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x173)[0x62da93]
|
/usr/sbin/mysqld(handle_one_connection+0x4a)[0x62db6a]
|
/lib64/libpthread.so.0(+0x7fda)[0x7fb8c9cb9fda]
|
/lib64/libc.so.6(clone+0x6d)[0x7fb8c8db99ad]
|
|
Trying to get some variables.
|
Some pointers may be invalid and cause the dump to abort.
|
Query (0x7fb8a1c14018): is an invalid pointer
|
Connection ID (thread ID): 13
|
Status: NOT_KILLED
|
- is duplicated by
-
MDEV-5647
Server crashes during join on group-by subquery
-
-
Closed
{"report":{"fcp":875.5,"ttfb":253.10000014305115,"pageVisibility":"visible","entityId":30402,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":1,"journeyId":"b8c921cf-ade8-4763-b464-a783623380e9","navigationType":0,"readyForUser":971,"redirectCount":0,"resourceLoadedEnd":613.9000000953674,"resourceLoadedStart":264.5,"resourceTiming":[{"duration":13.900000095367432,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":264.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":264.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":278.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":15.400000095367432,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true","startTime":264.7000000476837,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":264.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":280.10000014305115,"responseStart":0,"secureConnectionStart":0},{"duration":229.20000004768372,"initiatorType":"script","name":"https://jira.mariadb.org/s/fbf975c0cce4b1abf04784eeae9ba1f4-CDN/lu2bu7/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":264.7000000476837,"connectEnd":264.7000000476837,"connectStart":264.7000000476837,"domainLookupEnd":264.7000000476837,"domainLookupStart":264.7000000476837,"fetchStart":264.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":283.7000000476837,"responseEnd":493.90000009536743,"responseStart":319.5,"secureConnectionStart":264.7000000476837},{"duration":63.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/94c15bff32baef80f4096a08aceae8bc-CDN/lu2bu7/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":264.90000009536743,"connectEnd":264.90000009536743,"connectStart":264.90000009536743,"domainLookupEnd":264.90000009536743,"domainLookupStart":264.90000009536743,"fetchStart":264.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":285.2000000476837,"responseEnd":328.40000009536743,"responseStart":327,"secureConnectionStart":264.90000009536743},{"duration":349,"initiatorType":"script","name":"https://jira.mariadb.org/s/099b33461394b8015fc36c0a4b96e19f-CDN/lu2bu7/820016/12ta74/8679b4946efa1a0bb029a3a22206fb5d/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true","startTime":264.90000009536743,"connectEnd":264.90000009536743,"connectStart":264.90000009536743,"domainLookupEnd":264.90000009536743,"domainLookupStart":264.90000009536743,"fetchStart":264.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":284.80000019073486,"responseEnd":613.9000000953674,"responseStart":321.60000014305115,"secureConnectionStart":264.90000009536743},{"duration":60.200000047683716,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":265.10000014305115,"connectEnd":265.10000014305115,"connectStart":265.10000014305115,"domainLookupEnd":265.10000014305115,"domainLookupStart":265.10000014305115,"fetchStart":265.10000014305115,"redirectEnd":0,"redirectStart":0,"requestStart":286.40000009536743,"responseEnd":325.30000019073486,"responseStart":324.2000000476837,"secureConnectionStart":265.10000014305115},{"duration":65.29999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":265.2000000476837,"connectEnd":265.2000000476837,"connectStart":265.2000000476837,"domainLookupEnd":265.2000000476837,"domainLookupStart":265.2000000476837,"fetchStart":265.2000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":288.90000009536743,"responseEnd":330.5,"responseStart":328.60000014305115,"secureConnectionStart":265.2000000476837},{"duration":21.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2bu7/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":265.40000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":265.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":286.90000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":24.300000190734863,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":265.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":265.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":289.80000019073486,"responseStart":0,"secureConnectionStart":0},{"duration":65.30000019073486,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":265.5,"connectEnd":265.5,"connectStart":265.5,"domainLookupEnd":265.5,"domainLookupStart":265.5,"fetchStart":265.5,"redirectEnd":0,"redirectStart":0,"requestStart":293.90000009536743,"responseEnd":330.80000019073486,"responseStart":329.10000014305115,"secureConnectionStart":265.5},{"duration":67.79999995231628,"initiatorType":"script","name":"https://jira.mariadb.org/s/3339d87fa2538a859872f2df449bf8d0-CDN/lu2bu7/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":265.7000000476837,"connectEnd":265.7000000476837,"connectStart":265.7000000476837,"domainLookupEnd":265.7000000476837,"domainLookupStart":265.7000000476837,"fetchStart":265.7000000476837,"redirectEnd":0,"redirectStart":0,"requestStart":294.90000009536743,"responseEnd":333.5,"responseStart":332.30000019073486,"secureConnectionStart":265.7000000476837},{"duration":16.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":287.90000009536743,"connectEnd":287.90000009536743,"connectStart":287.90000009536743,"domainLookupEnd":287.90000009536743,"domainLookupStart":287.90000009536743,"fetchStart":287.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":287.90000009536743,"responseEnd":304.80000019073486,"responseStart":304.80000019073486,"secureConnectionStart":287.90000009536743},{"duration":24.40000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2bu7/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":288,"connectEnd":288,"connectStart":288,"domainLookupEnd":288,"domainLookupStart":288,"fetchStart":288,"redirectEnd":0,"redirectStart":0,"requestStart":288,"responseEnd":312.40000009536743,"responseStart":312.40000009536743,"secureConnectionStart":288},{"duration":179.29999995231628,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":633.9000000953674,"connectEnd":633.9000000953674,"connectStart":633.9000000953674,"domainLookupEnd":633.9000000953674,"domainLookupStart":633.9000000953674,"fetchStart":633.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":779.1000001430511,"responseEnd":813.2000000476837,"responseStart":811.6000001430511,"secureConnectionStart":633.9000000953674},{"duration":183.70000004768372,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":833.1000001430511,"connectEnd":833.1000001430511,"connectStart":833.1000001430511,"domainLookupEnd":833.1000001430511,"domainLookupStart":833.1000001430511,"fetchStart":833.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":985.2000000476837,"responseEnd":1016.8000001907349,"responseStart":1015.9000000953674,"secureConnectionStart":833.1000001430511},{"duration":175.39999985694885,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":869.1000001430511,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":869.1000001430511,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1044.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":0,"domainLookupStart":10,"domainLookupEnd":73,"connectStart":73,"connectEnd":92,"secureConnectionStart":81,"requestStart":93,"responseStart":253,"responseEnd":297,"domLoading":257,"domInteractive":1074,"domContentLoadedEventStart":1074,"domContentLoadedEventEnd":1122,"domComplete":1936,"loadEventStart":1936,"loadEventEnd":1938,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1052.9000000953674},{"name":"bigPipe.sidebar-id.end","time":1053.7000000476837},{"name":"bigPipe.activity-panel-pipe-id.start","time":1053.9000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":1056.3000001907349},{"name":"activityTabFullyLoaded","time":1133.8000001907349}],"measures":[],"correlationId":"7177ba7ac4d5e2","effectiveType":"4g","downlink":9.8,"rtt":0,"serverDuration":68,"dbReadsTimeInMs":9,"dbConnsTimeInMs":16,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}